Class BuildEventStreamProtos.OptionsParsed.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.OptionsParsed.Builder
- All Implemented Interfaces:
BuildEventStreamProtos.OptionsParsedOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- BuildEventStreamProtos.OptionsParsed
public static final class BuildEventStreamProtos.OptionsParsed.Builder
extends com.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
implements BuildEventStreamProtos.OptionsParsedOrBuilder
Payload of an event reporting on the parsed options, grouped in various ways.Protobuf type
build_event_stream.OptionsParsed-
Method Summary
Modifier and TypeMethodDescriptionaddAllCmdLine(Iterable<String> values) repeated string cmd_line = 3;addAllExplicitCmdLine(Iterable<String> values) repeated string explicit_cmd_line = 4;addAllExplicitStartupOptions(Iterable<String> values) repeated string explicit_startup_options = 2;addAllStartupOptions(Iterable<String> values) repeated string startup_options = 1;addCmdLine(String value) repeated string cmd_line = 3;addCmdLineBytes(com.google.protobuf.ByteString value) repeated string cmd_line = 3;addExplicitCmdLine(String value) repeated string explicit_cmd_line = 4;addExplicitCmdLineBytes(com.google.protobuf.ByteString value) repeated string explicit_cmd_line = 4;addExplicitStartupOptions(String value) repeated string explicit_startup_options = 2;addExplicitStartupOptionsBytes(com.google.protobuf.ByteString value) repeated string explicit_startup_options = 2;addStartupOptions(String value) repeated string startup_options = 1;addStartupOptionsBytes(com.google.protobuf.ByteString value) repeated string startup_options = 1;build()clear()repeated string cmd_line = 3;repeated string explicit_cmd_line = 4;repeated string explicit_startup_options = 2;.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;repeated string startup_options = 1;string tool_tag = 6;getCmdLine(int index) repeated string cmd_line = 3;com.google.protobuf.ByteStringgetCmdLineBytes(int index) repeated string cmd_line = 3;intrepeated string cmd_line = 3;com.google.protobuf.ProtocolStringListrepeated string cmd_line = 3;static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetExplicitCmdLine(int index) repeated string explicit_cmd_line = 4;com.google.protobuf.ByteStringgetExplicitCmdLineBytes(int index) repeated string explicit_cmd_line = 4;intrepeated string explicit_cmd_line = 4;com.google.protobuf.ProtocolStringListrepeated string explicit_cmd_line = 4;getExplicitStartupOptions(int index) repeated string explicit_startup_options = 2;com.google.protobuf.ByteStringgetExplicitStartupOptionsBytes(int index) repeated string explicit_startup_options = 2;intrepeated string explicit_startup_options = 2;com.google.protobuf.ProtocolStringListrepeated string explicit_startup_options = 2;.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;getStartupOptions(int index) repeated string startup_options = 1;com.google.protobuf.ByteStringgetStartupOptionsBytes(int index) repeated string startup_options = 1;intrepeated string startup_options = 1;com.google.protobuf.ProtocolStringListrepeated string startup_options = 1;string tool_tag = 6;com.google.protobuf.ByteStringstring tool_tag = 6;boolean.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) .blaze.invocation_policy.InvocationPolicy invocation_policy = 5;setCmdLine(int index, String value) repeated string cmd_line = 3;setExplicitCmdLine(int index, String value) repeated string explicit_cmd_line = 4;setExplicitStartupOptions(int index, String value) repeated string explicit_startup_options = 2;.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;setInvocationPolicy(InvocationPolicyOuterClass.InvocationPolicy.Builder builderForValue) .blaze.invocation_policy.InvocationPolicy invocation_policy = 5;setStartupOptions(int index, String value) repeated string startup_options = 1;setToolTag(String value) string tool_tag = 6;setToolTagBytes(com.google.protobuf.ByteString value) string tool_tag = 6;Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.OptionsParsed.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.GeneratedMessage.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
mergeFrom
public BuildEventStreamProtos.OptionsParsed.Builder mergeFrom(BuildEventStreamProtos.OptionsParsed other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<BuildEventStreamProtos.OptionsParsed.Builder>
-
mergeFrom
public BuildEventStreamProtos.OptionsParsed.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.OptionsParsed.Builder>- Throws:
IOException
-
getStartupOptionsList
public com.google.protobuf.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
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 com.google.protobuf.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
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
repeated string startup_options = 1;- Parameters:
value- The startupOptions to add.- Returns:
- This builder for chaining.
-
addAllStartupOptions
repeated string startup_options = 1;- Parameters:
values- The startupOptions to add.- Returns:
- This builder for chaining.
-
clearStartupOptions
repeated string startup_options = 1;- Returns:
- This builder for chaining.
-
addStartupOptionsBytes
public BuildEventStreamProtos.OptionsParsed.Builder addStartupOptionsBytes(com.google.protobuf.ByteString value) repeated string startup_options = 1;- Parameters:
value- The bytes of the startupOptions to add.- Returns:
- This builder for chaining.
-
getExplicitStartupOptionsList
public com.google.protobuf.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
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 com.google.protobuf.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, 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
repeated string explicit_startup_options = 2;- Parameters:
value- The explicitStartupOptions to add.- Returns:
- This builder for chaining.
-
addAllExplicitStartupOptions
public BuildEventStreamProtos.OptionsParsed.Builder addAllExplicitStartupOptions(Iterable<String> values) repeated string explicit_startup_options = 2;- Parameters:
values- The explicitStartupOptions to add.- Returns:
- This builder for chaining.
-
clearExplicitStartupOptions
repeated string explicit_startup_options = 2;- Returns:
- This builder for chaining.
-
addExplicitStartupOptionsBytes
public BuildEventStreamProtos.OptionsParsed.Builder addExplicitStartupOptionsBytes(com.google.protobuf.ByteString value) repeated string explicit_startup_options = 2;- Parameters:
value- The bytes of the explicitStartupOptions to add.- Returns:
- This builder for chaining.
-
getCmdLineList
public com.google.protobuf.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
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 com.google.protobuf.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
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
repeated string cmd_line = 3;- Parameters:
value- The cmdLine to add.- Returns:
- This builder for chaining.
-
addAllCmdLine
repeated string cmd_line = 3;- Parameters:
values- The cmdLine to add.- Returns:
- This builder for chaining.
-
clearCmdLine
repeated string cmd_line = 3;- Returns:
- This builder for chaining.
-
addCmdLineBytes
public BuildEventStreamProtos.OptionsParsed.Builder addCmdLineBytes(com.google.protobuf.ByteString value) repeated string cmd_line = 3;- Parameters:
value- The bytes of the cmdLine to add.- Returns:
- This builder for chaining.
-
getExplicitCmdLineList
public com.google.protobuf.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
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 com.google.protobuf.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
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
repeated string explicit_cmd_line = 4;- Parameters:
value- The explicitCmdLine to add.- Returns:
- This builder for chaining.
-
addAllExplicitCmdLine
repeated string explicit_cmd_line = 4;- Parameters:
values- The explicitCmdLine to add.- Returns:
- This builder for chaining.
-
clearExplicitCmdLine
repeated string explicit_cmd_line = 4;- Returns:
- This builder for chaining.
-
addExplicitCmdLineBytes
public BuildEventStreamProtos.OptionsParsed.Builder addExplicitCmdLineBytes(com.google.protobuf.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
.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;- Specified by:
getInvocationPolicyin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- The invocationPolicy.
-
setInvocationPolicy
public BuildEventStreamProtos.OptionsParsed.Builder setInvocationPolicy(InvocationPolicyOuterClass.InvocationPolicy value) .blaze.invocation_policy.InvocationPolicy invocation_policy = 5; -
setInvocationPolicy
public BuildEventStreamProtos.OptionsParsed.Builder setInvocationPolicy(InvocationPolicyOuterClass.InvocationPolicy.Builder builderForValue) .blaze.invocation_policy.InvocationPolicy invocation_policy = 5; -
mergeInvocationPolicy
public BuildEventStreamProtos.OptionsParsed.Builder mergeInvocationPolicy(InvocationPolicyOuterClass.InvocationPolicy value) .blaze.invocation_policy.InvocationPolicy invocation_policy = 5; -
clearInvocationPolicy
.blaze.invocation_policy.InvocationPolicy invocation_policy = 5; -
getInvocationPolicyBuilder
.blaze.invocation_policy.InvocationPolicy invocation_policy = 5; -
getInvocationPolicyOrBuilder
.blaze.invocation_policy.InvocationPolicy invocation_policy = 5;- Specified by:
getInvocationPolicyOrBuilderin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder
-
getToolTag
string tool_tag = 6;- Specified by:
getToolTagin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- The toolTag.
-
getToolTagBytes
public com.google.protobuf.ByteString getToolTagBytes()string tool_tag = 6;- Specified by:
getToolTagBytesin interfaceBuildEventStreamProtos.OptionsParsedOrBuilder- Returns:
- The bytes for toolTag.
-
setToolTag
string tool_tag = 6;- Parameters:
value- The toolTag to set.- Returns:
- This builder for chaining.
-
clearToolTag
string tool_tag = 6;- Returns:
- This builder for chaining.
-
setToolTagBytes
public BuildEventStreamProtos.OptionsParsed.Builder setToolTagBytes(com.google.protobuf.ByteString value) string tool_tag = 6;- Parameters:
value- The bytes for toolTag to set.- Returns:
- This builder for chaining.
-