Class BuildEventStreamProtos.Configuration.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.Configuration.Builder>
-
- com.google.devtools.build.lib.buildeventstream.BuildEventStreamProtos.Configuration.Builder
-
- All Implemented Interfaces:
BuildEventStreamProtos.ConfigurationOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,java.lang.Cloneable
- Enclosing class:
- BuildEventStreamProtos.Configuration
public static final class BuildEventStreamProtos.Configuration.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.Configuration.Builder> implements BuildEventStreamProtos.ConfigurationOrBuilder
Payload of an event reporting details of a given configuration.
Protobuf typebuild_event_stream.Configuration
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description BuildEventStreamProtos.Configuration.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BuildEventStreamProtos.Configurationbuild()BuildEventStreamProtos.ConfigurationbuildPartial()BuildEventStreamProtos.Configuration.Builderclear()BuildEventStreamProtos.Configuration.BuilderclearCpu()string cpu = 3;BuildEventStreamProtos.Configuration.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)BuildEventStreamProtos.Configuration.BuilderclearMakeVariable()BuildEventStreamProtos.Configuration.BuilderclearMnemonic()string mnemonic = 1;BuildEventStreamProtos.Configuration.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)BuildEventStreamProtos.Configuration.BuilderclearPlatformName()string platform_name = 2;BuildEventStreamProtos.Configuration.Builderclone()booleancontainsMakeVariable(java.lang.String key)map<string, string> make_variable = 4;java.lang.StringgetCpu()string cpu = 3;com.google.protobuf.ByteStringgetCpuBytes()string cpu = 3;BuildEventStreamProtos.ConfigurationgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.util.Map<java.lang.String,java.lang.String>getMakeVariable()Deprecated.intgetMakeVariableCount()map<string, string> make_variable = 4;java.util.Map<java.lang.String,java.lang.String>getMakeVariableMap()map<string, string> make_variable = 4;java.lang.StringgetMakeVariableOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> make_variable = 4;java.lang.StringgetMakeVariableOrThrow(java.lang.String key)map<string, string> make_variable = 4;java.lang.StringgetMnemonic()string mnemonic = 1;com.google.protobuf.ByteStringgetMnemonicBytes()string mnemonic = 1;java.util.Map<java.lang.String,java.lang.String>getMutableMakeVariable()Deprecated.java.lang.StringgetPlatformName()string platform_name = 2;com.google.protobuf.ByteStringgetPlatformNameBytes()string platform_name = 2;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()BuildEventStreamProtos.Configuration.BuildermergeFrom(BuildEventStreamProtos.Configuration other)BuildEventStreamProtos.Configuration.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)BuildEventStreamProtos.Configuration.BuildermergeFrom(com.google.protobuf.Message other)BuildEventStreamProtos.Configuration.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)BuildEventStreamProtos.Configuration.BuilderputAllMakeVariable(java.util.Map<java.lang.String,java.lang.String> values)map<string, string> make_variable = 4;BuildEventStreamProtos.Configuration.BuilderputMakeVariable(java.lang.String key, java.lang.String value)map<string, string> make_variable = 4;BuildEventStreamProtos.Configuration.BuilderremoveMakeVariable(java.lang.String key)map<string, string> make_variable = 4;BuildEventStreamProtos.Configuration.BuildersetCpu(java.lang.String value)string cpu = 3;BuildEventStreamProtos.Configuration.BuildersetCpuBytes(com.google.protobuf.ByteString value)string cpu = 3;BuildEventStreamProtos.Configuration.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)BuildEventStreamProtos.Configuration.BuildersetMnemonic(java.lang.String value)string mnemonic = 1;BuildEventStreamProtos.Configuration.BuildersetMnemonicBytes(com.google.protobuf.ByteString value)string mnemonic = 1;BuildEventStreamProtos.Configuration.BuildersetPlatformName(java.lang.String value)string platform_name = 2;BuildEventStreamProtos.Configuration.BuildersetPlatformNameBytes(com.google.protobuf.ByteString value)string platform_name = 2;BuildEventStreamProtos.Configuration.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)BuildEventStreamProtos.Configuration.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, 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()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.Configuration.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.Configuration.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.Configuration.Builder>
-
clear
public BuildEventStreamProtos.Configuration.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<BuildEventStreamProtos.Configuration.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<BuildEventStreamProtos.Configuration.Builder>
-
getDefaultInstanceForType
public BuildEventStreamProtos.Configuration getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public BuildEventStreamProtos.Configuration build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public BuildEventStreamProtos.Configuration buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public BuildEventStreamProtos.Configuration.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<BuildEventStreamProtos.Configuration.Builder>
-
setField
public BuildEventStreamProtos.Configuration.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<BuildEventStreamProtos.Configuration.Builder>
-
clearField
public BuildEventStreamProtos.Configuration.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.Configuration.Builder>
-
clearOneof
public BuildEventStreamProtos.Configuration.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.Configuration.Builder>
-
setRepeatedField
public BuildEventStreamProtos.Configuration.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<BuildEventStreamProtos.Configuration.Builder>
-
addRepeatedField
public BuildEventStreamProtos.Configuration.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<BuildEventStreamProtos.Configuration.Builder>
-
mergeFrom
public BuildEventStreamProtos.Configuration.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<BuildEventStreamProtos.Configuration.Builder>
-
mergeFrom
public BuildEventStreamProtos.Configuration.Builder mergeFrom(BuildEventStreamProtos.Configuration other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.Configuration.Builder>
-
mergeFrom
public BuildEventStreamProtos.Configuration.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<BuildEventStreamProtos.Configuration.Builder>- Throws:
java.io.IOException
-
getMnemonic
public java.lang.String getMnemonic()
string mnemonic = 1;- Specified by:
getMnemonicin interfaceBuildEventStreamProtos.ConfigurationOrBuilder- Returns:
- The mnemonic.
-
getMnemonicBytes
public com.google.protobuf.ByteString getMnemonicBytes()
string mnemonic = 1;- Specified by:
getMnemonicBytesin interfaceBuildEventStreamProtos.ConfigurationOrBuilder- Returns:
- The bytes for mnemonic.
-
setMnemonic
public BuildEventStreamProtos.Configuration.Builder setMnemonic(java.lang.String value)
string mnemonic = 1;- Parameters:
value- The mnemonic to set.- Returns:
- This builder for chaining.
-
clearMnemonic
public BuildEventStreamProtos.Configuration.Builder clearMnemonic()
string mnemonic = 1;- Returns:
- This builder for chaining.
-
setMnemonicBytes
public BuildEventStreamProtos.Configuration.Builder setMnemonicBytes(com.google.protobuf.ByteString value)
string mnemonic = 1;- Parameters:
value- The bytes for mnemonic to set.- Returns:
- This builder for chaining.
-
getPlatformName
public java.lang.String getPlatformName()
string platform_name = 2;- Specified by:
getPlatformNamein interfaceBuildEventStreamProtos.ConfigurationOrBuilder- Returns:
- The platformName.
-
getPlatformNameBytes
public com.google.protobuf.ByteString getPlatformNameBytes()
string platform_name = 2;- Specified by:
getPlatformNameBytesin interfaceBuildEventStreamProtos.ConfigurationOrBuilder- Returns:
- The bytes for platformName.
-
setPlatformName
public BuildEventStreamProtos.Configuration.Builder setPlatformName(java.lang.String value)
string platform_name = 2;- Parameters:
value- The platformName to set.- Returns:
- This builder for chaining.
-
clearPlatformName
public BuildEventStreamProtos.Configuration.Builder clearPlatformName()
string platform_name = 2;- Returns:
- This builder for chaining.
-
setPlatformNameBytes
public BuildEventStreamProtos.Configuration.Builder setPlatformNameBytes(com.google.protobuf.ByteString value)
string platform_name = 2;- Parameters:
value- The bytes for platformName to set.- Returns:
- This builder for chaining.
-
getCpu
public java.lang.String getCpu()
string cpu = 3;- Specified by:
getCpuin interfaceBuildEventStreamProtos.ConfigurationOrBuilder- Returns:
- The cpu.
-
getCpuBytes
public com.google.protobuf.ByteString getCpuBytes()
string cpu = 3;- Specified by:
getCpuBytesin interfaceBuildEventStreamProtos.ConfigurationOrBuilder- Returns:
- The bytes for cpu.
-
setCpu
public BuildEventStreamProtos.Configuration.Builder setCpu(java.lang.String value)
string cpu = 3;- Parameters:
value- The cpu to set.- Returns:
- This builder for chaining.
-
clearCpu
public BuildEventStreamProtos.Configuration.Builder clearCpu()
string cpu = 3;- Returns:
- This builder for chaining.
-
setCpuBytes
public BuildEventStreamProtos.Configuration.Builder setCpuBytes(com.google.protobuf.ByteString value)
string cpu = 3;- Parameters:
value- The bytes for cpu to set.- Returns:
- This builder for chaining.
-
getMakeVariableCount
public int getMakeVariableCount()
Description copied from interface:BuildEventStreamProtos.ConfigurationOrBuildermap<string, string> make_variable = 4;- Specified by:
getMakeVariableCountin interfaceBuildEventStreamProtos.ConfigurationOrBuilder
-
containsMakeVariable
public boolean containsMakeVariable(java.lang.String key)
map<string, string> make_variable = 4;- Specified by:
containsMakeVariablein interfaceBuildEventStreamProtos.ConfigurationOrBuilder
-
getMakeVariable
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMakeVariable()
Deprecated.UsegetMakeVariableMap()instead.- Specified by:
getMakeVariablein interfaceBuildEventStreamProtos.ConfigurationOrBuilder
-
getMakeVariableMap
public java.util.Map<java.lang.String,java.lang.String> getMakeVariableMap()
map<string, string> make_variable = 4;- Specified by:
getMakeVariableMapin interfaceBuildEventStreamProtos.ConfigurationOrBuilder
-
getMakeVariableOrDefault
public java.lang.String getMakeVariableOrDefault(java.lang.String key, java.lang.String defaultValue)map<string, string> make_variable = 4;- Specified by:
getMakeVariableOrDefaultin interfaceBuildEventStreamProtos.ConfigurationOrBuilder
-
getMakeVariableOrThrow
public java.lang.String getMakeVariableOrThrow(java.lang.String key)
map<string, string> make_variable = 4;- Specified by:
getMakeVariableOrThrowin interfaceBuildEventStreamProtos.ConfigurationOrBuilder
-
clearMakeVariable
public BuildEventStreamProtos.Configuration.Builder clearMakeVariable()
-
removeMakeVariable
public BuildEventStreamProtos.Configuration.Builder removeMakeVariable(java.lang.String key)
map<string, string> make_variable = 4;
-
getMutableMakeVariable
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getMutableMakeVariable()
Deprecated.Use alternate mutation accessors instead.
-
putMakeVariable
public BuildEventStreamProtos.Configuration.Builder putMakeVariable(java.lang.String key, java.lang.String value)
map<string, string> make_variable = 4;
-
putAllMakeVariable
public BuildEventStreamProtos.Configuration.Builder putAllMakeVariable(java.util.Map<java.lang.String,java.lang.String> values)
map<string, string> make_variable = 4;
-
setUnknownFields
public final BuildEventStreamProtos.Configuration.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.Configuration.Builder>
-
mergeUnknownFields
public final BuildEventStreamProtos.Configuration.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<BuildEventStreamProtos.Configuration.Builder>
-
-