public static final class Protos.ResourceProviderID.Builder extends <any> implements Protos.ResourceProviderIDOrBuilder
A unique ID assigned to a resource provider. Currently, a resource provider gets a new ID whenever it (re)registers with Mesos.Protobuf type
mesos.ResourceProviderID
Modifier and Type | Method and Description |
---|---|
Protos.ResourceProviderID.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ResourceProviderID |
build() |
Protos.ResourceProviderID |
buildPartial() |
Protos.ResourceProviderID.Builder |
clear() |
Protos.ResourceProviderID.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.ResourceProviderID.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.ResourceProviderID.Builder |
clearValue()
required string value = 1; |
Protos.ResourceProviderID.Builder |
clone() |
Protos.ResourceProviderID |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getValue()
required string value = 1; |
com.google.protobuf.ByteString |
getValueBytes()
required string value = 1; |
boolean |
hasValue()
required string value = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.ResourceProviderID.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.ResourceProviderID.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.ResourceProviderID.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.ResourceProviderID.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.ResourceProviderID.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.ResourceProviderID.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.ResourceProviderID.Builder |
setValue(java.lang.String value)
required string value = 1; |
Protos.ResourceProviderID.Builder |
setValueBytes(com.google.protobuf.ByteString value)
required string value = 1; |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.ResourceProviderID.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.ResourceProviderID getDefaultInstanceForType()
public Protos.ResourceProviderID build()
public Protos.ResourceProviderID buildPartial()
public Protos.ResourceProviderID.Builder clone()
public Protos.ResourceProviderID.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ResourceProviderID.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.ResourceProviderID.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.ResourceProviderID.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.ResourceProviderID.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.ResourceProviderID.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.ResourceProviderID.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasValue()
required string value = 1;
hasValue
in interface Protos.ResourceProviderIDOrBuilder
public java.lang.String getValue()
required string value = 1;
getValue
in interface Protos.ResourceProviderIDOrBuilder
public com.google.protobuf.ByteString getValueBytes()
required string value = 1;
getValueBytes
in interface Protos.ResourceProviderIDOrBuilder
public Protos.ResourceProviderID.Builder setValue(java.lang.String value)
required string value = 1;
public Protos.ResourceProviderID.Builder clearValue()
required string value = 1;
public Protos.ResourceProviderID.Builder setValueBytes(com.google.protobuf.ByteString value)
required string value = 1;
public final Protos.ResourceProviderID.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.ResourceProviderID.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)