Package com.google.devtools.build.v1
Class PublishLifecycleEventRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder>
-
- com.google.devtools.build.v1.PublishLifecycleEventRequest.Builder
-
- All Implemented Interfaces:
PublishLifecycleEventRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- PublishLifecycleEventRequest
public static final class PublishLifecycleEventRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder> implements PublishLifecycleEventRequestOrBuilder
Publishes 'lifecycle events' that update the high-level state of a build: - BuildEnqueued: When a build is scheduled. - InvocationAttemptStarted: When work for a build starts; there can be multiple invocations for a build (e.g. retries). - InvocationAttemptCompleted: When work for a build finishes. - BuildFinished: When a build is finished.Protobuf typegoogle.devtools.build.v1.PublishLifecycleEventRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PublishLifecycleEventRequest.BuilderaddAllNotificationKeywords(java.lang.Iterable<java.lang.String> values)Additional information about a build request.PublishLifecycleEventRequest.BuilderaddNotificationKeywords(java.lang.String value)Additional information about a build request.PublishLifecycleEventRequest.BuilderaddNotificationKeywordsBytes(com.google.protobuf.ByteString value)Additional information about a build request.PublishLifecycleEventRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PublishLifecycleEventRequestbuild()PublishLifecycleEventRequestbuildPartial()PublishLifecycleEventRequest.Builderclear()PublishLifecycleEventRequest.BuilderclearBuildEvent()The lifecycle build event.PublishLifecycleEventRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PublishLifecycleEventRequest.BuilderclearNotificationKeywords()Additional information about a build request.PublishLifecycleEventRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PublishLifecycleEventRequest.BuilderclearProjectId()The project this build is associated with.PublishLifecycleEventRequest.BuilderclearServiceLevel()The interactivity of this build.PublishLifecycleEventRequest.BuilderclearStreamTimeout()If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired.PublishLifecycleEventRequest.Builderclone()OrderedBuildEventgetBuildEvent()The lifecycle build event.OrderedBuildEvent.BuildergetBuildEventBuilder()The lifecycle build event.OrderedBuildEventOrBuildergetBuildEventOrBuilder()The lifecycle build event.PublishLifecycleEventRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetNotificationKeywords(int index)Additional information about a build request.com.google.protobuf.ByteStringgetNotificationKeywordsBytes(int index)Additional information about a build request.intgetNotificationKeywordsCount()Additional information about a build request.com.google.protobuf.ProtocolStringListgetNotificationKeywordsList()Additional information about a build request.java.lang.StringgetProjectId()The project this build is associated with.com.google.protobuf.ByteStringgetProjectIdBytes()The project this build is associated with.PublishLifecycleEventRequest.ServiceLevelgetServiceLevel()The interactivity of this build.intgetServiceLevelValue()The interactivity of this build.com.google.protobuf.DurationgetStreamTimeout()If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired.com.google.protobuf.Duration.BuildergetStreamTimeoutBuilder()If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired.com.google.protobuf.DurationOrBuildergetStreamTimeoutOrBuilder()If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired.booleanhasBuildEvent()The lifecycle build event.booleanhasStreamTimeout()If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PublishLifecycleEventRequest.BuildermergeBuildEvent(OrderedBuildEvent value)The lifecycle build event.PublishLifecycleEventRequest.BuildermergeFrom(PublishLifecycleEventRequest other)PublishLifecycleEventRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PublishLifecycleEventRequest.BuildermergeFrom(com.google.protobuf.Message other)PublishLifecycleEventRequest.BuildermergeStreamTimeout(com.google.protobuf.Duration value)If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired.PublishLifecycleEventRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PublishLifecycleEventRequest.BuildersetBuildEvent(OrderedBuildEvent value)The lifecycle build event.PublishLifecycleEventRequest.BuildersetBuildEvent(OrderedBuildEvent.Builder builderForValue)The lifecycle build event.PublishLifecycleEventRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PublishLifecycleEventRequest.BuildersetNotificationKeywords(int index, java.lang.String value)Additional information about a build request.PublishLifecycleEventRequest.BuildersetProjectId(java.lang.String value)The project this build is associated with.PublishLifecycleEventRequest.BuildersetProjectIdBytes(com.google.protobuf.ByteString value)The project this build is associated with.PublishLifecycleEventRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)PublishLifecycleEventRequest.BuildersetServiceLevel(PublishLifecycleEventRequest.ServiceLevel value)The interactivity of this build.PublishLifecycleEventRequest.BuildersetServiceLevelValue(int value)The interactivity of this build.PublishLifecycleEventRequest.BuildersetStreamTimeout(com.google.protobuf.Duration value)If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired.PublishLifecycleEventRequest.BuildersetStreamTimeout(com.google.protobuf.Duration.Builder builderForValue)If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired.PublishLifecycleEventRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder>
-
clear
public PublishLifecycleEventRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder>
-
getDefaultInstanceForType
public PublishLifecycleEventRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PublishLifecycleEventRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PublishLifecycleEventRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PublishLifecycleEventRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder>
-
setField
public PublishLifecycleEventRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder>
-
clearField
public PublishLifecycleEventRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder>
-
clearOneof
public PublishLifecycleEventRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder>
-
setRepeatedField
public PublishLifecycleEventRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder>
-
addRepeatedField
public PublishLifecycleEventRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder>
-
mergeFrom
public PublishLifecycleEventRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PublishLifecycleEventRequest.Builder>
-
mergeFrom
public PublishLifecycleEventRequest.Builder mergeFrom(PublishLifecycleEventRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder>
-
mergeFrom
public PublishLifecycleEventRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PublishLifecycleEventRequest.Builder>- Throws:
java.io.IOException
-
getServiceLevelValue
public int getServiceLevelValue()
The interactivity of this build.
.google.devtools.build.v1.PublishLifecycleEventRequest.ServiceLevel service_level = 1;- Specified by:
getServiceLevelValuein interfacePublishLifecycleEventRequestOrBuilder- Returns:
- The enum numeric value on the wire for serviceLevel.
-
setServiceLevelValue
public PublishLifecycleEventRequest.Builder setServiceLevelValue(int value)
The interactivity of this build.
.google.devtools.build.v1.PublishLifecycleEventRequest.ServiceLevel service_level = 1;- Parameters:
value- The enum numeric value on the wire for serviceLevel to set.- Returns:
- This builder for chaining.
-
getServiceLevel
public PublishLifecycleEventRequest.ServiceLevel getServiceLevel()
The interactivity of this build.
.google.devtools.build.v1.PublishLifecycleEventRequest.ServiceLevel service_level = 1;- Specified by:
getServiceLevelin interfacePublishLifecycleEventRequestOrBuilder- Returns:
- The serviceLevel.
-
setServiceLevel
public PublishLifecycleEventRequest.Builder setServiceLevel(PublishLifecycleEventRequest.ServiceLevel value)
The interactivity of this build.
.google.devtools.build.v1.PublishLifecycleEventRequest.ServiceLevel service_level = 1;- Parameters:
value- The serviceLevel to set.- Returns:
- This builder for chaining.
-
clearServiceLevel
public PublishLifecycleEventRequest.Builder clearServiceLevel()
The interactivity of this build.
.google.devtools.build.v1.PublishLifecycleEventRequest.ServiceLevel service_level = 1;- Returns:
- This builder for chaining.
-
hasBuildEvent
public boolean hasBuildEvent()
The lifecycle build event. If this is a build tool event, the RPC will fail with INVALID_REQUEST.
.google.devtools.build.v1.OrderedBuildEvent build_event = 2;- Specified by:
hasBuildEventin interfacePublishLifecycleEventRequestOrBuilder- Returns:
- Whether the buildEvent field is set.
-
getBuildEvent
public OrderedBuildEvent getBuildEvent()
The lifecycle build event. If this is a build tool event, the RPC will fail with INVALID_REQUEST.
.google.devtools.build.v1.OrderedBuildEvent build_event = 2;- Specified by:
getBuildEventin interfacePublishLifecycleEventRequestOrBuilder- Returns:
- The buildEvent.
-
setBuildEvent
public PublishLifecycleEventRequest.Builder setBuildEvent(OrderedBuildEvent value)
The lifecycle build event. If this is a build tool event, the RPC will fail with INVALID_REQUEST.
.google.devtools.build.v1.OrderedBuildEvent build_event = 2;
-
setBuildEvent
public PublishLifecycleEventRequest.Builder setBuildEvent(OrderedBuildEvent.Builder builderForValue)
The lifecycle build event. If this is a build tool event, the RPC will fail with INVALID_REQUEST.
.google.devtools.build.v1.OrderedBuildEvent build_event = 2;
-
mergeBuildEvent
public PublishLifecycleEventRequest.Builder mergeBuildEvent(OrderedBuildEvent value)
The lifecycle build event. If this is a build tool event, the RPC will fail with INVALID_REQUEST.
.google.devtools.build.v1.OrderedBuildEvent build_event = 2;
-
clearBuildEvent
public PublishLifecycleEventRequest.Builder clearBuildEvent()
The lifecycle build event. If this is a build tool event, the RPC will fail with INVALID_REQUEST.
.google.devtools.build.v1.OrderedBuildEvent build_event = 2;
-
getBuildEventBuilder
public OrderedBuildEvent.Builder getBuildEventBuilder()
The lifecycle build event. If this is a build tool event, the RPC will fail with INVALID_REQUEST.
.google.devtools.build.v1.OrderedBuildEvent build_event = 2;
-
getBuildEventOrBuilder
public OrderedBuildEventOrBuilder getBuildEventOrBuilder()
The lifecycle build event. If this is a build tool event, the RPC will fail with INVALID_REQUEST.
.google.devtools.build.v1.OrderedBuildEvent build_event = 2;- Specified by:
getBuildEventOrBuilderin interfacePublishLifecycleEventRequestOrBuilder
-
hasStreamTimeout
public boolean hasStreamTimeout()
If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired. If this field is not set, BES backend will use its own default value..google.protobuf.Duration stream_timeout = 3;- Specified by:
hasStreamTimeoutin interfacePublishLifecycleEventRequestOrBuilder- Returns:
- Whether the streamTimeout field is set.
-
getStreamTimeout
public com.google.protobuf.Duration getStreamTimeout()
If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired. If this field is not set, BES backend will use its own default value..google.protobuf.Duration stream_timeout = 3;- Specified by:
getStreamTimeoutin interfacePublishLifecycleEventRequestOrBuilder- Returns:
- The streamTimeout.
-
setStreamTimeout
public PublishLifecycleEventRequest.Builder setStreamTimeout(com.google.protobuf.Duration value)
If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired. If this field is not set, BES backend will use its own default value..google.protobuf.Duration stream_timeout = 3;
-
setStreamTimeout
public PublishLifecycleEventRequest.Builder setStreamTimeout(com.google.protobuf.Duration.Builder builderForValue)
If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired. If this field is not set, BES backend will use its own default value..google.protobuf.Duration stream_timeout = 3;
-
mergeStreamTimeout
public PublishLifecycleEventRequest.Builder mergeStreamTimeout(com.google.protobuf.Duration value)
If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired. If this field is not set, BES backend will use its own default value..google.protobuf.Duration stream_timeout = 3;
-
clearStreamTimeout
public PublishLifecycleEventRequest.Builder clearStreamTimeout()
If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired. If this field is not set, BES backend will use its own default value..google.protobuf.Duration stream_timeout = 3;
-
getStreamTimeoutBuilder
public com.google.protobuf.Duration.Builder getStreamTimeoutBuilder()
If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired. If this field is not set, BES backend will use its own default value..google.protobuf.Duration stream_timeout = 3;
-
getStreamTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getStreamTimeoutOrBuilder()
If the next event for this build or invocation (depending on the event type) hasn't been published after this duration from when {build_event} is written to BES, consider this stream expired. If this field is not set, BES backend will use its own default value..google.protobuf.Duration stream_timeout = 3;- Specified by:
getStreamTimeoutOrBuilderin interfacePublishLifecycleEventRequestOrBuilder
-
getNotificationKeywordsList
public com.google.protobuf.ProtocolStringList getNotificationKeywordsList()
Additional information about a build request. These are define by the event publishers, and the Build Event Service does not validate or interpret them. They are used while notifying internal systems of new builds and invocations if the OrderedBuildEvent.event type is BuildEnqueued/InvocationAttemptStarted.
repeated string notification_keywords = 4;- Specified by:
getNotificationKeywordsListin interfacePublishLifecycleEventRequestOrBuilder- Returns:
- A list containing the notificationKeywords.
-
getNotificationKeywordsCount
public int getNotificationKeywordsCount()
Additional information about a build request. These are define by the event publishers, and the Build Event Service does not validate or interpret them. They are used while notifying internal systems of new builds and invocations if the OrderedBuildEvent.event type is BuildEnqueued/InvocationAttemptStarted.
repeated string notification_keywords = 4;- Specified by:
getNotificationKeywordsCountin interfacePublishLifecycleEventRequestOrBuilder- Returns:
- The count of notificationKeywords.
-
getNotificationKeywords
public java.lang.String getNotificationKeywords(int index)
Additional information about a build request. These are define by the event publishers, and the Build Event Service does not validate or interpret them. They are used while notifying internal systems of new builds and invocations if the OrderedBuildEvent.event type is BuildEnqueued/InvocationAttemptStarted.
repeated string notification_keywords = 4;- Specified by:
getNotificationKeywordsin interfacePublishLifecycleEventRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The notificationKeywords at the given index.
-
getNotificationKeywordsBytes
public com.google.protobuf.ByteString getNotificationKeywordsBytes(int index)
Additional information about a build request. These are define by the event publishers, and the Build Event Service does not validate or interpret them. They are used while notifying internal systems of new builds and invocations if the OrderedBuildEvent.event type is BuildEnqueued/InvocationAttemptStarted.
repeated string notification_keywords = 4;- Specified by:
getNotificationKeywordsBytesin interfacePublishLifecycleEventRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the notificationKeywords at the given index.
-
setNotificationKeywords
public PublishLifecycleEventRequest.Builder setNotificationKeywords(int index, java.lang.String value)
Additional information about a build request. These are define by the event publishers, and the Build Event Service does not validate or interpret them. They are used while notifying internal systems of new builds and invocations if the OrderedBuildEvent.event type is BuildEnqueued/InvocationAttemptStarted.
repeated string notification_keywords = 4;- Parameters:
index- The index to set the value at.value- The notificationKeywords to set.- Returns:
- This builder for chaining.
-
addNotificationKeywords
public PublishLifecycleEventRequest.Builder addNotificationKeywords(java.lang.String value)
Additional information about a build request. These are define by the event publishers, and the Build Event Service does not validate or interpret them. They are used while notifying internal systems of new builds and invocations if the OrderedBuildEvent.event type is BuildEnqueued/InvocationAttemptStarted.
repeated string notification_keywords = 4;- Parameters:
value- The notificationKeywords to add.- Returns:
- This builder for chaining.
-
addAllNotificationKeywords
public PublishLifecycleEventRequest.Builder addAllNotificationKeywords(java.lang.Iterable<java.lang.String> values)
Additional information about a build request. These are define by the event publishers, and the Build Event Service does not validate or interpret them. They are used while notifying internal systems of new builds and invocations if the OrderedBuildEvent.event type is BuildEnqueued/InvocationAttemptStarted.
repeated string notification_keywords = 4;- Parameters:
values- The notificationKeywords to add.- Returns:
- This builder for chaining.
-
clearNotificationKeywords
public PublishLifecycleEventRequest.Builder clearNotificationKeywords()
Additional information about a build request. These are define by the event publishers, and the Build Event Service does not validate or interpret them. They are used while notifying internal systems of new builds and invocations if the OrderedBuildEvent.event type is BuildEnqueued/InvocationAttemptStarted.
repeated string notification_keywords = 4;- Returns:
- This builder for chaining.
-
addNotificationKeywordsBytes
public PublishLifecycleEventRequest.Builder addNotificationKeywordsBytes(com.google.protobuf.ByteString value)
Additional information about a build request. These are define by the event publishers, and the Build Event Service does not validate or interpret them. They are used while notifying internal systems of new builds and invocations if the OrderedBuildEvent.event type is BuildEnqueued/InvocationAttemptStarted.
repeated string notification_keywords = 4;- Parameters:
value- The bytes of the notificationKeywords to add.- Returns:
- This builder for chaining.
-
getProjectId
public java.lang.String getProjectId()
The project this build is associated with. This should match the project used for the initial call to PublishLifecycleEvent (containing a BuildEnqueued message).
string project_id = 6;- Specified by:
getProjectIdin interfacePublishLifecycleEventRequestOrBuilder- Returns:
- The projectId.
-
getProjectIdBytes
public com.google.protobuf.ByteString getProjectIdBytes()
The project this build is associated with. This should match the project used for the initial call to PublishLifecycleEvent (containing a BuildEnqueued message).
string project_id = 6;- Specified by:
getProjectIdBytesin interfacePublishLifecycleEventRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
public PublishLifecycleEventRequest.Builder setProjectId(java.lang.String value)
The project this build is associated with. This should match the project used for the initial call to PublishLifecycleEvent (containing a BuildEnqueued message).
string project_id = 6;- Parameters:
value- The projectId to set.- Returns:
- This builder for chaining.
-
clearProjectId
public PublishLifecycleEventRequest.Builder clearProjectId()
The project this build is associated with. This should match the project used for the initial call to PublishLifecycleEvent (containing a BuildEnqueued message).
string project_id = 6;- Returns:
- This builder for chaining.
-
setProjectIdBytes
public PublishLifecycleEventRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
The project this build is associated with. This should match the project used for the initial call to PublishLifecycleEvent (containing a BuildEnqueued message).
string project_id = 6;- Parameters:
value- The bytes for projectId to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final PublishLifecycleEventRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder>
-
mergeUnknownFields
public final PublishLifecycleEventRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishLifecycleEventRequest.Builder>
-
-