public static final class Protos.Resource.DiskInfo.Source extends com.google.protobuf.GeneratedMessageV3 implements Protos.Resource.DiskInfo.SourceOrBuilder
Describes where a disk originates from.Protobuf type
mesos.Resource.DiskInfo.Source| Modifier and Type | Class and Description |
|---|---|
static class |
Protos.Resource.DiskInfo.Source.Builder
Describes where a disk originates from.
|
static class |
Protos.Resource.DiskInfo.Source.Mount
A mounted file-system set up by the Agent administrator.
|
static interface |
Protos.Resource.DiskInfo.Source.MountOrBuilder |
static class |
Protos.Resource.DiskInfo.Source.Path
A folder that can be located on a separate disk device.
|
static interface |
Protos.Resource.DiskInfo.Source.PathOrBuilder |
static class |
Protos.Resource.DiskInfo.Source.Type
Protobuf enum
mesos.Resource.DiskInfo.Source.Type |
| Modifier and Type | Field and Description |
|---|---|
static int |
ID_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
MOUNT_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
PATH_FIELD_NUMBER |
static int |
PROFILE_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
static int |
VENDOR_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static Protos.Resource.DiskInfo.Source |
getDefaultInstance() |
Protos.Resource.DiskInfo.Source |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
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.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.MountOrBuilder |
getMountOrBuilder()
optional .mesos.Resource.DiskInfo.Source.Mount mount = 3; |
<any> |
getParserForType() |
Protos.Resource.DiskInfo.Source.Path |
getPath()
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.
|
int |
getSerializedSize() |
Protos.Resource.DiskInfo.Source.Type |
getType()
required .mesos.Resource.DiskInfo.Source.Type type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.lang.String |
getVendor()
The vendor of this source.
|
com.google.protobuf.ByteString |
getVendorBytes()
The vendor of this source.
|
int |
hashCode() |
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() |
static Protos.Resource.DiskInfo.Source.Builder |
newBuilder() |
static Protos.Resource.DiskInfo.Source.Builder |
newBuilder(Protos.Resource.DiskInfo.Source prototype) |
Protos.Resource.DiskInfo.Source.Builder |
newBuilderForType() |
protected Protos.Resource.DiskInfo.Source.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Resource.DiskInfo.Source |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Resource.DiskInfo.Source |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo.Source |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo.Source |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Resource.DiskInfo.Source |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo.Source |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Resource.DiskInfo.Source |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo.Source |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Resource.DiskInfo.Source |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Resource.DiskInfo.Source |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Resource.DiskInfo.Source.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int TYPE_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
public static final int MOUNT_FIELD_NUMBER
public static final int VENDOR_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int PROFILE_FIELD_NUMBER
@Deprecated public static final <any> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public 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 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.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.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 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 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.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 final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
java.io.IOExceptionpublic int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.Resource.DiskInfo.Source parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Resource.DiskInfo.Source parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Resource.DiskInfo.Source parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Resource.DiskInfo.Source parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Resource.DiskInfo.Source parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Protos.Resource.DiskInfo.Source parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Resource.DiskInfo.Source parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Resource.DiskInfo.Source parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Resource.DiskInfo.Source parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Protos.Resource.DiskInfo.Source parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Protos.Resource.DiskInfo.Source.Builder newBuilderForType()
public static Protos.Resource.DiskInfo.Source.Builder newBuilder()
public static Protos.Resource.DiskInfo.Source.Builder newBuilder(Protos.Resource.DiskInfo.Source prototype)
public Protos.Resource.DiskInfo.Source.Builder toBuilder()
protected Protos.Resource.DiskInfo.Source.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Resource.DiskInfo.Source getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Resource.DiskInfo.Source getDefaultInstanceForType()