public static final class StoreTypes.ResourceInformation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceInformation.Builder> implements StoreTypes.ResourceInformationOrBuilder
org.apache.spark.status.protobuf.ResourceInformation
Modifier and Type | Method and Description |
---|---|
StoreTypes.ResourceInformation.Builder |
addAddresses(String value)
repeated string addresses = 2; |
StoreTypes.ResourceInformation.Builder |
addAddressesBytes(com.google.protobuf.ByteString value)
repeated string addresses = 2; |
StoreTypes.ResourceInformation.Builder |
addAllAddresses(Iterable<String> values)
repeated string addresses = 2; |
StoreTypes.ResourceInformation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.ResourceInformation |
build() |
StoreTypes.ResourceInformation |
buildPartial() |
StoreTypes.ResourceInformation.Builder |
clear() |
StoreTypes.ResourceInformation.Builder |
clearAddresses()
repeated string addresses = 2; |
StoreTypes.ResourceInformation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
StoreTypes.ResourceInformation.Builder |
clearName()
optional string name = 1; |
StoreTypes.ResourceInformation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
StoreTypes.ResourceInformation.Builder |
clone() |
String |
getAddresses(int index)
repeated string addresses = 2; |
com.google.protobuf.ByteString |
getAddressesBytes(int index)
repeated string addresses = 2; |
int |
getAddressesCount()
repeated string addresses = 2; |
com.google.protobuf.ProtocolStringList |
getAddressesList()
repeated string addresses = 2; |
StoreTypes.ResourceInformation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
optional string name = 1; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 1; |
boolean |
hasName()
optional string name = 1; |
boolean |
isInitialized() |
StoreTypes.ResourceInformation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
StoreTypes.ResourceInformation.Builder |
mergeFrom(com.google.protobuf.Message other) |
StoreTypes.ResourceInformation.Builder |
mergeFrom(StoreTypes.ResourceInformation other) |
StoreTypes.ResourceInformation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
StoreTypes.ResourceInformation.Builder |
setAddresses(int index,
String value)
repeated string addresses = 2; |
StoreTypes.ResourceInformation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
StoreTypes.ResourceInformation.Builder |
setName(String value)
optional string name = 1; |
StoreTypes.ResourceInformation.Builder |
setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1; |
StoreTypes.ResourceInformation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
StoreTypes.ResourceInformation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public StoreTypes.ResourceInformation.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceInformation.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceInformation.Builder>
public StoreTypes.ResourceInformation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public StoreTypes.ResourceInformation build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.ResourceInformation buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public StoreTypes.ResourceInformation.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceInformation.Builder>
public StoreTypes.ResourceInformation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceInformation.Builder>
public StoreTypes.ResourceInformation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceInformation.Builder>
public StoreTypes.ResourceInformation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceInformation.Builder>
public StoreTypes.ResourceInformation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceInformation.Builder>
public StoreTypes.ResourceInformation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceInformation.Builder>
public StoreTypes.ResourceInformation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.ResourceInformation.Builder>
public StoreTypes.ResourceInformation.Builder mergeFrom(StoreTypes.ResourceInformation other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceInformation.Builder>
public StoreTypes.ResourceInformation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<StoreTypes.ResourceInformation.Builder>
java.io.IOException
public boolean hasName()
optional string name = 1;
hasName
in interface StoreTypes.ResourceInformationOrBuilder
public String getName()
optional string name = 1;
getName
in interface StoreTypes.ResourceInformationOrBuilder
public com.google.protobuf.ByteString getNameBytes()
optional string name = 1;
getNameBytes
in interface StoreTypes.ResourceInformationOrBuilder
public StoreTypes.ResourceInformation.Builder setName(String value)
optional string name = 1;
value
- The name to set.public StoreTypes.ResourceInformation.Builder clearName()
optional string name = 1;
public StoreTypes.ResourceInformation.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 1;
value
- The bytes for name to set.public com.google.protobuf.ProtocolStringList getAddressesList()
repeated string addresses = 2;
getAddressesList
in interface StoreTypes.ResourceInformationOrBuilder
public int getAddressesCount()
repeated string addresses = 2;
getAddressesCount
in interface StoreTypes.ResourceInformationOrBuilder
public String getAddresses(int index)
repeated string addresses = 2;
getAddresses
in interface StoreTypes.ResourceInformationOrBuilder
index
- The index of the element to return.public com.google.protobuf.ByteString getAddressesBytes(int index)
repeated string addresses = 2;
getAddressesBytes
in interface StoreTypes.ResourceInformationOrBuilder
index
- The index of the value to return.public StoreTypes.ResourceInformation.Builder setAddresses(int index, String value)
repeated string addresses = 2;
index
- The index to set the value at.value
- The addresses to set.public StoreTypes.ResourceInformation.Builder addAddresses(String value)
repeated string addresses = 2;
value
- The addresses to add.public StoreTypes.ResourceInformation.Builder addAllAddresses(Iterable<String> values)
repeated string addresses = 2;
values
- The addresses to add.public StoreTypes.ResourceInformation.Builder clearAddresses()
repeated string addresses = 2;
public StoreTypes.ResourceInformation.Builder addAddressesBytes(com.google.protobuf.ByteString value)
repeated string addresses = 2;
value
- The bytes of the addresses to add.public final StoreTypes.ResourceInformation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceInformation.Builder>
public final StoreTypes.ResourceInformation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<StoreTypes.ResourceInformation.Builder>