Package k8s.io.api.core.v1
Class Generated.ScaleIOVolumeSource.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder>
-
- k8s.io.api.core.v1.Generated.ScaleIOVolumeSource.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.ScaleIOVolumeSourceOrBuilder
- Enclosing class:
- Generated.ScaleIOVolumeSource
public static final class Generated.ScaleIOVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder> implements Generated.ScaleIOVolumeSourceOrBuilder
ScaleIOVolumeSource represents a persistent ScaleIO volume
Protobuf typek8s.io.api.core.v1.ScaleIOVolumeSource
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.ScaleIOVolumeSource.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ScaleIOVolumeSourcebuild()Generated.ScaleIOVolumeSourcebuildPartial()Generated.ScaleIOVolumeSource.Builderclear()Generated.ScaleIOVolumeSource.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.ScaleIOVolumeSource.BuilderclearFsType()fsType is the filesystem type to mount.Generated.ScaleIOVolumeSource.BuilderclearGateway()gateway is the host address of the ScaleIO API Gateway.Generated.ScaleIOVolumeSource.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.ScaleIOVolumeSource.BuilderclearProtectionDomain()protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.Generated.ScaleIOVolumeSource.BuilderclearReadOnly()readOnly Defaults to false (read/write).Generated.ScaleIOVolumeSource.BuilderclearSecretRef()secretRef references to the secret for ScaleIO user and other sensitive information.Generated.ScaleIOVolumeSource.BuilderclearSslEnabled()sslEnabled Flag enable/disable SSL communication with Gateway, default false +optionalGenerated.ScaleIOVolumeSource.BuilderclearStorageMode()storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.Generated.ScaleIOVolumeSource.BuilderclearStoragePool()storagePool is the ScaleIO Storage Pool associated with the protection domain.Generated.ScaleIOVolumeSource.BuilderclearSystem()system is the name of the storage system as configured in ScaleIO.Generated.ScaleIOVolumeSource.BuilderclearVolumeName()volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.Generated.ScaleIOVolumeSource.Builderclone()Generated.ScaleIOVolumeSourcegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFsType()fsType is the filesystem type to mount.com.google.protobuf.ByteStringgetFsTypeBytes()fsType is the filesystem type to mount.StringgetGateway()gateway is the host address of the ScaleIO API Gateway.com.google.protobuf.ByteStringgetGatewayBytes()gateway is the host address of the ScaleIO API Gateway.StringgetProtectionDomain()protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.com.google.protobuf.ByteStringgetProtectionDomainBytes()protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.booleangetReadOnly()readOnly Defaults to false (read/write).Generated.LocalObjectReferencegetSecretRef()secretRef references to the secret for ScaleIO user and other sensitive information.Generated.LocalObjectReference.BuildergetSecretRefBuilder()secretRef references to the secret for ScaleIO user and other sensitive information.Generated.LocalObjectReferenceOrBuildergetSecretRefOrBuilder()secretRef references to the secret for ScaleIO user and other sensitive information.booleangetSslEnabled()sslEnabled Flag enable/disable SSL communication with Gateway, default false +optionalStringgetStorageMode()storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.com.google.protobuf.ByteStringgetStorageModeBytes()storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.StringgetStoragePool()storagePool is the ScaleIO Storage Pool associated with the protection domain.com.google.protobuf.ByteStringgetStoragePoolBytes()storagePool is the ScaleIO Storage Pool associated with the protection domain.StringgetSystem()system is the name of the storage system as configured in ScaleIO.com.google.protobuf.ByteStringgetSystemBytes()system is the name of the storage system as configured in ScaleIO.StringgetVolumeName()volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.com.google.protobuf.ByteStringgetVolumeNameBytes()volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.booleanhasFsType()fsType is the filesystem type to mount.booleanhasGateway()gateway is the host address of the ScaleIO API Gateway.booleanhasProtectionDomain()protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.booleanhasReadOnly()readOnly Defaults to false (read/write).booleanhasSecretRef()secretRef references to the secret for ScaleIO user and other sensitive information.booleanhasSslEnabled()sslEnabled Flag enable/disable SSL communication with Gateway, default false +optionalbooleanhasStorageMode()storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.booleanhasStoragePool()storagePool is the ScaleIO Storage Pool associated with the protection domain.booleanhasSystem()system is the name of the storage system as configured in ScaleIO.booleanhasVolumeName()volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.ScaleIOVolumeSource.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.ScaleIOVolumeSource.BuildermergeFrom(com.google.protobuf.Message other)Generated.ScaleIOVolumeSource.BuildermergeFrom(Generated.ScaleIOVolumeSource other)Generated.ScaleIOVolumeSource.BuildermergeSecretRef(Generated.LocalObjectReference value)secretRef references to the secret for ScaleIO user and other sensitive information.Generated.ScaleIOVolumeSource.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.ScaleIOVolumeSource.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.ScaleIOVolumeSource.BuildersetFsType(String value)fsType is the filesystem type to mount.Generated.ScaleIOVolumeSource.BuildersetFsTypeBytes(com.google.protobuf.ByteString value)fsType is the filesystem type to mount.Generated.ScaleIOVolumeSource.BuildersetGateway(String value)gateway is the host address of the ScaleIO API Gateway.Generated.ScaleIOVolumeSource.BuildersetGatewayBytes(com.google.protobuf.ByteString value)gateway is the host address of the ScaleIO API Gateway.Generated.ScaleIOVolumeSource.BuildersetProtectionDomain(String value)protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.Generated.ScaleIOVolumeSource.BuildersetProtectionDomainBytes(com.google.protobuf.ByteString value)protectionDomain is the name of the ScaleIO Protection Domain for the configured storage.Generated.ScaleIOVolumeSource.BuildersetReadOnly(boolean value)readOnly Defaults to false (read/write).Generated.ScaleIOVolumeSource.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.ScaleIOVolumeSource.BuildersetSecretRef(Generated.LocalObjectReference value)secretRef references to the secret for ScaleIO user and other sensitive information.Generated.ScaleIOVolumeSource.BuildersetSecretRef(Generated.LocalObjectReference.Builder builderForValue)secretRef references to the secret for ScaleIO user and other sensitive information.Generated.ScaleIOVolumeSource.BuildersetSslEnabled(boolean value)sslEnabled Flag enable/disable SSL communication with Gateway, default false +optionalGenerated.ScaleIOVolumeSource.BuildersetStorageMode(String value)storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.Generated.ScaleIOVolumeSource.BuildersetStorageModeBytes(com.google.protobuf.ByteString value)storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.Generated.ScaleIOVolumeSource.BuildersetStoragePool(String value)storagePool is the ScaleIO Storage Pool associated with the protection domain.Generated.ScaleIOVolumeSource.BuildersetStoragePoolBytes(com.google.protobuf.ByteString value)storagePool is the ScaleIO Storage Pool associated with the protection domain.Generated.ScaleIOVolumeSource.BuildersetSystem(String value)system is the name of the storage system as configured in ScaleIO.Generated.ScaleIOVolumeSource.BuildersetSystemBytes(com.google.protobuf.ByteString value)system is the name of the storage system as configured in ScaleIO.Generated.ScaleIOVolumeSource.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.ScaleIOVolumeSource.BuildersetVolumeName(String value)volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.Generated.ScaleIOVolumeSource.BuildersetVolumeNameBytes(com.google.protobuf.ByteString value)volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder>
-
clear
public Generated.ScaleIOVolumeSource.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder>
-
getDefaultInstanceForType
public Generated.ScaleIOVolumeSource getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.ScaleIOVolumeSource build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.ScaleIOVolumeSource buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.ScaleIOVolumeSource.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder>
-
setField
public Generated.ScaleIOVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder>
-
clearField
public Generated.ScaleIOVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder>
-
clearOneof
public Generated.ScaleIOVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder>
-
setRepeatedField
public Generated.ScaleIOVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder>
-
addRepeatedField
public Generated.ScaleIOVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder>
-
mergeFrom
public Generated.ScaleIOVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.ScaleIOVolumeSource.Builder>
-
mergeFrom
public Generated.ScaleIOVolumeSource.Builder mergeFrom(Generated.ScaleIOVolumeSource other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder>
-
mergeFrom
public Generated.ScaleIOVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.ScaleIOVolumeSource.Builder>- Throws:
IOException
-
hasGateway
public boolean hasGateway()
gateway is the host address of the ScaleIO API Gateway.
optional string gateway = 1;- Specified by:
hasGatewayin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- Whether the gateway field is set.
-
getGateway
public String getGateway()
gateway is the host address of the ScaleIO API Gateway.
optional string gateway = 1;- Specified by:
getGatewayin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The gateway.
-
getGatewayBytes
public com.google.protobuf.ByteString getGatewayBytes()
gateway is the host address of the ScaleIO API Gateway.
optional string gateway = 1;- Specified by:
getGatewayBytesin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The bytes for gateway.
-
setGateway
public Generated.ScaleIOVolumeSource.Builder setGateway(String value)
gateway is the host address of the ScaleIO API Gateway.
optional string gateway = 1;- Parameters:
value- The gateway to set.- Returns:
- This builder for chaining.
-
clearGateway
public Generated.ScaleIOVolumeSource.Builder clearGateway()
gateway is the host address of the ScaleIO API Gateway.
optional string gateway = 1;- Returns:
- This builder for chaining.
-
setGatewayBytes
public Generated.ScaleIOVolumeSource.Builder setGatewayBytes(com.google.protobuf.ByteString value)
gateway is the host address of the ScaleIO API Gateway.
optional string gateway = 1;- Parameters:
value- The bytes for gateway to set.- Returns:
- This builder for chaining.
-
hasSystem
public boolean hasSystem()
system is the name of the storage system as configured in ScaleIO.
optional string system = 2;- Specified by:
hasSystemin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- Whether the system field is set.
-
getSystem
public String getSystem()
system is the name of the storage system as configured in ScaleIO.
optional string system = 2;- Specified by:
getSystemin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The system.
-
getSystemBytes
public com.google.protobuf.ByteString getSystemBytes()
system is the name of the storage system as configured in ScaleIO.
optional string system = 2;- Specified by:
getSystemBytesin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The bytes for system.
-
setSystem
public Generated.ScaleIOVolumeSource.Builder setSystem(String value)
system is the name of the storage system as configured in ScaleIO.
optional string system = 2;- Parameters:
value- The system to set.- Returns:
- This builder for chaining.
-
clearSystem
public Generated.ScaleIOVolumeSource.Builder clearSystem()
system is the name of the storage system as configured in ScaleIO.
optional string system = 2;- Returns:
- This builder for chaining.
-
setSystemBytes
public Generated.ScaleIOVolumeSource.Builder setSystemBytes(com.google.protobuf.ByteString value)
system is the name of the storage system as configured in ScaleIO.
optional string system = 2;- Parameters:
value- The bytes for system to set.- Returns:
- This builder for chaining.
-
hasSecretRef
public boolean hasSecretRef()
secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 3;- Specified by:
hasSecretRefin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- Whether the secretRef field is set.
-
getSecretRef
public Generated.LocalObjectReference getSecretRef()
secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 3;- Specified by:
getSecretRefin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The secretRef.
-
setSecretRef
public Generated.ScaleIOVolumeSource.Builder setSecretRef(Generated.LocalObjectReference value)
secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 3;
-
setSecretRef
public Generated.ScaleIOVolumeSource.Builder setSecretRef(Generated.LocalObjectReference.Builder builderForValue)
secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 3;
-
mergeSecretRef
public Generated.ScaleIOVolumeSource.Builder mergeSecretRef(Generated.LocalObjectReference value)
secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 3;
-
clearSecretRef
public Generated.ScaleIOVolumeSource.Builder clearSecretRef()
secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 3;
-
getSecretRefBuilder
public Generated.LocalObjectReference.Builder getSecretRefBuilder()
secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 3;
-
getSecretRefOrBuilder
public Generated.LocalObjectReferenceOrBuilder getSecretRefOrBuilder()
secretRef references to the secret for ScaleIO user and other sensitive information. If this is not provided, Login operation will fail.
optional .k8s.io.api.core.v1.LocalObjectReference secretRef = 3;- Specified by:
getSecretRefOrBuilderin interfaceGenerated.ScaleIOVolumeSourceOrBuilder
-
hasSslEnabled
public boolean hasSslEnabled()
sslEnabled Flag enable/disable SSL communication with Gateway, default false +optional
optional bool sslEnabled = 4;- Specified by:
hasSslEnabledin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- Whether the sslEnabled field is set.
-
getSslEnabled
public boolean getSslEnabled()
sslEnabled Flag enable/disable SSL communication with Gateway, default false +optional
optional bool sslEnabled = 4;- Specified by:
getSslEnabledin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The sslEnabled.
-
setSslEnabled
public Generated.ScaleIOVolumeSource.Builder setSslEnabled(boolean value)
sslEnabled Flag enable/disable SSL communication with Gateway, default false +optional
optional bool sslEnabled = 4;- Parameters:
value- The sslEnabled to set.- Returns:
- This builder for chaining.
-
clearSslEnabled
public Generated.ScaleIOVolumeSource.Builder clearSslEnabled()
sslEnabled Flag enable/disable SSL communication with Gateway, default false +optional
optional bool sslEnabled = 4;- Returns:
- This builder for chaining.
-
hasProtectionDomain
public boolean hasProtectionDomain()
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. +optional
optional string protectionDomain = 5;- Specified by:
hasProtectionDomainin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- Whether the protectionDomain field is set.
-
getProtectionDomain
public String getProtectionDomain()
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. +optional
optional string protectionDomain = 5;- Specified by:
getProtectionDomainin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The protectionDomain.
-
getProtectionDomainBytes
public com.google.protobuf.ByteString getProtectionDomainBytes()
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. +optional
optional string protectionDomain = 5;- Specified by:
getProtectionDomainBytesin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The bytes for protectionDomain.
-
setProtectionDomain
public Generated.ScaleIOVolumeSource.Builder setProtectionDomain(String value)
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. +optional
optional string protectionDomain = 5;- Parameters:
value- The protectionDomain to set.- Returns:
- This builder for chaining.
-
clearProtectionDomain
public Generated.ScaleIOVolumeSource.Builder clearProtectionDomain()
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. +optional
optional string protectionDomain = 5;- Returns:
- This builder for chaining.
-
setProtectionDomainBytes
public Generated.ScaleIOVolumeSource.Builder setProtectionDomainBytes(com.google.protobuf.ByteString value)
protectionDomain is the name of the ScaleIO Protection Domain for the configured storage. +optional
optional string protectionDomain = 5;- Parameters:
value- The bytes for protectionDomain to set.- Returns:
- This builder for chaining.
-
hasStoragePool
public boolean hasStoragePool()
storagePool is the ScaleIO Storage Pool associated with the protection domain. +optional
optional string storagePool = 6;- Specified by:
hasStoragePoolin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- Whether the storagePool field is set.
-
getStoragePool
public String getStoragePool()
storagePool is the ScaleIO Storage Pool associated with the protection domain. +optional
optional string storagePool = 6;- Specified by:
getStoragePoolin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The storagePool.
-
getStoragePoolBytes
public com.google.protobuf.ByteString getStoragePoolBytes()
storagePool is the ScaleIO Storage Pool associated with the protection domain. +optional
optional string storagePool = 6;- Specified by:
getStoragePoolBytesin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The bytes for storagePool.
-
setStoragePool
public Generated.ScaleIOVolumeSource.Builder setStoragePool(String value)
storagePool is the ScaleIO Storage Pool associated with the protection domain. +optional
optional string storagePool = 6;- Parameters:
value- The storagePool to set.- Returns:
- This builder for chaining.
-
clearStoragePool
public Generated.ScaleIOVolumeSource.Builder clearStoragePool()
storagePool is the ScaleIO Storage Pool associated with the protection domain. +optional
optional string storagePool = 6;- Returns:
- This builder for chaining.
-
setStoragePoolBytes
public Generated.ScaleIOVolumeSource.Builder setStoragePoolBytes(com.google.protobuf.ByteString value)
storagePool is the ScaleIO Storage Pool associated with the protection domain. +optional
optional string storagePool = 6;- Parameters:
value- The bytes for storagePool to set.- Returns:
- This builder for chaining.
-
hasStorageMode
public boolean hasStorageMode()
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. +optional +default="ThinProvisioned"
optional string storageMode = 7;- Specified by:
hasStorageModein interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- Whether the storageMode field is set.
-
getStorageMode
public String getStorageMode()
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. +optional +default="ThinProvisioned"
optional string storageMode = 7;- Specified by:
getStorageModein interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The storageMode.
-
getStorageModeBytes
public com.google.protobuf.ByteString getStorageModeBytes()
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. +optional +default="ThinProvisioned"
optional string storageMode = 7;- Specified by:
getStorageModeBytesin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The bytes for storageMode.
-
setStorageMode
public Generated.ScaleIOVolumeSource.Builder setStorageMode(String value)
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. +optional +default="ThinProvisioned"
optional string storageMode = 7;- Parameters:
value- The storageMode to set.- Returns:
- This builder for chaining.
-
clearStorageMode
public Generated.ScaleIOVolumeSource.Builder clearStorageMode()
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. +optional +default="ThinProvisioned"
optional string storageMode = 7;- Returns:
- This builder for chaining.
-
setStorageModeBytes
public Generated.ScaleIOVolumeSource.Builder setStorageModeBytes(com.google.protobuf.ByteString value)
storageMode indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned. Default is ThinProvisioned. +optional +default="ThinProvisioned"
optional string storageMode = 7;- Parameters:
value- The bytes for storageMode to set.- Returns:
- This builder for chaining.
-
hasVolumeName
public boolean hasVolumeName()
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
optional string volumeName = 8;- Specified by:
hasVolumeNamein interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- Whether the volumeName field is set.
-
getVolumeName
public String getVolumeName()
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
optional string volumeName = 8;- Specified by:
getVolumeNamein interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The volumeName.
-
getVolumeNameBytes
public com.google.protobuf.ByteString getVolumeNameBytes()
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
optional string volumeName = 8;- Specified by:
getVolumeNameBytesin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The bytes for volumeName.
-
setVolumeName
public Generated.ScaleIOVolumeSource.Builder setVolumeName(String value)
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
optional string volumeName = 8;- Parameters:
value- The volumeName to set.- Returns:
- This builder for chaining.
-
clearVolumeName
public Generated.ScaleIOVolumeSource.Builder clearVolumeName()
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
optional string volumeName = 8;- Returns:
- This builder for chaining.
-
setVolumeNameBytes
public Generated.ScaleIOVolumeSource.Builder setVolumeNameBytes(com.google.protobuf.ByteString value)
volumeName is the name of a volume already created in the ScaleIO system that is associated with this volume source.
optional string volumeName = 8;- Parameters:
value- The bytes for volumeName to set.- Returns:
- This builder for chaining.
-
hasFsType
public boolean hasFsType()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". +optional +default="xfs"
optional string fsType = 9;- Specified by:
hasFsTypein interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- Whether the fsType field is set.
-
getFsType
public String getFsType()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". +optional +default="xfs"
optional string fsType = 9;- Specified by:
getFsTypein interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The fsType.
-
getFsTypeBytes
public 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". Default is "xfs". +optional +default="xfs"
optional string fsType = 9;- Specified by:
getFsTypeBytesin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The bytes for fsType.
-
setFsType
public Generated.ScaleIOVolumeSource.Builder setFsType(String value)
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". +optional +default="xfs"
optional string fsType = 9;- Parameters:
value- The fsType to set.- Returns:
- This builder for chaining.
-
clearFsType
public Generated.ScaleIOVolumeSource.Builder clearFsType()
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". +optional +default="xfs"
optional string fsType = 9;- Returns:
- This builder for chaining.
-
setFsTypeBytes
public Generated.ScaleIOVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
fsType is the filesystem type to mount. Must be a filesystem type supported by the host operating system. Ex. "ext4", "xfs", "ntfs". Default is "xfs". +optional +default="xfs"
optional string fsType = 9;- Parameters:
value- The bytes for fsType to set.- Returns:
- This builder for chaining.
-
hasReadOnly
public boolean hasReadOnly()
readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 10;- Specified by:
hasReadOnlyin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- Whether the readOnly field is set.
-
getReadOnly
public boolean getReadOnly()
readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 10;- Specified by:
getReadOnlyin interfaceGenerated.ScaleIOVolumeSourceOrBuilder- Returns:
- The readOnly.
-
setReadOnly
public Generated.ScaleIOVolumeSource.Builder setReadOnly(boolean value)
readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 10;- Parameters:
value- The readOnly to set.- Returns:
- This builder for chaining.
-
clearReadOnly
public Generated.ScaleIOVolumeSource.Builder clearReadOnly()
readOnly Defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts. +optional
optional bool readOnly = 10;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Generated.ScaleIOVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder>
-
mergeUnknownFields
public final Generated.ScaleIOVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.ScaleIOVolumeSource.Builder>
-
-