public static final class Protos.Device.Builder extends <any> implements Protos.DeviceOrBuilder
Describes information about a device.Protobuf type
mesos.Device
Modifier and Type | Method and Description |
---|---|
Protos.Device.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Device |
build() |
Protos.Device |
buildPartial() |
Protos.Device.Builder |
clear() |
Protos.Device.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Device.Builder |
clearNumber()
optional .mesos.Device.Number number = 2; |
Protos.Device.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Device.Builder |
clearPath()
optional string path = 1; |
Protos.Device.Builder |
clone() |
Protos.Device |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Protos.Device.Number |
getNumber()
optional .mesos.Device.Number number = 2; |
Protos.Device.Number.Builder |
getNumberBuilder()
optional .mesos.Device.Number number = 2; |
Protos.Device.NumberOrBuilder |
getNumberOrBuilder()
optional .mesos.Device.Number number = 2; |
java.lang.String |
getPath()
optional string path = 1; |
com.google.protobuf.ByteString |
getPathBytes()
optional string path = 1; |
boolean |
hasNumber()
optional .mesos.Device.Number number = 2; |
boolean |
hasPath()
optional string path = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Device.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Device.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Device.Builder |
mergeNumber(Protos.Device.Number value)
optional .mesos.Device.Number number = 2; |
Protos.Device.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Device.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Device.Builder |
setNumber(Protos.Device.Number.Builder builderForValue)
optional .mesos.Device.Number number = 2; |
Protos.Device.Builder |
setNumber(Protos.Device.Number value)
optional .mesos.Device.Number number = 2; |
Protos.Device.Builder |
setPath(java.lang.String value)
optional string path = 1; |
Protos.Device.Builder |
setPathBytes(com.google.protobuf.ByteString value)
optional string path = 1; |
Protos.Device.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Device.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Device.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Device getDefaultInstanceForType()
public Protos.Device build()
public Protos.Device buildPartial()
public Protos.Device.Builder clone()
public Protos.Device.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Device.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Device.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Device.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Device.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Device.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Device.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public boolean hasPath()
optional string path = 1;
hasPath
in interface Protos.DeviceOrBuilder
public java.lang.String getPath()
optional string path = 1;
getPath
in interface Protos.DeviceOrBuilder
public com.google.protobuf.ByteString getPathBytes()
optional string path = 1;
getPathBytes
in interface Protos.DeviceOrBuilder
public Protos.Device.Builder setPath(java.lang.String value)
optional string path = 1;
public Protos.Device.Builder clearPath()
optional string path = 1;
public Protos.Device.Builder setPathBytes(com.google.protobuf.ByteString value)
optional string path = 1;
public boolean hasNumber()
optional .mesos.Device.Number number = 2;
hasNumber
in interface Protos.DeviceOrBuilder
public Protos.Device.Number getNumber()
optional .mesos.Device.Number number = 2;
getNumber
in interface Protos.DeviceOrBuilder
public Protos.Device.Builder setNumber(Protos.Device.Number value)
optional .mesos.Device.Number number = 2;
public Protos.Device.Builder setNumber(Protos.Device.Number.Builder builderForValue)
optional .mesos.Device.Number number = 2;
public Protos.Device.Builder mergeNumber(Protos.Device.Number value)
optional .mesos.Device.Number number = 2;
public Protos.Device.Builder clearNumber()
optional .mesos.Device.Number number = 2;
public Protos.Device.Number.Builder getNumberBuilder()
optional .mesos.Device.Number number = 2;
public Protos.Device.NumberOrBuilder getNumberOrBuilder()
optional .mesos.Device.Number number = 2;
getNumberOrBuilder
in interface Protos.DeviceOrBuilder
public final Protos.Device.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Device.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)