public static final class Protos.Volume.Source.CSIVolume.StaticProvisioning extends com.google.protobuf.GeneratedMessageV3 implements Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
Specifies the parameters used to stage/publish a pre-provisioned volume on an agent host. The fields are merged from `NodeStageVolumeRequest` and `NodePublishVolumeRequest` protobuf messages defined in CSI spec except two fields `staging_target_path` and `target_path` which will be internally determined by Mesos when staging/publishing the volume.Protobuf type
mesos.Volume.Source.CSIVolume.StaticProvisioning
Modifier and Type | Class and Description |
---|---|
static class |
Protos.Volume.Source.CSIVolume.StaticProvisioning.Builder
Specifies the parameters used to stage/publish a pre-provisioned volume
on an agent host.
|
Modifier and Type | Field and Description |
---|---|
static int |
NODE_PUBLISH_SECRETS_FIELD_NUMBER |
static int |
NODE_STAGE_SECRETS_FIELD_NUMBER |
static <any> |
PARSER
Deprecated.
|
static int |
VOLUME_CAPABILITY_FIELD_NUMBER |
static int |
VOLUME_CONTEXT_FIELD_NUMBER |
static int |
VOLUME_ID_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
containsNodePublishSecrets(java.lang.String key)
map<string, .mesos.Secret> node_publish_secrets = 4; |
boolean |
containsNodeStageSecrets(java.lang.String key)
The secrets needed for staging/publishing the volume, e.g.:
{
"username": {"type": REFERENCE, "reference": {"name": "U_SECRET"}},
"password": {"type": REFERENCE, "reference": {"name": "P_SECRET"}}
}
|
boolean |
containsVolumeContext(java.lang.String key)
map<string, string> volume_context = 5; |
boolean |
equals(java.lang.Object obj) |
static Protos.Volume.Source.CSIVolume.StaticProvisioning |
getDefaultInstance() |
Protos.Volume.Source.CSIVolume.StaticProvisioning |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.util.Map<java.lang.String,Protos.Secret> |
getNodePublishSecrets()
Deprecated.
|
int |
getNodePublishSecretsCount()
map<string, .mesos.Secret> node_publish_secrets = 4; |
java.util.Map<java.lang.String,Protos.Secret> |
getNodePublishSecretsMap()
map<string, .mesos.Secret> node_publish_secrets = 4; |
Protos.Secret |
getNodePublishSecretsOrDefault(java.lang.String key,
Protos.Secret defaultValue)
map<string, .mesos.Secret> node_publish_secrets = 4; |
Protos.Secret |
getNodePublishSecretsOrThrow(java.lang.String key)
map<string, .mesos.Secret> node_publish_secrets = 4; |
java.util.Map<java.lang.String,Protos.Secret> |
getNodeStageSecrets()
Deprecated.
|
int |
getNodeStageSecretsCount()
The secrets needed for staging/publishing the volume, e.g.:
{
"username": {"type": REFERENCE, "reference": {"name": "U_SECRET"}},
"password": {"type": REFERENCE, "reference": {"name": "P_SECRET"}}
}
|
java.util.Map<java.lang.String,Protos.Secret> |
getNodeStageSecretsMap()
The secrets needed for staging/publishing the volume, e.g.:
{
"username": {"type": REFERENCE, "reference": {"name": "U_SECRET"}},
"password": {"type": REFERENCE, "reference": {"name": "P_SECRET"}}
}
|
Protos.Secret |
getNodeStageSecretsOrDefault(java.lang.String key,
Protos.Secret defaultValue)
The secrets needed for staging/publishing the volume, e.g.:
{
"username": {"type": REFERENCE, "reference": {"name": "U_SECRET"}},
"password": {"type": REFERENCE, "reference": {"name": "P_SECRET"}}
}
|
Protos.Secret |
getNodeStageSecretsOrThrow(java.lang.String key)
The secrets needed for staging/publishing the volume, e.g.:
{
"username": {"type": REFERENCE, "reference": {"name": "U_SECRET"}},
"password": {"type": REFERENCE, "reference": {"name": "P_SECRET"}}
}
|
<any> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
Protos.Volume.Source.CSIVolume.VolumeCapability |
getVolumeCapability()
required .mesos.Volume.Source.CSIVolume.VolumeCapability volume_capability = 2; |
Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder |
getVolumeCapabilityOrBuilder()
required .mesos.Volume.Source.CSIVolume.VolumeCapability volume_capability = 2; |
java.util.Map<java.lang.String,java.lang.String> |
getVolumeContext()
Deprecated.
|
int |
getVolumeContextCount()
map<string, string> volume_context = 5; |
java.util.Map<java.lang.String,java.lang.String> |
getVolumeContextMap()
map<string, string> volume_context = 5; |
java.lang.String |
getVolumeContextOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> volume_context = 5; |
java.lang.String |
getVolumeContextOrThrow(java.lang.String key)
map<string, string> volume_context = 5; |
java.lang.String |
getVolumeId()
required string volume_id = 1; |
com.google.protobuf.ByteString |
getVolumeIdBytes()
required string volume_id = 1; |
int |
hashCode() |
boolean |
hasVolumeCapability()
required .mesos.Volume.Source.CSIVolume.VolumeCapability volume_capability = 2; |
boolean |
hasVolumeId()
required string volume_id = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Protos.Volume.Source.CSIVolume.StaticProvisioning.Builder |
newBuilder() |
static Protos.Volume.Source.CSIVolume.StaticProvisioning.Builder |
newBuilder(Protos.Volume.Source.CSIVolume.StaticProvisioning prototype) |
Protos.Volume.Source.CSIVolume.StaticProvisioning.Builder |
newBuilderForType() |
protected Protos.Volume.Source.CSIVolume.StaticProvisioning.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Protos.Volume.Source.CSIVolume.StaticProvisioning |
parseDelimitedFrom(java.io.InputStream input) |
static Protos.Volume.Source.CSIVolume.StaticProvisioning |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.CSIVolume.StaticProvisioning |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.CSIVolume.StaticProvisioning |
parseFrom(java.nio.ByteBuffer data) |
static Protos.Volume.Source.CSIVolume.StaticProvisioning |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.CSIVolume.StaticProvisioning |
parseFrom(com.google.protobuf.ByteString data) |
static Protos.Volume.Source.CSIVolume.StaticProvisioning |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.CSIVolume.StaticProvisioning |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Protos.Volume.Source.CSIVolume.StaticProvisioning |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Protos.Volume.Source.CSIVolume.StaticProvisioning |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static <any> |
parser() |
Protos.Volume.Source.CSIVolume.StaticProvisioning.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
public static final int VOLUME_ID_FIELD_NUMBER
public static final int VOLUME_CAPABILITY_FIELD_NUMBER
public static final int NODE_STAGE_SECRETS_FIELD_NUMBER
public static final int NODE_PUBLISH_SECRETS_FIELD_NUMBER
public static final int VOLUME_CONTEXT_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.MapField internalGetMapField(int number)
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
public boolean hasVolumeId()
required string volume_id = 1;
hasVolumeId
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public java.lang.String getVolumeId()
required string volume_id = 1;
getVolumeId
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public com.google.protobuf.ByteString getVolumeIdBytes()
required string volume_id = 1;
getVolumeIdBytes
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public boolean hasVolumeCapability()
required .mesos.Volume.Source.CSIVolume.VolumeCapability volume_capability = 2;
hasVolumeCapability
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public Protos.Volume.Source.CSIVolume.VolumeCapability getVolumeCapability()
required .mesos.Volume.Source.CSIVolume.VolumeCapability volume_capability = 2;
getVolumeCapability
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public Protos.Volume.Source.CSIVolume.VolumeCapabilityOrBuilder getVolumeCapabilityOrBuilder()
required .mesos.Volume.Source.CSIVolume.VolumeCapability volume_capability = 2;
getVolumeCapabilityOrBuilder
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public int getNodeStageSecretsCount()
Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
The secrets needed for staging/publishing the volume, e.g.: { "username": {"type": REFERENCE, "reference": {"name": "U_SECRET"}}, "password": {"type": REFERENCE, "reference": {"name": "P_SECRET"}} }
map<string, .mesos.Secret> node_stage_secrets = 3;
getNodeStageSecretsCount
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public boolean containsNodeStageSecrets(java.lang.String key)
The secrets needed for staging/publishing the volume, e.g.: { "username": {"type": REFERENCE, "reference": {"name": "U_SECRET"}}, "password": {"type": REFERENCE, "reference": {"name": "P_SECRET"}} }
map<string, .mesos.Secret> node_stage_secrets = 3;
containsNodeStageSecrets
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
@Deprecated public java.util.Map<java.lang.String,Protos.Secret> getNodeStageSecrets()
getNodeStageSecretsMap()
instead.getNodeStageSecrets
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public java.util.Map<java.lang.String,Protos.Secret> getNodeStageSecretsMap()
The secrets needed for staging/publishing the volume, e.g.: { "username": {"type": REFERENCE, "reference": {"name": "U_SECRET"}}, "password": {"type": REFERENCE, "reference": {"name": "P_SECRET"}} }
map<string, .mesos.Secret> node_stage_secrets = 3;
getNodeStageSecretsMap
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public Protos.Secret getNodeStageSecretsOrDefault(java.lang.String key, Protos.Secret defaultValue)
The secrets needed for staging/publishing the volume, e.g.: { "username": {"type": REFERENCE, "reference": {"name": "U_SECRET"}}, "password": {"type": REFERENCE, "reference": {"name": "P_SECRET"}} }
map<string, .mesos.Secret> node_stage_secrets = 3;
getNodeStageSecretsOrDefault
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public Protos.Secret getNodeStageSecretsOrThrow(java.lang.String key)
The secrets needed for staging/publishing the volume, e.g.: { "username": {"type": REFERENCE, "reference": {"name": "U_SECRET"}}, "password": {"type": REFERENCE, "reference": {"name": "P_SECRET"}} }
map<string, .mesos.Secret> node_stage_secrets = 3;
getNodeStageSecretsOrThrow
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public int getNodePublishSecretsCount()
Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
map<string, .mesos.Secret> node_publish_secrets = 4;
getNodePublishSecretsCount
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public boolean containsNodePublishSecrets(java.lang.String key)
map<string, .mesos.Secret> node_publish_secrets = 4;
containsNodePublishSecrets
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
@Deprecated public java.util.Map<java.lang.String,Protos.Secret> getNodePublishSecrets()
getNodePublishSecretsMap()
instead.getNodePublishSecrets
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public java.util.Map<java.lang.String,Protos.Secret> getNodePublishSecretsMap()
map<string, .mesos.Secret> node_publish_secrets = 4;
getNodePublishSecretsMap
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public Protos.Secret getNodePublishSecretsOrDefault(java.lang.String key, Protos.Secret defaultValue)
map<string, .mesos.Secret> node_publish_secrets = 4;
getNodePublishSecretsOrDefault
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public Protos.Secret getNodePublishSecretsOrThrow(java.lang.String key)
map<string, .mesos.Secret> node_publish_secrets = 4;
getNodePublishSecretsOrThrow
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public int getVolumeContextCount()
Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
map<string, string> volume_context = 5;
getVolumeContextCount
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public boolean containsVolumeContext(java.lang.String key)
map<string, string> volume_context = 5;
containsVolumeContext
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
@Deprecated public java.util.Map<java.lang.String,java.lang.String> getVolumeContext()
getVolumeContextMap()
instead.getVolumeContext
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public java.util.Map<java.lang.String,java.lang.String> getVolumeContextMap()
map<string, string> volume_context = 5;
getVolumeContextMap
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public java.lang.String getVolumeContextOrDefault(java.lang.String key, java.lang.String defaultValue)
map<string, string> volume_context = 5;
getVolumeContextOrDefault
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
public java.lang.String getVolumeContextOrThrow(java.lang.String key)
map<string, string> volume_context = 5;
getVolumeContextOrThrow
in interface Protos.Volume.Source.CSIVolume.StaticProvisioningOrBuilder
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.StaticProvisioning parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source.CSIVolume.StaticProvisioning 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.StaticProvisioning parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source.CSIVolume.StaticProvisioning 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.StaticProvisioning parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static Protos.Volume.Source.CSIVolume.StaticProvisioning parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source.CSIVolume.StaticProvisioning parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source.CSIVolume.StaticProvisioning parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source.CSIVolume.StaticProvisioning parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOException
public static Protos.Volume.Source.CSIVolume.StaticProvisioning parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOException
public Protos.Volume.Source.CSIVolume.StaticProvisioning.Builder newBuilderForType()
public static Protos.Volume.Source.CSIVolume.StaticProvisioning.Builder newBuilder()
public static Protos.Volume.Source.CSIVolume.StaticProvisioning.Builder newBuilder(Protos.Volume.Source.CSIVolume.StaticProvisioning prototype)
public Protos.Volume.Source.CSIVolume.StaticProvisioning.Builder toBuilder()
protected Protos.Volume.Source.CSIVolume.StaticProvisioning.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
public static Protos.Volume.Source.CSIVolume.StaticProvisioning getDefaultInstance()
public static <any> parser()
public <any> getParserForType()
public Protos.Volume.Source.CSIVolume.StaticProvisioning getDefaultInstanceForType()