public static final class Protos.Volume.Source.CSIVolume.VolumeCapability.Builder extends <any> 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
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder clear()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
public Protos.Volume.Source.CSIVolume.VolumeCapability getDefaultInstanceForType()
public Protos.Volume.Source.CSIVolume.VolumeCapability build()
public Protos.Volume.Source.CSIVolume.VolumeCapability buildPartial()
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder clone()
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder mergeFrom(com.google.protobuf.Message other)
public final boolean isInitialized()
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Volume.Source.CSIVolume.VolumeCapability.AccessTypeCase getAccessTypeCase()
getAccessTypeCase
in interface Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder clearAccessType()
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.Builder setBlock(Protos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume value)
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume block = 1;
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder setBlock(Protos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume.Builder builderForValue)
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume block = 1;
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder mergeBlock(Protos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume value)
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume block = 1;
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder clearBlock()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume block = 1;
public Protos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume.Builder getBlockBuilder()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.BlockVolume block = 1;
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.Builder setMount(Protos.Volume.Source.CSIVolume.VolumeCapability.MountVolume value)
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.MountVolume mount = 2;
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder setMount(Protos.Volume.Source.CSIVolume.VolumeCapability.MountVolume.Builder builderForValue)
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.MountVolume mount = 2;
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder mergeMount(Protos.Volume.Source.CSIVolume.VolumeCapability.MountVolume value)
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.MountVolume mount = 2;
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder clearMount()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.MountVolume mount = 2;
public Protos.Volume.Source.CSIVolume.VolumeCapability.MountVolume.Builder getMountBuilder()
optional .mesos.Volume.Source.CSIVolume.VolumeCapability.MountVolume mount = 2;
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.Builder setAccessMode(Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode value)
required .mesos.Volume.Source.CSIVolume.VolumeCapability.AccessMode access_mode = 3;
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder setAccessMode(Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Builder builderForValue)
required .mesos.Volume.Source.CSIVolume.VolumeCapability.AccessMode access_mode = 3;
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder mergeAccessMode(Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode value)
required .mesos.Volume.Source.CSIVolume.VolumeCapability.AccessMode access_mode = 3;
public Protos.Volume.Source.CSIVolume.VolumeCapability.Builder clearAccessMode()
required .mesos.Volume.Source.CSIVolume.VolumeCapability.AccessMode access_mode = 3;
public Protos.Volume.Source.CSIVolume.VolumeCapability.AccessMode.Builder getAccessModeBuilder()
required .mesos.Volume.Source.CSIVolume.VolumeCapability.AccessMode access_mode = 3;
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 Protos.Volume.Source.CSIVolume.VolumeCapability.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
public final Protos.Volume.Source.CSIVolume.VolumeCapability.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)