public static final class Protos.SlaveID.Builder extends <any> implements Protos.SlaveIDOrBuilder
A unique ID assigned to a slave. Currently, a slave gets a new ID whenever it (re)registers with Mesos. Framework writers shouldn't assume any binding between a slave ID and and a hostname.Protobuf type
mesos.SlaveID
Modifier and Type | Method and Description |
---|---|
Protos.SlaveID.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.SlaveID |
build() |
Protos.SlaveID |
buildPartial() |
Protos.SlaveID.Builder |
clear() |
Protos.SlaveID.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.SlaveID.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.SlaveID.Builder |
clearValue()
required string value = 1; |
Protos.SlaveID.Builder |
clone() |
Protos.SlaveID |
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.SlaveID.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.SlaveID.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.SlaveID.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.SlaveID.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.SlaveID.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.SlaveID.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.SlaveID.Builder |
setValue(java.lang.String value)
required string value = 1; |
Protos.SlaveID.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.SlaveID.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.SlaveID getDefaultInstanceForType()
public Protos.SlaveID build()
public Protos.SlaveID buildPartial()
public Protos.SlaveID.Builder clone()
public Protos.SlaveID.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.SlaveID.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.SlaveID.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.SlaveID.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.SlaveID.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.SlaveID.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.SlaveID.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.SlaveIDOrBuilder
public java.lang.String getValue()
required string value = 1;
getValue
in interface Protos.SlaveIDOrBuilder
public com.google.protobuf.ByteString getValueBytes()
required string value = 1;
getValueBytes
in interface Protos.SlaveIDOrBuilder
public Protos.SlaveID.Builder setValue(java.lang.String value)
required string value = 1;
public Protos.SlaveID.Builder clearValue()
required string value = 1;
public Protos.SlaveID.Builder setValueBytes(com.google.protobuf.ByteString value)
required string value = 1;
public final Protos.SlaveID.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.SlaveID.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)