public static final class Protos.Resource.DiskInfo.Source.Builder extends <any> implements Protos.Resource.DiskInfo.SourceOrBuilder
Describes where a disk originates from.Protobuf type
mesos.Resource.DiskInfo.Source| Modifier and Type | Method and Description |
|---|---|
Protos.Resource.DiskInfo.Source.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Resource.DiskInfo.Source |
build() |
Protos.Resource.DiskInfo.Source |
buildPartial() |
Protos.Resource.DiskInfo.Source.Builder |
clear() |
Protos.Resource.DiskInfo.Source.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Protos.Resource.DiskInfo.Source.Builder |
clearId()
The identifier of this source.
|
Protos.Resource.DiskInfo.Source.Builder |
clearMetadata()
Additional metadata for this source.
|
Protos.Resource.DiskInfo.Source.Builder |
clearMount()
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3; |
Protos.Resource.DiskInfo.Source.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Protos.Resource.DiskInfo.Source.Builder |
clearPath()
optional .mesos.Resource.DiskInfo.Source.Path path = 2; |
Protos.Resource.DiskInfo.Source.Builder |
clearProfile()
This field serves as an indirection to a set of storage
vendor specific disk parameters which describe the properties
of the disk.
|
Protos.Resource.DiskInfo.Source.Builder |
clearType()
required .mesos.Resource.DiskInfo.Source.Type type = 1; |
Protos.Resource.DiskInfo.Source.Builder |
clearVendor()
The vendor of this source.
|
Protos.Resource.DiskInfo.Source.Builder |
clone() |
Protos.Resource.DiskInfo.Source |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getId()
The identifier of this source.
|
com.google.protobuf.ByteString |
getIdBytes()
The identifier of this source.
|
Protos.Labels |
getMetadata()
Additional metadata for this source.
|
Protos.Labels.Builder |
getMetadataBuilder()
Additional metadata for this source.
|
Protos.LabelsOrBuilder |
getMetadataOrBuilder()
Additional metadata for this source.
|
Protos.Resource.DiskInfo.Source.Mount |
getMount()
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3; |
Protos.Resource.DiskInfo.Source.Mount.Builder |
getMountBuilder()
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3; |
Protos.Resource.DiskInfo.Source.MountOrBuilder |
getMountOrBuilder()
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3; |
Protos.Resource.DiskInfo.Source.Path |
getPath()
optional .mesos.Resource.DiskInfo.Source.Path path = 2; |
Protos.Resource.DiskInfo.Source.Path.Builder |
getPathBuilder()
optional .mesos.Resource.DiskInfo.Source.Path path = 2; |
Protos.Resource.DiskInfo.Source.PathOrBuilder |
getPathOrBuilder()
optional .mesos.Resource.DiskInfo.Source.Path path = 2; |
java.lang.String |
getProfile()
This field serves as an indirection to a set of storage
vendor specific disk parameters which describe the properties
of the disk.
|
com.google.protobuf.ByteString |
getProfileBytes()
This field serves as an indirection to a set of storage
vendor specific disk parameters which describe the properties
of the disk.
|
Protos.Resource.DiskInfo.Source.Type |
getType()
required .mesos.Resource.DiskInfo.Source.Type type = 1; |
java.lang.String |
getVendor()
The vendor of this source.
|
com.google.protobuf.ByteString |
getVendorBytes()
The vendor of this source.
|
boolean |
hasId()
The identifier of this source.
|
boolean |
hasMetadata()
Additional metadata for this source.
|
boolean |
hasMount()
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3; |
boolean |
hasPath()
optional .mesos.Resource.DiskInfo.Source.Path path = 2; |
boolean |
hasProfile()
This field serves as an indirection to a set of storage
vendor specific disk parameters which describe the properties
of the disk.
|
boolean |
hasType()
required .mesos.Resource.DiskInfo.Source.Type type = 1; |
boolean |
hasVendor()
The vendor of this source.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Protos.Resource.DiskInfo.Source.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Protos.Resource.DiskInfo.Source.Builder |
mergeFrom(com.google.protobuf.Message other) |
Protos.Resource.DiskInfo.Source.Builder |
mergeMetadata(Protos.Labels value)
Additional metadata for this source.
|
Protos.Resource.DiskInfo.Source.Builder |
mergeMount(Protos.Resource.DiskInfo.Source.Mount value)
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3; |
Protos.Resource.DiskInfo.Source.Builder |
mergePath(Protos.Resource.DiskInfo.Source.Path value)
optional .mesos.Resource.DiskInfo.Source.Path path = 2; |
Protos.Resource.DiskInfo.Source.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Resource.DiskInfo.Source.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
Protos.Resource.DiskInfo.Source.Builder |
setId(java.lang.String value)
The identifier of this source.
|
Protos.Resource.DiskInfo.Source.Builder |
setIdBytes(com.google.protobuf.ByteString value)
The identifier of this source.
|
Protos.Resource.DiskInfo.Source.Builder |
setMetadata(Protos.Labels.Builder builderForValue)
Additional metadata for this source.
|
Protos.Resource.DiskInfo.Source.Builder |
setMetadata(Protos.Labels value)
Additional metadata for this source.
|
Protos.Resource.DiskInfo.Source.Builder |
setMount(Protos.Resource.DiskInfo.Source.Mount.Builder builderForValue)
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3; |
Protos.Resource.DiskInfo.Source.Builder |
setMount(Protos.Resource.DiskInfo.Source.Mount value)
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3; |
Protos.Resource.DiskInfo.Source.Builder |
setPath(Protos.Resource.DiskInfo.Source.Path.Builder builderForValue)
optional .mesos.Resource.DiskInfo.Source.Path path = 2; |
Protos.Resource.DiskInfo.Source.Builder |
setPath(Protos.Resource.DiskInfo.Source.Path value)
optional .mesos.Resource.DiskInfo.Source.Path path = 2; |
Protos.Resource.DiskInfo.Source.Builder |
setProfile(java.lang.String value)
This field serves as an indirection to a set of storage
vendor specific disk parameters which describe the properties
of the disk.
|
Protos.Resource.DiskInfo.Source.Builder |
setProfileBytes(com.google.protobuf.ByteString value)
This field serves as an indirection to a set of storage
vendor specific disk parameters which describe the properties
of the disk.
|
Protos.Resource.DiskInfo.Source.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
Protos.Resource.DiskInfo.Source.Builder |
setType(Protos.Resource.DiskInfo.Source.Type value)
required .mesos.Resource.DiskInfo.Source.Type type = 1; |
Protos.Resource.DiskInfo.Source.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Protos.Resource.DiskInfo.Source.Builder |
setVendor(java.lang.String value)
The vendor of this source.
|
Protos.Resource.DiskInfo.Source.Builder |
setVendorBytes(com.google.protobuf.ByteString value)
The vendor of this source.
|
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Resource.DiskInfo.Source.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Resource.DiskInfo.Source getDefaultInstanceForType()
public Protos.Resource.DiskInfo.Source build()
public Protos.Resource.DiskInfo.Source buildPartial()
public Protos.Resource.DiskInfo.Source.Builder clone()
public Protos.Resource.DiskInfo.Source.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Resource.DiskInfo.Source.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Resource.DiskInfo.Source.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Resource.DiskInfo.Source.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Resource.DiskInfo.Source.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Resource.DiskInfo.Source.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Resource.DiskInfo.Source.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic boolean hasType()
required .mesos.Resource.DiskInfo.Source.Type type = 1;hasType in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic Protos.Resource.DiskInfo.Source.Type getType()
required .mesos.Resource.DiskInfo.Source.Type type = 1;getType in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic Protos.Resource.DiskInfo.Source.Builder setType(Protos.Resource.DiskInfo.Source.Type value)
required .mesos.Resource.DiskInfo.Source.Type type = 1;public Protos.Resource.DiskInfo.Source.Builder clearType()
required .mesos.Resource.DiskInfo.Source.Type type = 1;public boolean hasPath()
optional .mesos.Resource.DiskInfo.Source.Path path = 2;hasPath in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic Protos.Resource.DiskInfo.Source.Path getPath()
optional .mesos.Resource.DiskInfo.Source.Path path = 2;getPath in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic Protos.Resource.DiskInfo.Source.Builder setPath(Protos.Resource.DiskInfo.Source.Path value)
optional .mesos.Resource.DiskInfo.Source.Path path = 2;public Protos.Resource.DiskInfo.Source.Builder setPath(Protos.Resource.DiskInfo.Source.Path.Builder builderForValue)
optional .mesos.Resource.DiskInfo.Source.Path path = 2;public Protos.Resource.DiskInfo.Source.Builder mergePath(Protos.Resource.DiskInfo.Source.Path value)
optional .mesos.Resource.DiskInfo.Source.Path path = 2;public Protos.Resource.DiskInfo.Source.Builder clearPath()
optional .mesos.Resource.DiskInfo.Source.Path path = 2;public Protos.Resource.DiskInfo.Source.Path.Builder getPathBuilder()
optional .mesos.Resource.DiskInfo.Source.Path path = 2;public Protos.Resource.DiskInfo.Source.PathOrBuilder getPathOrBuilder()
optional .mesos.Resource.DiskInfo.Source.Path path = 2;getPathOrBuilder in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic boolean hasMount()
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3;hasMount in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic Protos.Resource.DiskInfo.Source.Mount getMount()
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3;getMount in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic Protos.Resource.DiskInfo.Source.Builder setMount(Protos.Resource.DiskInfo.Source.Mount value)
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3;public Protos.Resource.DiskInfo.Source.Builder setMount(Protos.Resource.DiskInfo.Source.Mount.Builder builderForValue)
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3;public Protos.Resource.DiskInfo.Source.Builder mergeMount(Protos.Resource.DiskInfo.Source.Mount value)
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3;public Protos.Resource.DiskInfo.Source.Builder clearMount()
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3;public Protos.Resource.DiskInfo.Source.Mount.Builder getMountBuilder()
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3;public Protos.Resource.DiskInfo.Source.MountOrBuilder getMountOrBuilder()
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3;getMountOrBuilder in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic boolean hasVendor()
The vendor of this source. If present, this field provides the means to uniquely identify the storage backend of this source in the cluster.
optional string vendor = 7;hasVendor in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic java.lang.String getVendor()
The vendor of this source. If present, this field provides the means to uniquely identify the storage backend of this source in the cluster.
optional string vendor = 7;getVendor in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic com.google.protobuf.ByteString getVendorBytes()
The vendor of this source. If present, this field provides the means to uniquely identify the storage backend of this source in the cluster.
optional string vendor = 7;getVendorBytes in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic Protos.Resource.DiskInfo.Source.Builder setVendor(java.lang.String value)
The vendor of this source. If present, this field provides the means to uniquely identify the storage backend of this source in the cluster.
optional string vendor = 7;public Protos.Resource.DiskInfo.Source.Builder clearVendor()
The vendor of this source. If present, this field provides the means to uniquely identify the storage backend of this source in the cluster.
optional string vendor = 7;public Protos.Resource.DiskInfo.Source.Builder setVendorBytes(com.google.protobuf.ByteString value)
The vendor of this source. If present, this field provides the means to uniquely identify the storage backend of this source in the cluster.
optional string vendor = 7;public boolean hasId()
The identifier of this source. This field maps onto CSI volume IDs and is not expected to be set by frameworks. If both `vendor` and `id` are present, these two fields together provide the means to uniquely identify this source in the cluster.
optional string id = 4;hasId in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic java.lang.String getId()
The identifier of this source. This field maps onto CSI volume IDs and is not expected to be set by frameworks. If both `vendor` and `id` are present, these two fields together provide the means to uniquely identify this source in the cluster.
optional string id = 4;getId in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
The identifier of this source. This field maps onto CSI volume IDs and is not expected to be set by frameworks. If both `vendor` and `id` are present, these two fields together provide the means to uniquely identify this source in the cluster.
optional string id = 4;getIdBytes in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic Protos.Resource.DiskInfo.Source.Builder setId(java.lang.String value)
The identifier of this source. This field maps onto CSI volume IDs and is not expected to be set by frameworks. If both `vendor` and `id` are present, these two fields together provide the means to uniquely identify this source in the cluster.
optional string id = 4;public Protos.Resource.DiskInfo.Source.Builder clearId()
The identifier of this source. This field maps onto CSI volume IDs and is not expected to be set by frameworks. If both `vendor` and `id` are present, these two fields together provide the means to uniquely identify this source in the cluster.
optional string id = 4;public Protos.Resource.DiskInfo.Source.Builder setIdBytes(com.google.protobuf.ByteString value)
The identifier of this source. This field maps onto CSI volume IDs and is not expected to be set by frameworks. If both `vendor` and `id` are present, these two fields together provide the means to uniquely identify this source in the cluster.
optional string id = 4;public boolean hasMetadata()
Additional metadata for this source. This field maps onto CSI volume context. Frameworks should neither alter this field, nor expect this field to remain unchanged.
optional .mesos.Labels metadata = 5;hasMetadata in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic Protos.Labels getMetadata()
Additional metadata for this source. This field maps onto CSI volume context. Frameworks should neither alter this field, nor expect this field to remain unchanged.
optional .mesos.Labels metadata = 5;getMetadata in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic Protos.Resource.DiskInfo.Source.Builder setMetadata(Protos.Labels value)
Additional metadata for this source. This field maps onto CSI volume context. Frameworks should neither alter this field, nor expect this field to remain unchanged.
optional .mesos.Labels metadata = 5;public Protos.Resource.DiskInfo.Source.Builder setMetadata(Protos.Labels.Builder builderForValue)
Additional metadata for this source. This field maps onto CSI volume context. Frameworks should neither alter this field, nor expect this field to remain unchanged.
optional .mesos.Labels metadata = 5;public Protos.Resource.DiskInfo.Source.Builder mergeMetadata(Protos.Labels value)
Additional metadata for this source. This field maps onto CSI volume context. Frameworks should neither alter this field, nor expect this field to remain unchanged.
optional .mesos.Labels metadata = 5;public Protos.Resource.DiskInfo.Source.Builder clearMetadata()
Additional metadata for this source. This field maps onto CSI volume context. Frameworks should neither alter this field, nor expect this field to remain unchanged.
optional .mesos.Labels metadata = 5;public Protos.Labels.Builder getMetadataBuilder()
Additional metadata for this source. This field maps onto CSI volume context. Frameworks should neither alter this field, nor expect this field to remain unchanged.
optional .mesos.Labels metadata = 5;public Protos.LabelsOrBuilder getMetadataOrBuilder()
Additional metadata for this source. This field maps onto CSI volume context. Frameworks should neither alter this field, nor expect this field to remain unchanged.
optional .mesos.Labels metadata = 5;getMetadataOrBuilder in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic boolean hasProfile()
This field serves as an indirection to a set of storage vendor specific disk parameters which describe the properties of the disk. The operator will setup mappings between a profile name to a set of vendor specific disk parameters. And the framework will do disk selection based on profile names, instead of vendor specific disk parameters. Also see the DiskProfileAdaptor module.
optional string profile = 6;hasProfile in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic java.lang.String getProfile()
This field serves as an indirection to a set of storage vendor specific disk parameters which describe the properties of the disk. The operator will setup mappings between a profile name to a set of vendor specific disk parameters. And the framework will do disk selection based on profile names, instead of vendor specific disk parameters. Also see the DiskProfileAdaptor module.
optional string profile = 6;getProfile in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic com.google.protobuf.ByteString getProfileBytes()
This field serves as an indirection to a set of storage vendor specific disk parameters which describe the properties of the disk. The operator will setup mappings between a profile name to a set of vendor specific disk parameters. And the framework will do disk selection based on profile names, instead of vendor specific disk parameters. Also see the DiskProfileAdaptor module.
optional string profile = 6;getProfileBytes in interface Protos.Resource.DiskInfo.SourceOrBuilderpublic Protos.Resource.DiskInfo.Source.Builder setProfile(java.lang.String value)
This field serves as an indirection to a set of storage vendor specific disk parameters which describe the properties of the disk. The operator will setup mappings between a profile name to a set of vendor specific disk parameters. And the framework will do disk selection based on profile names, instead of vendor specific disk parameters. Also see the DiskProfileAdaptor module.
optional string profile = 6;public Protos.Resource.DiskInfo.Source.Builder clearProfile()
This field serves as an indirection to a set of storage vendor specific disk parameters which describe the properties of the disk. The operator will setup mappings between a profile name to a set of vendor specific disk parameters. And the framework will do disk selection based on profile names, instead of vendor specific disk parameters. Also see the DiskProfileAdaptor module.
optional string profile = 6;public Protos.Resource.DiskInfo.Source.Builder setProfileBytes(com.google.protobuf.ByteString value)
This field serves as an indirection to a set of storage vendor specific disk parameters which describe the properties of the disk. The operator will setup mappings between a profile name to a set of vendor specific disk parameters. And the framework will do disk selection based on profile names, instead of vendor specific disk parameters. Also see the DiskProfileAdaptor module.
optional string profile = 6;public final Protos.Resource.DiskInfo.Source.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Resource.DiskInfo.Source.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)