public static final class Protos.Volume.Source.CSIVolume.VolumeCapability extends com.google.protobuf.GeneratedMessageV3 implements Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder
Specifies a capability of a volume. https://github.com/container-storage-interface/spec/blob/v1.3.0/csi.proto#L379:L438Protobuf type
mesos.Volume.Source.CSIVolume.VolumeCapability
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode
Specifies how a volume can be accessed.
|
static interface |
Protos.Volume.Source.CSIVolume.VolumeCapability.AccessModeOrBuilder |
static class |
Protos.Volume.Source.CSIVolume.VolumeCapability.AccessTypeCase |
static class |
Protos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume
Indicates that the volume will be accessed via the block device API.
|
static interface |
Protos.Volume.Source.CSIVolume.VolumeCapability.BlockVolumeOrBuilder |
static class |
Protos.Volume.Source.CSIVolume.VolumeCapability.Builder
Specifies a capability of a volume.
|
static class |
Protos.Volume.Source.CSIVolume.VolumeCapability.MountVolume
Indicates that the volume will be accessed via the filesystem API.
|
static interface |
Protos.Volume.Source.CSIVolume.VolumeCapability.MountVolumeOrBuilder |
Modifier and Type | Field and Description |
---|---|
static int |
ACCESS_MODE_FIELD_NUMBER |
static int |
BLOCK_FIELD_NUMBER |
static int |
MOUNT_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode |
getAccessMode()
required .mesos.Volume.Source.CSIVolume.VolumeCapability.AccessMode access_mode = 3; |
Protos.Volume.Source.CSIVolume.VolumeCapability.AccessModeOrBuilder |
getAccessModeOrBuilder()
required .mesos.Volume.Source.CSIVolume.VolumeCapability.AccessMode access_mode = 3; |
Protos.Volume.Source.CSIVolume.VolumeCapability.AccessTypeCase |
getAccessTypeCase() |
Protos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume |
getBlock()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume block = 1; |
Protos.Volume.Source.CSIVolume.VolumeCapability.BlockVolumeOrBuilder |
getBlockOrBuilder()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume block = 1; |
static Protos.Volume.Source.CSIVolume.VolumeCapability |
getDefaultInstance() |
Protos.Volume.Source.CSIVolume.VolumeCapability |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Protos.Volume.Source.CSIVolume.VolumeCapability.MountVolume |
getMount()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.MountVolume mount = 2; |
Protos.Volume.Source.CSIVolume.VolumeCapability.MountVolumeOrBuilder |
getMountOrBuilder()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.MountVolume mount = 2; |
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAccessMode()
required .mesos.Volume.Source.CSIVolume.VolumeCapability.AccessMode access_mode = 3; |
boolean |
hasBlock()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume block = 1; |
int |
hashCode() |
boolean |
hasMount()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.MountVolume mount = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Protos.Volume.Source.CSIVolume.VolumeCapability.Builder |
newBuilder() |
static Protos.Volume.Source.CSIVolume.VolumeCapability.Builder |
newBuilder(Protos.Volume.Source.CSIVolume.VolumeCapability prototype) |
Protos.Volume.Source.CSIVolume.VolumeCapability.Builder |
newBuilderForType() |
protected Protos.Volume.Source.CSIVolume.VolumeCapability.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Volume.Source.CSIVolume.VolumeCapability |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Volume.Source.CSIVolume.VolumeCapability |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.CSIVolume.VolumeCapability |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.CSIVolume.VolumeCapability |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Volume.Source.CSIVolume.VolumeCapability |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.CSIVolume.VolumeCapability |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Volume.Source.CSIVolume.VolumeCapability |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.CSIVolume.VolumeCapability |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Volume.Source.CSIVolume.VolumeCapability |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.CSIVolume.VolumeCapability |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Volume.Source.CSIVolume.VolumeCapability.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int BLOCK_FIELD_NUMBER
public static final int MOUNT_FIELD_NUMBER
public static final int ACCESS_MODE_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 Protos.Volume.Source.CSIVolume.VolumeCapability.AccessTypeCase getAccessTypeCase()
getAccessTypeCase
in interface Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder
public boolean hasBlock()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume block = 1;
hasBlock
in interface Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder
public Protos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume getBlock()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume block = 1;
getBlock
in interface Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder
public Protos.Volume.Source.CSIVolume.VolumeCapability.BlockVolumeOrBuilder getBlockOrBuilder()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume block = 1;
getBlockOrBuilder
in interface Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder
public boolean hasMount()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.MountVolume mount = 2;
hasMount
in interface Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder
public Protos.Volume.Source.CSIVolume.VolumeCapability.MountVolume getMount()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.MountVolume mount = 2;
getMount
in interface Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder
public Protos.Volume.Source.CSIVolume.VolumeCapability.MountVolumeOrBuilder getMountOrBuilder()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.MountVolume mount = 2;
getMountOrBuilder
in interface Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder
public boolean hasAccessMode()
required .mesos.Volume.Source.CSIVolume.VolumeCapability.AccessMode access_mode = 3;
hasAccessMode
in interface Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder
public Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode getAccessMode()
required .mesos.Volume.Source.CSIVolume.VolumeCapability.AccessMode access_mode = 3;
getAccessMode
in interface Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder
public Protos.Volume.Source.CSIVolume.VolumeCapability.AccessModeOrBuilder getAccessModeOrBuilder()
required .mesos.Volume.Source.CSIVolume.VolumeCapability.AccessMode access_mode = 3;
getAccessModeOrBuilder
in interface Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder
public final boolean isInitialized()
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
java.io.IOException
public int getSerializedSize()
public boolean equals(java.lang.Object obj)
public int hashCode()
public static Protos.Volume.Source.CSIVolume.VolumeCapability parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source.CSIVolume.VolumeCapability parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source.CSIVolume.VolumeCapability parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source.CSIVolume.VolumeCapability parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source.CSIVolume.VolumeCapability parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source.CSIVolume.VolumeCapability parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source.CSIVolume.VolumeCapability parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source.CSIVolume.VolumeCapability parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source.CSIVolume.VolumeCapability parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source.CSIVolume.VolumeCapability parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder newBuilderForType()
public static Protos.Volume.Source.CSIVolume.VolumeCapability.Builder newBuilder()
public static Protos.Volume.Source.CSIVolume.VolumeCapability.Builder newBuilder(Protos.Volume.Source.CSIVolume.VolumeCapability prototype)
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder toBuilder()
protected Protos.Volume.Source.CSIVolume.VolumeCapability.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Volume.Source.CSIVolume.VolumeCapability getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Volume.Source.CSIVolume.VolumeCapability getDefaultInstanceForType()