Package com.google.devtools.build.v1
Class StreamId.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StreamId.Builder>
-
- com.google.devtools.build.v1.StreamId.Builder
-
- All Implemented Interfaces:
StreamIdOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- StreamId
public static final class StreamId.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StreamId.Builder> implements StreamIdOrBuilder
Unique identifier for a build event stream.
Protobuf typegoogle.devtools.build.v1.StreamId
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamId.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)StreamIdbuild()StreamIdbuildPartial()StreamId.Builderclear()StreamId.BuilderclearBuildId()The id of a Build message.StreamId.BuilderclearComponent()The component that emitted this event.StreamId.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)StreamId.BuilderclearInvocationId()The unique invocation ID within this build.StreamId.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)StreamId.Builderclone()java.lang.StringgetBuildId()The id of a Build message.com.google.protobuf.ByteStringgetBuildIdBytes()The id of a Build message.StreamId.BuildComponentgetComponent()The component that emitted this event.intgetComponentValue()The component that emitted this event.StreamIdgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetInvocationId()The unique invocation ID within this build.com.google.protobuf.ByteStringgetInvocationIdBytes()The unique invocation ID within this build.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()StreamId.BuildermergeFrom(StreamId other)StreamId.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StreamId.BuildermergeFrom(com.google.protobuf.Message other)StreamId.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)StreamId.BuildersetBuildId(java.lang.String value)The id of a Build message.StreamId.BuildersetBuildIdBytes(com.google.protobuf.ByteString value)The id of a Build message.StreamId.BuildersetComponent(StreamId.BuildComponent value)The component that emitted this event.StreamId.BuildersetComponentValue(int value)The component that emitted this event.StreamId.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)StreamId.BuildersetInvocationId(java.lang.String value)The unique invocation ID within this build.StreamId.BuildersetInvocationIdBytes(com.google.protobuf.ByteString value)The unique invocation ID within this build.StreamId.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)StreamId.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<StreamId.Builder>
-
clear
public StreamId.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<StreamId.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<StreamId.Builder>
-
getDefaultInstanceForType
public StreamId getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StreamId build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StreamId buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StreamId.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<StreamId.Builder>
-
setField
public StreamId.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<StreamId.Builder>
-
clearField
public StreamId.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamId.Builder>
-
clearOneof
public StreamId.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamId.Builder>
-
setRepeatedField
public StreamId.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<StreamId.Builder>
-
addRepeatedField
public StreamId.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<StreamId.Builder>
-
mergeFrom
public StreamId.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StreamId.Builder>
-
mergeFrom
public StreamId.Builder mergeFrom(StreamId other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamId.Builder>
-
mergeFrom
public StreamId.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<StreamId.Builder>- Throws:
java.io.IOException
-
getBuildId
public java.lang.String getBuildId()
The id of a Build message.
string build_id = 1;- Specified by:
getBuildIdin interfaceStreamIdOrBuilder- Returns:
- The buildId.
-
getBuildIdBytes
public com.google.protobuf.ByteString getBuildIdBytes()
The id of a Build message.
string build_id = 1;- Specified by:
getBuildIdBytesin interfaceStreamIdOrBuilder- Returns:
- The bytes for buildId.
-
setBuildId
public StreamId.Builder setBuildId(java.lang.String value)
The id of a Build message.
string build_id = 1;- Parameters:
value- The buildId to set.- Returns:
- This builder for chaining.
-
clearBuildId
public StreamId.Builder clearBuildId()
The id of a Build message.
string build_id = 1;- Returns:
- This builder for chaining.
-
setBuildIdBytes
public StreamId.Builder setBuildIdBytes(com.google.protobuf.ByteString value)
The id of a Build message.
string build_id = 1;- Parameters:
value- The bytes for buildId to set.- Returns:
- This builder for chaining.
-
getInvocationId
public java.lang.String getInvocationId()
The unique invocation ID within this build. It should be the same as {invocation} (below) during the migration.string invocation_id = 6;- Specified by:
getInvocationIdin interfaceStreamIdOrBuilder- Returns:
- The invocationId.
-
getInvocationIdBytes
public com.google.protobuf.ByteString getInvocationIdBytes()
The unique invocation ID within this build. It should be the same as {invocation} (below) during the migration.string invocation_id = 6;- Specified by:
getInvocationIdBytesin interfaceStreamIdOrBuilder- Returns:
- The bytes for invocationId.
-
setInvocationId
public StreamId.Builder setInvocationId(java.lang.String value)
The unique invocation ID within this build. It should be the same as {invocation} (below) during the migration.string invocation_id = 6;- Parameters:
value- The invocationId to set.- Returns:
- This builder for chaining.
-
clearInvocationId
public StreamId.Builder clearInvocationId()
The unique invocation ID within this build. It should be the same as {invocation} (below) during the migration.string invocation_id = 6;- Returns:
- This builder for chaining.
-
setInvocationIdBytes
public StreamId.Builder setInvocationIdBytes(com.google.protobuf.ByteString value)
The unique invocation ID within this build. It should be the same as {invocation} (below) during the migration.string invocation_id = 6;- Parameters:
value- The bytes for invocationId to set.- Returns:
- This builder for chaining.
-
getComponentValue
public int getComponentValue()
The component that emitted this event.
.google.devtools.build.v1.StreamId.BuildComponent component = 3;- Specified by:
getComponentValuein interfaceStreamIdOrBuilder- Returns:
- The enum numeric value on the wire for component.
-
setComponentValue
public StreamId.Builder setComponentValue(int value)
The component that emitted this event.
.google.devtools.build.v1.StreamId.BuildComponent component = 3;- Parameters:
value- The enum numeric value on the wire for component to set.- Returns:
- This builder for chaining.
-
getComponent
public StreamId.BuildComponent getComponent()
The component that emitted this event.
.google.devtools.build.v1.StreamId.BuildComponent component = 3;- Specified by:
getComponentin interfaceStreamIdOrBuilder- Returns:
- The component.
-
setComponent
public StreamId.Builder setComponent(StreamId.BuildComponent value)
The component that emitted this event.
.google.devtools.build.v1.StreamId.BuildComponent component = 3;- Parameters:
value- The component to set.- Returns:
- This builder for chaining.
-
clearComponent
public StreamId.Builder clearComponent()
The component that emitted this event.
.google.devtools.build.v1.StreamId.BuildComponent component = 3;- Returns:
- This builder for chaining.
-
setUnknownFields
public final StreamId.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamId.Builder>
-
mergeUnknownFields
public final StreamId.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StreamId.Builder>
-
-