Class V1.ScaleIOVolumeSource.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder>
io.kubernetes.client.proto.V1.ScaleIOVolumeSource.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1.ScaleIOVolumeSourceOrBuilder, Cloneable
Enclosing class:
V1.ScaleIOVolumeSource

public static final class V1.ScaleIOVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder> implements V1.ScaleIOVolumeSourceOrBuilder
 ScaleIOVolumeSource represents a persistent ScaleIO volume
 
Protobuf type k8s.io.api.core.v1.ScaleIOVolumeSource
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder>
    • getDefaultInstanceForType

      public V1.ScaleIOVolumeSource getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public V1.ScaleIOVolumeSource build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public V1.ScaleIOVolumeSource buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder>
    • setField

      public V1.ScaleIOVolumeSource.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder>
    • clearField

      public V1.ScaleIOVolumeSource.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder>
    • clearOneof

      public V1.ScaleIOVolumeSource.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder>
    • setRepeatedField

      public V1.ScaleIOVolumeSource.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder>
    • addRepeatedField

      public V1.ScaleIOVolumeSource.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder>
    • mergeFrom

      public V1.ScaleIOVolumeSource.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.ScaleIOVolumeSource.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder>
    • mergeFrom

      public V1.ScaleIOVolumeSource.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.ScaleIOVolumeSource.Builder>
      Throws:
      IOException
    • hasGateway

      public boolean hasGateway()
       The host address of the ScaleIO API Gateway.
       
      optional string gateway = 1;
      Specified by:
      hasGateway in interface V1.ScaleIOVolumeSourceOrBuilder
    • getGateway

      public String getGateway()
       The host address of the ScaleIO API Gateway.
       
      optional string gateway = 1;
      Specified by:
      getGateway in interface V1.ScaleIOVolumeSourceOrBuilder
    • getGatewayBytes

      public com.google.protobuf.ByteString getGatewayBytes()
       The host address of the ScaleIO API Gateway.
       
      optional string gateway = 1;
      Specified by:
      getGatewayBytes in interface V1.ScaleIOVolumeSourceOrBuilder
    • setGateway

      public V1.ScaleIOVolumeSource.Builder setGateway(String value)
       The host address of the ScaleIO API Gateway.
       
      optional string gateway = 1;
    • clearGateway

      public V1.ScaleIOVolumeSource.Builder clearGateway()
       The host address of the ScaleIO API Gateway.
       
      optional string gateway = 1;
    • setGatewayBytes

      public V1.ScaleIOVolumeSource.Builder setGatewayBytes(com.google.protobuf.ByteString value)
       The host address of the ScaleIO API Gateway.
       
      optional string gateway = 1;
    • hasSystem

      public boolean hasSystem()
       The name of the storage system as configured in ScaleIO.
       
      optional string system = 2;
      Specified by:
      hasSystem in interface V1.ScaleIOVolumeSourceOrBuilder
    • getSystem

      public String getSystem()
       The name of the storage system as configured in ScaleIO.
       
      optional string system = 2;
      Specified by:
      getSystem in interface V1.ScaleIOVolumeSourceOrBuilder
    • getSystemBytes

      public com.google.protobuf.ByteString getSystemBytes()
       The name of the storage system as configured in ScaleIO.
       
      optional string system = 2;
      Specified by:
      getSystemBytes in interface V1.ScaleIOVolumeSourceOrBuilder
    • setSystem

      public V1.ScaleIOVolumeSource.Builder setSystem(String value)
       The name of the storage system as configured in ScaleIO.
       
      optional string system = 2;
    • clearSystem

      public V1.ScaleIOVolumeSource.Builder clearSystem()
       The name of the storage system as configured in ScaleIO.
       
      optional string system = 2;
    • setSystemBytes

      public V1.ScaleIOVolumeSource.Builder setSystemBytes(com.google.protobuf.ByteString value)
       The name of the storage system as configured in ScaleIO.
       
      optional string system = 2;
    • 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:
      hasSecretRef in interface V1.ScaleIOVolumeSourceOrBuilder
    • getSecretRef

      public V1.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:
      getSecretRef in interface V1.ScaleIOVolumeSourceOrBuilder
    • setSecretRef

       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 V1.ScaleIOVolumeSource.Builder setSecretRef(V1.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

       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 V1.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 V1.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 V1.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:
      getSecretRefOrBuilder in interface V1.ScaleIOVolumeSourceOrBuilder
    • hasSslEnabled

      public boolean hasSslEnabled()
       Flag to enable/disable SSL communication with Gateway, default false
       +optional
       
      optional bool sslEnabled = 4;
      Specified by:
      hasSslEnabled in interface V1.ScaleIOVolumeSourceOrBuilder
    • getSslEnabled

      public boolean getSslEnabled()
       Flag to enable/disable SSL communication with Gateway, default false
       +optional
       
      optional bool sslEnabled = 4;
      Specified by:
      getSslEnabled in interface V1.ScaleIOVolumeSourceOrBuilder
    • setSslEnabled

      public V1.ScaleIOVolumeSource.Builder setSslEnabled(boolean value)
       Flag to enable/disable SSL communication with Gateway, default false
       +optional
       
      optional bool sslEnabled = 4;
    • clearSslEnabled

      public V1.ScaleIOVolumeSource.Builder clearSslEnabled()
       Flag to enable/disable SSL communication with Gateway, default false
       +optional
       
      optional bool sslEnabled = 4;
    • hasProtectionDomain

      public boolean hasProtectionDomain()
       The name of the ScaleIO Protection Domain for the configured storage.
       +optional
       
      optional string protectionDomain = 5;
      Specified by:
      hasProtectionDomain in interface V1.ScaleIOVolumeSourceOrBuilder
    • getProtectionDomain

      public String getProtectionDomain()
       The name of the ScaleIO Protection Domain for the configured storage.
       +optional
       
      optional string protectionDomain = 5;
      Specified by:
      getProtectionDomain in interface V1.ScaleIOVolumeSourceOrBuilder
    • getProtectionDomainBytes

      public com.google.protobuf.ByteString getProtectionDomainBytes()
       The name of the ScaleIO Protection Domain for the configured storage.
       +optional
       
      optional string protectionDomain = 5;
      Specified by:
      getProtectionDomainBytes in interface V1.ScaleIOVolumeSourceOrBuilder
    • setProtectionDomain

      public V1.ScaleIOVolumeSource.Builder setProtectionDomain(String value)
       The name of the ScaleIO Protection Domain for the configured storage.
       +optional
       
      optional string protectionDomain = 5;
    • clearProtectionDomain

      public V1.ScaleIOVolumeSource.Builder clearProtectionDomain()
       The name of the ScaleIO Protection Domain for the configured storage.
       +optional
       
      optional string protectionDomain = 5;
    • setProtectionDomainBytes

      public V1.ScaleIOVolumeSource.Builder setProtectionDomainBytes(com.google.protobuf.ByteString value)
       The name of the ScaleIO Protection Domain for the configured storage.
       +optional
       
      optional string protectionDomain = 5;
    • hasStoragePool

      public boolean hasStoragePool()
       The ScaleIO Storage Pool associated with the protection domain.
       +optional
       
      optional string storagePool = 6;
      Specified by:
      hasStoragePool in interface V1.ScaleIOVolumeSourceOrBuilder
    • getStoragePool

      public String getStoragePool()
       The ScaleIO Storage Pool associated with the protection domain.
       +optional
       
      optional string storagePool = 6;
      Specified by:
      getStoragePool in interface V1.ScaleIOVolumeSourceOrBuilder
    • getStoragePoolBytes

      public com.google.protobuf.ByteString getStoragePoolBytes()
       The ScaleIO Storage Pool associated with the protection domain.
       +optional
       
      optional string storagePool = 6;
      Specified by:
      getStoragePoolBytes in interface V1.ScaleIOVolumeSourceOrBuilder
    • setStoragePool

      public V1.ScaleIOVolumeSource.Builder setStoragePool(String value)
       The ScaleIO Storage Pool associated with the protection domain.
       +optional
       
      optional string storagePool = 6;
    • clearStoragePool

      public V1.ScaleIOVolumeSource.Builder clearStoragePool()
       The ScaleIO Storage Pool associated with the protection domain.
       +optional
       
      optional string storagePool = 6;
    • setStoragePoolBytes

      public V1.ScaleIOVolumeSource.Builder setStoragePoolBytes(com.google.protobuf.ByteString value)
       The ScaleIO Storage Pool associated with the protection domain.
       +optional
       
      optional string storagePool = 6;
    • hasStorageMode

      public boolean hasStorageMode()
       Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
       Default is ThinProvisioned.
       +optional
       
      optional string storageMode = 7;
      Specified by:
      hasStorageMode in interface V1.ScaleIOVolumeSourceOrBuilder
    • getStorageMode

      public String getStorageMode()
       Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
       Default is ThinProvisioned.
       +optional
       
      optional string storageMode = 7;
      Specified by:
      getStorageMode in interface V1.ScaleIOVolumeSourceOrBuilder
    • getStorageModeBytes

      public com.google.protobuf.ByteString getStorageModeBytes()
       Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
       Default is ThinProvisioned.
       +optional
       
      optional string storageMode = 7;
      Specified by:
      getStorageModeBytes in interface V1.ScaleIOVolumeSourceOrBuilder
    • setStorageMode

      public V1.ScaleIOVolumeSource.Builder setStorageMode(String value)
       Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
       Default is ThinProvisioned.
       +optional
       
      optional string storageMode = 7;
    • clearStorageMode

      public V1.ScaleIOVolumeSource.Builder clearStorageMode()
       Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
       Default is ThinProvisioned.
       +optional
       
      optional string storageMode = 7;
    • setStorageModeBytes

      public V1.ScaleIOVolumeSource.Builder setStorageModeBytes(com.google.protobuf.ByteString value)
       Indicates whether the storage for a volume should be ThickProvisioned or ThinProvisioned.
       Default is ThinProvisioned.
       +optional
       
      optional string storageMode = 7;
    • hasVolumeName

      public boolean hasVolumeName()
       The name of a volume already created in the ScaleIO system
       that is associated with this volume source.
       
      optional string volumeName = 8;
      Specified by:
      hasVolumeName in interface V1.ScaleIOVolumeSourceOrBuilder
    • getVolumeName

      public String getVolumeName()
       The name of a volume already created in the ScaleIO system
       that is associated with this volume source.
       
      optional string volumeName = 8;
      Specified by:
      getVolumeName in interface V1.ScaleIOVolumeSourceOrBuilder
    • getVolumeNameBytes

      public com.google.protobuf.ByteString getVolumeNameBytes()
       The name of a volume already created in the ScaleIO system
       that is associated with this volume source.
       
      optional string volumeName = 8;
      Specified by:
      getVolumeNameBytes in interface V1.ScaleIOVolumeSourceOrBuilder
    • setVolumeName

      public V1.ScaleIOVolumeSource.Builder setVolumeName(String value)
       The name of a volume already created in the ScaleIO system
       that is associated with this volume source.
       
      optional string volumeName = 8;
    • clearVolumeName

      public V1.ScaleIOVolumeSource.Builder clearVolumeName()
       The name of a volume already created in the ScaleIO system
       that is associated with this volume source.
       
      optional string volumeName = 8;
    • setVolumeNameBytes

      public V1.ScaleIOVolumeSource.Builder setVolumeNameBytes(com.google.protobuf.ByteString value)
       The name of a volume already created in the ScaleIO system
       that is associated with this volume source.
       
      optional string volumeName = 8;
    • hasFsType

      public boolean hasFsType()
       Filesystem type to mount.
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs", "ntfs".
       Default is "xfs".
       +optional
       
      optional string fsType = 9;
      Specified by:
      hasFsType in interface V1.ScaleIOVolumeSourceOrBuilder
    • getFsType

      public String getFsType()
       Filesystem type to mount.
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs", "ntfs".
       Default is "xfs".
       +optional
       
      optional string fsType = 9;
      Specified by:
      getFsType in interface V1.ScaleIOVolumeSourceOrBuilder
    • getFsTypeBytes

      public com.google.protobuf.ByteString getFsTypeBytes()
       Filesystem type to mount.
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs", "ntfs".
       Default is "xfs".
       +optional
       
      optional string fsType = 9;
      Specified by:
      getFsTypeBytes in interface V1.ScaleIOVolumeSourceOrBuilder
    • setFsType

      public V1.ScaleIOVolumeSource.Builder setFsType(String value)
       Filesystem type to mount.
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs", "ntfs".
       Default is "xfs".
       +optional
       
      optional string fsType = 9;
    • clearFsType

      public V1.ScaleIOVolumeSource.Builder clearFsType()
       Filesystem type to mount.
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs", "ntfs".
       Default is "xfs".
       +optional
       
      optional string fsType = 9;
    • setFsTypeBytes

      public V1.ScaleIOVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
       Filesystem type to mount.
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs", "ntfs".
       Default is "xfs".
       +optional
       
      optional string fsType = 9;
    • hasReadOnly

      public boolean hasReadOnly()
       Defaults to false (read/write). ReadOnly here will force
       the ReadOnly setting in VolumeMounts.
       +optional
       
      optional bool readOnly = 10;
      Specified by:
      hasReadOnly in interface V1.ScaleIOVolumeSourceOrBuilder
    • getReadOnly

      public boolean getReadOnly()
       Defaults to false (read/write). ReadOnly here will force
       the ReadOnly setting in VolumeMounts.
       +optional
       
      optional bool readOnly = 10;
      Specified by:
      getReadOnly in interface V1.ScaleIOVolumeSourceOrBuilder
    • setReadOnly

      public V1.ScaleIOVolumeSource.Builder setReadOnly(boolean value)
       Defaults to false (read/write). ReadOnly here will force
       the ReadOnly setting in VolumeMounts.
       +optional
       
      optional bool readOnly = 10;
    • clearReadOnly

      public V1.ScaleIOVolumeSource.Builder clearReadOnly()
       Defaults to false (read/write). ReadOnly here will force
       the ReadOnly setting in VolumeMounts.
       +optional
       
      optional bool readOnly = 10;
    • setUnknownFields

      public final V1.ScaleIOVolumeSource.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder>
    • mergeUnknownFields

      public final V1.ScaleIOVolumeSource.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.ScaleIOVolumeSource.Builder>