Package k8s.io.api.core.v1
Interface Generated.FlexPersistentVolumeSourceOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.FlexPersistentVolumeSource,Generated.FlexPersistentVolumeSource.Builder
- Enclosing class:
- Generated
public static interface Generated.FlexPersistentVolumeSourceOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsOptions(String key)options is Optional: this field holds extra command options if any.StringgetDriver()driver is the name of the driver to use for this volume.com.google.protobuf.ByteStringgetDriverBytes()driver is the name of the driver to use for this volume.StringgetFsType()fsType is the Filesystem type to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType is the Filesystem type to mount.Map<String,String>getOptions()Deprecated.intgetOptionsCount()options is Optional: this field holds extra command options if any.Map<String,String>getOptionsMap()options is Optional: this field holds extra command options if any.StringgetOptionsOrDefault(String key, String defaultValue)options is Optional: this field holds extra command options if any.StringgetOptionsOrThrow(String key)options is Optional: this field holds extra command options if any.booleangetReadOnly()readOnly is Optional: defaults to false (read/write).Generated.SecretReferencegetSecretRef()secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.Generated.SecretReferenceOrBuildergetSecretRefOrBuilder()secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.booleanhasDriver()driver is the name of the driver to use for this volume.booleanhasFsType()fsType is the Filesystem type to mount.booleanhasReadOnly()readOnly is Optional: defaults to false (read/write).booleanhasSecretRef()secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDriver
boolean hasDriver()
driver is the name of the driver to use for this volume.
optional string driver = 1;- Returns:
- Whether the driver field is set.
-
getDriver
String getDriver()
driver is the name of the driver to use for this volume.
optional string driver = 1;- Returns:
- The driver.
-
getDriverBytes
com.google.protobuf.ByteString getDriverBytes()
driver is the name of the driver to use for this volume.
optional string driver = 1;- Returns:
- The bytes for driver.
-
hasFsType
boolean hasFsType()
fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. +optional
optional string fsType = 2;- Returns:
- Whether the fsType field is set.
-
getFsType
String getFsType()
fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. +optional
optional string fsType = 2;- Returns:
- The fsType.
-
getFsTypeBytes
com.google.protobuf.ByteString getFsTypeBytes()
fsType is the Filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". The default filesystem depends on FlexVolume script. +optional
optional string fsType = 2;- Returns:
- The bytes for fsType.
-
hasSecretRef
boolean hasSecretRef()
secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 3;- Returns:
- Whether the secretRef field is set.
-
getSecretRef
Generated.SecretReference getSecretRef()
secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 3;- Returns:
- The secretRef.
-
getSecretRefOrBuilder
Generated.SecretReferenceOrBuilder getSecretRefOrBuilder()
secretRef is Optional: SecretRef is reference to the secret object containing sensitive information to pass to the plugin scripts. This may be empty if no secret object is specified. If the secret object contains more than one secret, all secrets are passed to the plugin scripts. +optional
optional .k8s.io.api.core.v1.SecretReference secretRef = 3;
-
hasReadOnly
boolean hasReadOnly()
readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;- Returns:
- Whether the readOnly field is set.
-
getReadOnly
boolean getReadOnly()
readOnly is Optional: defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 4;- Returns:
- The readOnly.
-
getOptionsCount
int getOptionsCount()
options is Optional: this field holds extra command options if any. +optional
map<string, string> options = 5;
-
containsOptions
boolean containsOptions(String key)
options is Optional: this field holds extra command options if any. +optional
map<string, string> options = 5;
-
getOptions
@Deprecated Map<String,String> getOptions()
Deprecated.UsegetOptionsMap()instead.
-
getOptionsMap
Map<String,String> getOptionsMap()
options is Optional: this field holds extra command options if any. +optional
map<string, string> options = 5;
-
getOptionsOrDefault
String getOptionsOrDefault(String key, String defaultValue)
options is Optional: this field holds extra command options if any. +optional
map<string, string> options = 5;
-
-