Package com.google.devtools.build.v1
Class PublishBuildToolEventStreamRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<PublishBuildToolEventStreamRequest.Builder>
-
- com.google.devtools.build.v1.PublishBuildToolEventStreamRequest.Builder
-
- All Implemented Interfaces:
PublishBuildToolEventStreamRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- PublishBuildToolEventStreamRequest
public static final class PublishBuildToolEventStreamRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PublishBuildToolEventStreamRequest.Builder> implements PublishBuildToolEventStreamRequestOrBuilder
Streaming request message for PublishBuildToolEventStream.
Protobuf typegoogle.devtools.build.v1.PublishBuildToolEventStreamRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PublishBuildToolEventStreamRequest.BuilderaddAllNotificationKeywords(java.lang.Iterable<java.lang.String> values)The keywords to be attached to the notification which notifies the start of a new build event stream.PublishBuildToolEventStreamRequest.BuilderaddNotificationKeywords(java.lang.String value)The keywords to be attached to the notification which notifies the start of a new build event stream.PublishBuildToolEventStreamRequest.BuilderaddNotificationKeywordsBytes(com.google.protobuf.ByteString value)The keywords to be attached to the notification which notifies the start of a new build event stream.PublishBuildToolEventStreamRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PublishBuildToolEventStreamRequestbuild()PublishBuildToolEventStreamRequestbuildPartial()PublishBuildToolEventStreamRequest.Builderclear()PublishBuildToolEventStreamRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)PublishBuildToolEventStreamRequest.BuilderclearNotificationKeywords()The keywords to be attached to the notification which notifies the start of a new build event stream.PublishBuildToolEventStreamRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)PublishBuildToolEventStreamRequest.BuilderclearOrderedBuildEvent()The build event with position info.PublishBuildToolEventStreamRequest.BuilderclearProjectId()The project this build is associated with.PublishBuildToolEventStreamRequest.Builderclone()PublishBuildToolEventStreamRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetNotificationKeywords(int index)The keywords to be attached to the notification which notifies the start of a new build event stream.com.google.protobuf.ByteStringgetNotificationKeywordsBytes(int index)The keywords to be attached to the notification which notifies the start of a new build event stream.intgetNotificationKeywordsCount()The keywords to be attached to the notification which notifies the start of a new build event stream.com.google.protobuf.ProtocolStringListgetNotificationKeywordsList()The keywords to be attached to the notification which notifies the start of a new build event stream.OrderedBuildEventgetOrderedBuildEvent()The build event with position info.OrderedBuildEvent.BuildergetOrderedBuildEventBuilder()The build event with position info.OrderedBuildEventOrBuildergetOrderedBuildEventOrBuilder()The build event with position info.java.lang.StringgetProjectId()The project this build is associated with.com.google.protobuf.ByteStringgetProjectIdBytes()The project this build is associated with.booleanhasOrderedBuildEvent()The build event with position info.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()PublishBuildToolEventStreamRequest.BuildermergeFrom(PublishBuildToolEventStreamRequest other)PublishBuildToolEventStreamRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)PublishBuildToolEventStreamRequest.BuildermergeFrom(com.google.protobuf.Message other)PublishBuildToolEventStreamRequest.BuildermergeOrderedBuildEvent(OrderedBuildEvent value)The build event with position info.PublishBuildToolEventStreamRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)PublishBuildToolEventStreamRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)PublishBuildToolEventStreamRequest.BuildersetNotificationKeywords(int index, java.lang.String value)The keywords to be attached to the notification which notifies the start of a new build event stream.PublishBuildToolEventStreamRequest.BuildersetOrderedBuildEvent(OrderedBuildEvent value)The build event with position info.PublishBuildToolEventStreamRequest.BuildersetOrderedBuildEvent(OrderedBuildEvent.Builder builderForValue)The build event with position info.PublishBuildToolEventStreamRequest.BuildersetProjectId(java.lang.String value)The project this build is associated with.PublishBuildToolEventStreamRequest.BuildersetProjectIdBytes(com.google.protobuf.ByteString value)The project this build is associated with.PublishBuildToolEventStreamRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)PublishBuildToolEventStreamRequest.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<PublishBuildToolEventStreamRequest.Builder>
-
clear
public PublishBuildToolEventStreamRequest.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<PublishBuildToolEventStreamRequest.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<PublishBuildToolEventStreamRequest.Builder>
-
getDefaultInstanceForType
public PublishBuildToolEventStreamRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public PublishBuildToolEventStreamRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public PublishBuildToolEventStreamRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public PublishBuildToolEventStreamRequest.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<PublishBuildToolEventStreamRequest.Builder>
-
setField
public PublishBuildToolEventStreamRequest.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<PublishBuildToolEventStreamRequest.Builder>
-
clearField
public PublishBuildToolEventStreamRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishBuildToolEventStreamRequest.Builder>
-
clearOneof
public PublishBuildToolEventStreamRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishBuildToolEventStreamRequest.Builder>
-
setRepeatedField
public PublishBuildToolEventStreamRequest.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<PublishBuildToolEventStreamRequest.Builder>
-
addRepeatedField
public PublishBuildToolEventStreamRequest.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<PublishBuildToolEventStreamRequest.Builder>
-
mergeFrom
public PublishBuildToolEventStreamRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<PublishBuildToolEventStreamRequest.Builder>
-
mergeFrom
public PublishBuildToolEventStreamRequest.Builder mergeFrom(PublishBuildToolEventStreamRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishBuildToolEventStreamRequest.Builder>
-
mergeFrom
public PublishBuildToolEventStreamRequest.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<PublishBuildToolEventStreamRequest.Builder>- Throws:
java.io.IOException
-
hasOrderedBuildEvent
public boolean hasOrderedBuildEvent()
The build event with position info. New publishing clients should use this field rather than the 3 above.
.google.devtools.build.v1.OrderedBuildEvent ordered_build_event = 4;- Specified by:
hasOrderedBuildEventin interfacePublishBuildToolEventStreamRequestOrBuilder- Returns:
- Whether the orderedBuildEvent field is set.
-
getOrderedBuildEvent
public OrderedBuildEvent getOrderedBuildEvent()
The build event with position info. New publishing clients should use this field rather than the 3 above.
.google.devtools.build.v1.OrderedBuildEvent ordered_build_event = 4;- Specified by:
getOrderedBuildEventin interfacePublishBuildToolEventStreamRequestOrBuilder- Returns:
- The orderedBuildEvent.
-
setOrderedBuildEvent
public PublishBuildToolEventStreamRequest.Builder setOrderedBuildEvent(OrderedBuildEvent value)
The build event with position info. New publishing clients should use this field rather than the 3 above.
.google.devtools.build.v1.OrderedBuildEvent ordered_build_event = 4;
-
setOrderedBuildEvent
public PublishBuildToolEventStreamRequest.Builder setOrderedBuildEvent(OrderedBuildEvent.Builder builderForValue)
The build event with position info. New publishing clients should use this field rather than the 3 above.
.google.devtools.build.v1.OrderedBuildEvent ordered_build_event = 4;
-
mergeOrderedBuildEvent
public PublishBuildToolEventStreamRequest.Builder mergeOrderedBuildEvent(OrderedBuildEvent value)
The build event with position info. New publishing clients should use this field rather than the 3 above.
.google.devtools.build.v1.OrderedBuildEvent ordered_build_event = 4;
-
clearOrderedBuildEvent
public PublishBuildToolEventStreamRequest.Builder clearOrderedBuildEvent()
The build event with position info. New publishing clients should use this field rather than the 3 above.
.google.devtools.build.v1.OrderedBuildEvent ordered_build_event = 4;
-
getOrderedBuildEventBuilder
public OrderedBuildEvent.Builder getOrderedBuildEventBuilder()
The build event with position info. New publishing clients should use this field rather than the 3 above.
.google.devtools.build.v1.OrderedBuildEvent ordered_build_event = 4;
-
getOrderedBuildEventOrBuilder
public OrderedBuildEventOrBuilder getOrderedBuildEventOrBuilder()
The build event with position info. New publishing clients should use this field rather than the 3 above.
.google.devtools.build.v1.OrderedBuildEvent ordered_build_event = 4;- Specified by:
getOrderedBuildEventOrBuilderin interfacePublishBuildToolEventStreamRequestOrBuilder
-
getNotificationKeywordsList
public com.google.protobuf.ProtocolStringList getNotificationKeywordsList()
The keywords to be attached to the notification which notifies the start of a new build event stream. BES only reads this field when sequence_number or ordered_build_event.sequence_number is 1 in this message. If this field is empty, BES will not publish notification messages for this stream.
repeated string notification_keywords = 5;- Specified by:
getNotificationKeywordsListin interfacePublishBuildToolEventStreamRequestOrBuilder- Returns:
- A list containing the notificationKeywords.
-
getNotificationKeywordsCount
public int getNotificationKeywordsCount()
The keywords to be attached to the notification which notifies the start of a new build event stream. BES only reads this field when sequence_number or ordered_build_event.sequence_number is 1 in this message. If this field is empty, BES will not publish notification messages for this stream.
repeated string notification_keywords = 5;- Specified by:
getNotificationKeywordsCountin interfacePublishBuildToolEventStreamRequestOrBuilder- Returns:
- The count of notificationKeywords.
-
getNotificationKeywords
public java.lang.String getNotificationKeywords(int index)
The keywords to be attached to the notification which notifies the start of a new build event stream. BES only reads this field when sequence_number or ordered_build_event.sequence_number is 1 in this message. If this field is empty, BES will not publish notification messages for this stream.
repeated string notification_keywords = 5;- Specified by:
getNotificationKeywordsin interfacePublishBuildToolEventStreamRequestOrBuilder- 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)
The keywords to be attached to the notification which notifies the start of a new build event stream. BES only reads this field when sequence_number or ordered_build_event.sequence_number is 1 in this message. If this field is empty, BES will not publish notification messages for this stream.
repeated string notification_keywords = 5;- Specified by:
getNotificationKeywordsBytesin interfacePublishBuildToolEventStreamRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the notificationKeywords at the given index.
-
setNotificationKeywords
public PublishBuildToolEventStreamRequest.Builder setNotificationKeywords(int index, java.lang.String value)
The keywords to be attached to the notification which notifies the start of a new build event stream. BES only reads this field when sequence_number or ordered_build_event.sequence_number is 1 in this message. If this field is empty, BES will not publish notification messages for this stream.
repeated string notification_keywords = 5;- Parameters:
index- The index to set the value at.value- The notificationKeywords to set.- Returns:
- This builder for chaining.
-
addNotificationKeywords
public PublishBuildToolEventStreamRequest.Builder addNotificationKeywords(java.lang.String value)
The keywords to be attached to the notification which notifies the start of a new build event stream. BES only reads this field when sequence_number or ordered_build_event.sequence_number is 1 in this message. If this field is empty, BES will not publish notification messages for this stream.
repeated string notification_keywords = 5;- Parameters:
value- The notificationKeywords to add.- Returns:
- This builder for chaining.
-
addAllNotificationKeywords
public PublishBuildToolEventStreamRequest.Builder addAllNotificationKeywords(java.lang.Iterable<java.lang.String> values)
The keywords to be attached to the notification which notifies the start of a new build event stream. BES only reads this field when sequence_number or ordered_build_event.sequence_number is 1 in this message. If this field is empty, BES will not publish notification messages for this stream.
repeated string notification_keywords = 5;- Parameters:
values- The notificationKeywords to add.- Returns:
- This builder for chaining.
-
clearNotificationKeywords
public PublishBuildToolEventStreamRequest.Builder clearNotificationKeywords()
The keywords to be attached to the notification which notifies the start of a new build event stream. BES only reads this field when sequence_number or ordered_build_event.sequence_number is 1 in this message. If this field is empty, BES will not publish notification messages for this stream.
repeated string notification_keywords = 5;- Returns:
- This builder for chaining.
-
addNotificationKeywordsBytes
public PublishBuildToolEventStreamRequest.Builder addNotificationKeywordsBytes(com.google.protobuf.ByteString value)
The keywords to be attached to the notification which notifies the start of a new build event stream. BES only reads this field when sequence_number or ordered_build_event.sequence_number is 1 in this message. If this field is empty, BES will not publish notification messages for this stream.
repeated string notification_keywords = 5;- 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 interfacePublishBuildToolEventStreamRequestOrBuilder- 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 interfacePublishBuildToolEventStreamRequestOrBuilder- Returns:
- The bytes for projectId.
-
setProjectId
public PublishBuildToolEventStreamRequest.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 PublishBuildToolEventStreamRequest.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 PublishBuildToolEventStreamRequest.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 PublishBuildToolEventStreamRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishBuildToolEventStreamRequest.Builder>
-
mergeUnknownFields
public final PublishBuildToolEventStreamRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<PublishBuildToolEventStreamRequest.Builder>
-
-