Class BuildEventStreamProtos.OptionsParsed.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
- com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.OptionsParsed.Builder
-
- All Implemented Interfaces:
BuildEventStreamProtos.OptionsParsedOrBuilder,Message.Builder,MessageLite.Builder,MessageLiteOrBuilder,MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BuildEventStreamProtos.OptionsParsed
public static final class BuildEventStreamProtos.OptionsParsed.Builder extends GeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder> implements BuildEventStreamProtos.OptionsParsedOrBuilder
Payload of an event reporting on the parsed options, grouped in various ways.
Protobuf typebuild_event_stream.OptionsParsed
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildEventStreamProtos.OptionsParsed.BuilderaddAllCmdLine(java.lang.Iterable<java.lang.String> values)repeated string cmd_line = 3;BuildEventStreamProtos.OptionsParsed.BuilderaddAllExplicitCmdLine(java.lang.Iterable<java.lang.String> values)repeated string explicit_cmd_line = 4;BuildEventStreamProtos.OptionsParsed.BuilderaddAllExplicitStartupOptions(java.lang.Iterable<java.lang.String> values)repeated string explicit_startup_options = 2;BuildEventStreamProtos.OptionsParsed.BuilderaddAllStartupOptions(java.lang.Iterable<java.lang.String> values)repeated string startup_options = 1;BuildEventStreamProtos.OptionsParsed.BuilderaddCmdLine(java.lang.String value)repeated string cmd_line = 3;BuildEventStreamProtos.OptionsParsed.BuilderaddCmdLineBytes(ByteString value)repeated string cmd_line = 3;BuildEventStreamProtos.OptionsParsed.BuilderaddExplicitCmdLine(java.lang.String value)repeated string explicit_cmd_line = 4;BuildEventStreamProtos.OptionsParsed.BuilderaddExplicitCmdLineBytes(ByteString value)repeated string explicit_cmd_line = 4;BuildEventStreamProtos.OptionsParsed.BuilderaddExplicitStartupOptions(java.lang.String value)repeated string explicit_startup_options = 2;BuildEventStreamProtos.OptionsParsed.BuilderaddExplicitStartupOptionsBytes(ByteString value)repeated string explicit_startup_options = 2;BuildEventStreamProtos.OptionsParsed.BuilderaddRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)LikesetRepeatedField, but appends the value as a new element.BuildEventStreamProtos.OptionsParsed.BuilderaddStartupOptions(java.lang.String value)repeated string startup_options = 1;BuildEventStreamProtos.OptionsParsed.BuilderaddStartupOptionsBytes(ByteString value)repeated string startup_options = 1;BuildEventStreamProtos.OptionsParsedbuild()Constructs the message based on the state of the Builder.BuildEventStreamProtos.OptionsParsedbuildPartial()LikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields.BuildEventStreamProtos.OptionsParsed.Builderclear()Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.BuildEventStreamProtos.OptionsParsed.BuilderclearCmdLine()repeated string cmd_line = 3;BuildEventStreamProtos.OptionsParsed.BuilderclearExplicitCmdLine()repeated string explicit_cmd_line = 4;BuildEventStreamProtos.OptionsParsed.BuilderclearExplicitStartupOptions()repeated string explicit_startup_options = 2;BuildEventStreamProtos.OptionsParsed.BuilderclearField(Descriptors.FieldDescriptor field)Clears the field.BuildEventStreamProtos.OptionsParsed.BuilderclearInvocationPolicy().blaze.invocation_policy.InvocationPolicy invocation_policy = 5;BuildEventStreamProtos.OptionsParsed.BuilderclearOneof(Descriptors.OneofDescriptor oneof)TODO(jieluo): Clear it when all subclasses have implemented this method.BuildEventStreamProtos.OptionsParsed.BuilderclearStartupOptions()repeated string startup_options = 1;BuildEventStreamProtos.OptionsParsed.BuilderclearToolTag()string tool_tag = 6;BuildEventStreamProtos.OptionsParsed.Builderclone()Clones the Builder.java.lang.StringgetCmdLine(int index)repeated string cmd_line = 3;ByteStringgetCmdLineBytes(int index)repeated string cmd_line = 3;intgetCmdLineCount()repeated string cmd_line = 3;ProtocolStringListgetCmdLineList()repeated string cmd_line = 3;BuildEventStreamProtos.OptionsParsedgetDefaultInstanceForType()Get an instance of the type with no fields set.static Descriptors.DescriptorgetDescriptor()Descriptors.DescriptorgetDescriptorForType()Get the message's type's descriptor.java.lang.StringgetExplicitCmdLine(int index)repeated string explicit_cmd_line = 4;ByteStringgetExplicitCmdLineBytes(int index)repeated string explicit_cmd_line = 4;intgetExplicitCmdLineCount()repeated string explicit_cmd_line = 4;ProtocolStringListgetExplicitCmdLineList()repeated string explicit_cmd_line = 4;java.lang.StringgetExplicitStartupOptions(int index)repeated string explicit_startup_options = 2;ByteStringgetExplicitStartupOptionsBytes(int index)repeated string explicit_startup_options = 2;intgetExplicitStartupOptionsCount()repeated string explicit_startup_options = 2;ProtocolStringListgetExplicitStartupOptionsList()repeated string explicit_startup_options = 2;com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.InvocationPolicygetInvocationPolicy().blaze.invocation_policy.InvocationPolicy invocation_policy = 5;com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.InvocationPolicy.BuildergetInvocationPolicyBuilder().blaze.invocation_policy.InvocationPolicy invocation_policy = 5;com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.InvocationPolicyOrBuildergetInvocationPolicyOrBuilder().blaze.invocation_policy.InvocationPolicy invocation_policy = 5;java.lang.StringgetStartupOptions(int index)repeated string startup_options = 1;ByteStringgetStartupOptionsBytes(int index)repeated string startup_options = 1;intgetStartupOptionsCount()repeated string startup_options = 1;ProtocolStringListgetStartupOptionsList()repeated string startup_options = 1;java.lang.StringgetToolTag()string tool_tag = 6;ByteStringgetToolTagBytes()string tool_tag = 6;booleanhasInvocationPolicy().blaze.invocation_policy.InvocationPolicy invocation_policy = 5;protected GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()Get the FieldAccessorTable for this type.booleanisInitialized()Returns true if all required fields in the message and all embedded messages are set, false otherwise.BuildEventStreamProtos.OptionsParsed.BuildermergeFrom(BuildEventStreamProtos.OptionsParsed other)BuildEventStreamProtos.OptionsParsed.BuildermergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)LikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions.BuildEventStreamProtos.OptionsParsed.BuildermergeFrom(Message other)Mergeotherinto the message being built.BuildEventStreamProtos.OptionsParsed.BuildermergeInvocationPolicy(com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.InvocationPolicy value).blaze.invocation_policy.InvocationPolicy invocation_policy = 5;BuildEventStreamProtos.OptionsParsed.BuildermergeUnknownFields(UnknownFieldSet unknownFields)Merge some unknown fields into theUnknownFieldSetfor this message.BuildEventStreamProtos.OptionsParsed.BuildersetCmdLine(int index, java.lang.String value)repeated string cmd_line = 3;BuildEventStreamProtos.OptionsParsed.BuildersetExplicitCmdLine(int index, java.lang.String value)repeated string explicit_cmd_line = 4;BuildEventStreamProtos.OptionsParsed.BuildersetExplicitStartupOptions(int index, java.lang.String value)repeated string explicit_startup_options = 2;BuildEventStreamProtos.OptionsParsed.BuildersetField(Descriptors.FieldDescriptor field, java.lang.Object value)Sets a field to the given value.BuildEventStreamProtos.OptionsParsed.BuildersetInvocationPolicy(com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.InvocationPolicy value).blaze.invocation_policy.InvocationPolicy invocation_policy = 5;BuildEventStreamProtos.OptionsParsed.BuildersetInvocationPolicy(com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.InvocationPolicy.Builder builderForValue).blaze.invocation_policy.InvocationPolicy invocation_policy = 5;BuildEventStreamProtos.OptionsParsed.BuildersetRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)Sets an element of a repeated field to the given value.BuildEventStreamProtos.OptionsParsed.BuildersetStartupOptions(int index, java.lang.String value)repeated string startup_options = 1;BuildEventStreamProtos.OptionsParsed.BuildersetToolTag(java.lang.String value)string tool_tag = 6;BuildEventStreamProtos.OptionsParsed.BuildersetToolTagBytes(ByteString value)string tool_tag = 6;BuildEventStreamProtos.OptionsParsed.BuildersetUnknownFields(UnknownFieldSet unknownFields)Set theUnknownFieldSetfor this message.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Description copied from class:GeneratedMessageV3.BuilderGet the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
clear
public BuildEventStreamProtos.OptionsParsed.Builder clear()
Description copied from class:GeneratedMessageV3.BuilderCalled by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.- Specified by:
clearin interfaceMessage.Builder- Specified by:
clearin interfaceMessageLite.Builder- Overrides:
clearin classGeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
Description copied from interface:Message.BuilderGet the message's type's descriptor. SeeMessageOrBuilder.getDescriptorForType().- Specified by:
getDescriptorForTypein interfaceMessage.Builder- Specified by:
getDescriptorForTypein interfaceMessageOrBuilder- Overrides:
getDescriptorForTypein classGeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
getDefaultInstanceForType
public BuildEventStreamProtos.OptionsParsed getDefaultInstanceForType()
Description copied from interface:MessageLiteOrBuilderGet an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()method of generated message classes in that this method is an abstract method of theMessageLiteinterface whereasgetDefaultInstance()is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-
build
public BuildEventStreamProtos.OptionsParsed build()
Description copied from interface:MessageLite.BuilderConstructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildin interfaceMessage.Builder- Specified by:
buildin interfaceMessageLite.Builder
-
buildPartial
public BuildEventStreamProtos.OptionsParsed buildPartial()
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.build(), but does not throw an exception if the message is missing required fields. Instead, a partial message is returned. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildPartialin interfaceMessage.Builder- Specified by:
buildPartialin interfaceMessageLite.Builder
-
clone
public BuildEventStreamProtos.OptionsParsed.Builder clone()
Description copied from interface:MessageLite.BuilderClones the Builder.- Specified by:
clonein interfaceMessage.Builder- Specified by:
clonein interfaceMessageLite.Builder- Overrides:
clonein classGeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder>- See Also:
Object.clone()
-
setField
public BuildEventStreamProtos.OptionsParsed.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
Description copied from interface:Message.BuilderSets a field to the given value. The value must be of the correct type for this field, i.e. the same type thatMessageOrBuilder.getField(Descriptors.FieldDescriptor)would return.- Specified by:
setFieldin interfaceMessage.Builder- Overrides:
setFieldin classGeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
clearField
public BuildEventStreamProtos.OptionsParsed.Builder clearField(Descriptors.FieldDescriptor field)
Description copied from interface:Message.BuilderClears the field. This is exactly equivalent to calling the generated "clear" accessor method corresponding to the field.- Specified by:
clearFieldin interfaceMessage.Builder- Overrides:
clearFieldin classGeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
clearOneof
public BuildEventStreamProtos.OptionsParsed.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Description copied from class:AbstractMessage.BuilderTODO(jieluo): Clear it when all subclasses have implemented this method.- Specified by:
clearOneofin interfaceMessage.Builder- Overrides:
clearOneofin classGeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
setRepeatedField
public BuildEventStreamProtos.OptionsParsed.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Description copied from interface:Message.BuilderSets an element of a repeated field to the given value. The value must be of the correct type for this field, i.e. the same type thatMessageOrBuilder.getRepeatedField(Descriptors.FieldDescriptor,int)would return.- Specified by:
setRepeatedFieldin interfaceMessage.Builder- Overrides:
setRepeatedFieldin classGeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
addRepeatedField
public BuildEventStreamProtos.OptionsParsed.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
Description copied from interface:Message.BuilderLikesetRepeatedField, but appends the value as a new element.- Specified by:
addRepeatedFieldin interfaceMessage.Builder- Overrides:
addRepeatedFieldin classGeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
mergeFrom
public BuildEventStreamProtos.OptionsParsed.Builder mergeFrom(Message other)
Description copied from interface:Message.BuilderMergeotherinto the message being built.othermust have the exact same type asthis(i.e.getDescriptorForType() == other.getDescriptorForType()).Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set inother, thenother's value overwrites the value in this message.
* For singular message fields, if the field is set inother, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements inotherare concatenated with the elements in this message.
* For oneof groups, if the other message has one of the fields set, the group of this message is cleared and replaced by the field of the other message, so that the oneof constraint is preserved.This is equivalent to the
Message::MergeFrommethod in C++.- Specified by:
mergeFromin interfaceMessage.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
mergeFrom
public BuildEventStreamProtos.OptionsParsed.Builder mergeFrom(BuildEventStreamProtos.OptionsParsed other)
-
isInitialized
public final boolean isInitialized()
Description copied from interface:MessageLiteOrBuilderReturns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
mergeFrom
public BuildEventStreamProtos.OptionsParsed.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
Description copied from interface:MessageLite.BuilderLikeMessageLite.Builder.mergeFrom(CodedInputStream), but also parses extensions. The extensions that you want to be able to parse must be registered inextensionRegistry. Extensions not in the registry will be treated as unknown fields.- Specified by:
mergeFromin interfaceMessage.Builder- Specified by:
mergeFromin interfaceMessageLite.Builder- Overrides:
mergeFromin classAbstractMessage.Builder<BuildEventStreamProtos.OptionsParsed.Builder>- Throws:
java.io.IOException
-
getStartupOptionsList
public ProtocolStringList getStartupOptionsList()
repeated string startup_options = 1;- Specified by:
getStartupOptionsListin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- A list containing the startupOptions.
-
getStartupOptionsCount
public int getStartupOptionsCount()
repeated string startup_options = 1;- Specified by:
getStartupOptionsCountin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- The count of startupOptions.
-
getStartupOptions
public java.lang.String getStartupOptions(int index)
repeated string startup_options = 1;- Specified by:
getStartupOptionsin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The startupOptions at the given index.
-
getStartupOptionsBytes
public ByteString getStartupOptionsBytes(int index)
repeated string startup_options = 1;- Specified by:
getStartupOptionsBytesin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the startupOptions at the given index.
-
setStartupOptions
public BuildEventStreamProtos.OptionsParsed.Builder setStartupOptions(int index, java.lang.String value)
repeated string startup_options = 1;- Parameters:
index- The index to set the value at.value- The startupOptions to set.- Returns:
- This builder for chaining.
-
addStartupOptions
public BuildEventStreamProtos.OptionsParsed.Builder addStartupOptions(java.lang.String value)
repeated string startup_options = 1;- Parameters:
value- The startupOptions to add.- Returns:
- This builder for chaining.
-
addAllStartupOptions
public BuildEventStreamProtos.OptionsParsed.Builder addAllStartupOptions(java.lang.Iterable<java.lang.String> values)
repeated string startup_options = 1;- Parameters:
values- The startupOptions to add.- Returns:
- This builder for chaining.
-
clearStartupOptions
public BuildEventStreamProtos.OptionsParsed.Builder clearStartupOptions()
repeated string startup_options = 1;- Returns:
- This builder for chaining.
-
addStartupOptionsBytes
public BuildEventStreamProtos.OptionsParsed.Builder addStartupOptionsBytes(ByteString value)
repeated string startup_options = 1;- Parameters:
value- The bytes of the startupOptions to add.- Returns:
- This builder for chaining.
-
getExplicitStartupOptionsList
public ProtocolStringList getExplicitStartupOptionsList()
repeated string explicit_startup_options = 2;- Specified by:
getExplicitStartupOptionsListin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- A list containing the explicitStartupOptions.
-
getExplicitStartupOptionsCount
public int getExplicitStartupOptionsCount()
repeated string explicit_startup_options = 2;- Specified by:
getExplicitStartupOptionsCountin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- The count of explicitStartupOptions.
-
getExplicitStartupOptions
public java.lang.String getExplicitStartupOptions(int index)
repeated string explicit_startup_options = 2;- Specified by:
getExplicitStartupOptionsin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The explicitStartupOptions at the given index.
-
getExplicitStartupOptionsBytes
public ByteString getExplicitStartupOptionsBytes(int index)
repeated string explicit_startup_options = 2;- Specified by:
getExplicitStartupOptionsBytesin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the explicitStartupOptions at the given index.
-
setExplicitStartupOptions
public BuildEventStreamProtos.OptionsParsed.Builder setExplicitStartupOptions(int index, java.lang.String value)
repeated string explicit_startup_options = 2;- Parameters:
index- The index to set the value at.value- The explicitStartupOptions to set.- Returns:
- This builder for chaining.
-
addExplicitStartupOptions
public BuildEventStreamProtos.OptionsParsed.Builder addExplicitStartupOptions(java.lang.String value)
repeated string explicit_startup_options = 2;- Parameters:
value- The explicitStartupOptions to add.- Returns:
- This builder for chaining.
-
addAllExplicitStartupOptions
public BuildEventStreamProtos.OptionsParsed.Builder addAllExplicitStartupOptions(java.lang.Iterable<java.lang.String> values)
repeated string explicit_startup_options = 2;- Parameters:
values- The explicitStartupOptions to add.- Returns:
- This builder for chaining.
-
clearExplicitStartupOptions
public BuildEventStreamProtos.OptionsParsed.Builder clearExplicitStartupOptions()
repeated string explicit_startup_options = 2;- Returns:
- This builder for chaining.
-
addExplicitStartupOptionsBytes
public BuildEventStreamProtos.OptionsParsed.Builder addExplicitStartupOptionsBytes(ByteString value)
repeated string explicit_startup_options = 2;- Parameters:
value- The bytes of the explicitStartupOptions to add.- Returns:
- This builder for chaining.
-
getCmdLineList
public ProtocolStringList getCmdLineList()
repeated string cmd_line = 3;- Specified by:
getCmdLineListin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- A list containing the cmdLine.
-
getCmdLineCount
public int getCmdLineCount()
repeated string cmd_line = 3;- Specified by:
getCmdLineCountin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- The count of cmdLine.
-
getCmdLine
public java.lang.String getCmdLine(int index)
repeated string cmd_line = 3;- Specified by:
getCmdLinein interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The cmdLine at the given index.
-
getCmdLineBytes
public ByteString getCmdLineBytes(int index)
repeated string cmd_line = 3;- Specified by:
getCmdLineBytesin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the cmdLine at the given index.
-
setCmdLine
public BuildEventStreamProtos.OptionsParsed.Builder setCmdLine(int index, java.lang.String value)
repeated string cmd_line = 3;- Parameters:
index- The index to set the value at.value- The cmdLine to set.- Returns:
- This builder for chaining.
-
addCmdLine
public BuildEventStreamProtos.OptionsParsed.Builder addCmdLine(java.lang.String value)
repeated string cmd_line = 3;- Parameters:
value- The cmdLine to add.- Returns:
- This builder for chaining.
-
addAllCmdLine
public BuildEventStreamProtos.OptionsParsed.Builder addAllCmdLine(java.lang.Iterable<java.lang.String> values)
repeated string cmd_line = 3;- Parameters:
values- The cmdLine to add.- Returns:
- This builder for chaining.
-
clearCmdLine
public BuildEventStreamProtos.OptionsParsed.Builder clearCmdLine()
repeated string cmd_line = 3;- Returns:
- This builder for chaining.
-
addCmdLineBytes
public BuildEventStreamProtos.OptionsParsed.Builder addCmdLineBytes(ByteString value)
repeated string cmd_line = 3;- Parameters:
value- The bytes of the cmdLine to add.- Returns:
- This builder for chaining.
-
getExplicitCmdLineList
public ProtocolStringList getExplicitCmdLineList()
repeated string explicit_cmd_line = 4;- Specified by:
getExplicitCmdLineListin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- A list containing the explicitCmdLine.
-
getExplicitCmdLineCount
public int getExplicitCmdLineCount()
repeated string explicit_cmd_line = 4;- Specified by:
getExplicitCmdLineCountin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- The count of explicitCmdLine.
-
getExplicitCmdLine
public java.lang.String getExplicitCmdLine(int index)
repeated string explicit_cmd_line = 4;- Specified by:
getExplicitCmdLinein interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The explicitCmdLine at the given index.
-
getExplicitCmdLineBytes
public ByteString getExplicitCmdLineBytes(int index)
repeated string explicit_cmd_line = 4;- Specified by:
getExplicitCmdLineBytesin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the explicitCmdLine at the given index.
-
setExplicitCmdLine
public BuildEventStreamProtos.OptionsParsed.Builder setExplicitCmdLine(int index, java.lang.String value)
repeated string explicit_cmd_line = 4;- Parameters:
index- The index to set the value at.value- The explicitCmdLine to set.- Returns:
- This builder for chaining.
-
addExplicitCmdLine
public BuildEventStreamProtos.OptionsParsed.Builder addExplicitCmdLine(java.lang.String value)
repeated string explicit_cmd_line = 4;- Parameters:
value- The explicitCmdLine to add.- Returns:
- This builder for chaining.
-
addAllExplicitCmdLine
public BuildEventStreamProtos.OptionsParsed.Builder addAllExplicitCmdLine(java.lang.Iterable<java.lang.String> values)
repeated string explicit_cmd_line = 4;- Parameters:
values- The explicitCmdLine to add.- Returns:
- This builder for chaining.
-
clearExplicitCmdLine
public BuildEventStreamProtos.OptionsParsed.Builder clearExplicitCmdLine()
repeated string explicit_cmd_line = 4;- Returns:
- This builder for chaining.
-
addExplicitCmdLineBytes
public BuildEventStreamProtos.OptionsParsed.Builder addExplicitCmdLineBytes(ByteString value)
repeated string explicit_cmd_line = 4;- Parameters:
value- The bytes of the explicitCmdLine to add.- Returns:
- This builder for chaining.
-
hasInvocationPolicy
public boolean hasInvocationPolicy()
.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;- Specified by:
hasInvocationPolicyin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- Whether the invocationPolicy field is set.
-
getInvocationPolicy
public com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.InvocationPolicy getInvocationPolicy()
.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;- Specified by:
getInvocationPolicyin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- The invocationPolicy.
-
setInvocationPolicy
public BuildEventStreamProtos.OptionsParsed.Builder setInvocationPolicy(com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.InvocationPolicy value)
.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;
-
setInvocationPolicy
public BuildEventStreamProtos.OptionsParsed.Builder setInvocationPolicy(com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.InvocationPolicy.Builder builderForValue)
.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;
-
mergeInvocationPolicy
public BuildEventStreamProtos.OptionsParsed.Builder mergeInvocationPolicy(com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.InvocationPolicy value)
.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;
-
clearInvocationPolicy
public BuildEventStreamProtos.OptionsParsed.Builder clearInvocationPolicy()
.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;
-
getInvocationPolicyBuilder
public com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.InvocationPolicy.Builder getInvocationPolicyBuilder()
.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;
-
getInvocationPolicyOrBuilder
public com.google.devtools.build.lib.runtime.proto.InvocationPolicyOuterClass.InvocationPolicyOrBuilder getInvocationPolicyOrBuilder()
.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;- Specified by:
getInvocationPolicyOrBuilderin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder
-
getToolTag
public java.lang.String getToolTag()
string tool_tag = 6;- Specified by:
getToolTagin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- The toolTag.
-
getToolTagBytes
public ByteString getToolTagBytes()
string tool_tag = 6;- Specified by:
getToolTagBytesin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- The bytes for toolTag.
-
setToolTag
public BuildEventStreamProtos.OptionsParsed.Builder setToolTag(java.lang.String value)
string tool_tag = 6;- Parameters:
value- The toolTag to set.- Returns:
- This builder for chaining.
-
clearToolTag
public BuildEventStreamProtos.OptionsParsed.Builder clearToolTag()
string tool_tag = 6;- Returns:
- This builder for chaining.
-
setToolTagBytes
public BuildEventStreamProtos.OptionsParsed.Builder setToolTagBytes(ByteString value)
string tool_tag = 6;- Parameters:
value- The bytes for toolTag to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final BuildEventStreamProtos.OptionsParsed.Builder setUnknownFields(UnknownFieldSet unknownFields)
Description copied from interface:Message.BuilderSet theUnknownFieldSetfor this message.- Specified by:
setUnknownFieldsin interfaceMessage.Builder- Overrides:
setUnknownFieldsin classGeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
mergeUnknownFields
public final BuildEventStreamProtos.OptionsParsed.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Description copied from interface:Message.BuilderMerge some unknown fields into theUnknownFieldSetfor this message.- Specified by:
mergeUnknownFieldsin interfaceMessage.Builder- Overrides:
mergeUnknownFieldsin classGeneratedMessageV3.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
-