Class V1.PortworxVolumeSource.Builder

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

public static final class V1.PortworxVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.PortworxVolumeSource.Builder> implements V1.PortworxVolumeSourceOrBuilder
 PortworxVolumeSource represents a Portworx volume resource.
 
Protobuf type k8s.io.api.core.v1.PortworxVolumeSource
  • 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.PortworxVolumeSource.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.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
    • getDefaultInstanceForType

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

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

      public V1.PortworxVolumeSource 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.PortworxVolumeSource.Builder>
    • setField

      public V1.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
    • clearField

      public V1.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
    • clearOneof

      public V1.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
    • setRepeatedField

      public V1.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
    • addRepeatedField

      public V1.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
    • mergeFrom

      public V1.PortworxVolumeSource.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.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
    • mergeFrom

      public V1.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
      Throws:
      IOException
    • hasVolumeID

      public boolean hasVolumeID()
       VolumeID uniquely identifies a Portworx volume
       
      optional string volumeID = 1;
      Specified by:
      hasVolumeID in interface V1.PortworxVolumeSourceOrBuilder
    • getVolumeID

      public String getVolumeID()
       VolumeID uniquely identifies a Portworx volume
       
      optional string volumeID = 1;
      Specified by:
      getVolumeID in interface V1.PortworxVolumeSourceOrBuilder
    • getVolumeIDBytes

      public com.google.protobuf.ByteString getVolumeIDBytes()
       VolumeID uniquely identifies a Portworx volume
       
      optional string volumeID = 1;
      Specified by:
      getVolumeIDBytes in interface V1.PortworxVolumeSourceOrBuilder
    • setVolumeID

      public V1.PortworxVolumeSource.Builder setVolumeID(String value)
       VolumeID uniquely identifies a Portworx volume
       
      optional string volumeID = 1;
    • clearVolumeID

      public V1.PortworxVolumeSource.Builder clearVolumeID()
       VolumeID uniquely identifies a Portworx volume
       
      optional string volumeID = 1;
    • setVolumeIDBytes

      public V1.PortworxVolumeSource.Builder setVolumeIDBytes(com.google.protobuf.ByteString value)
       VolumeID uniquely identifies a Portworx volume
       
      optional string volumeID = 1;
    • hasFsType

      public boolean hasFsType()
       FSType represents the filesystem type to mount
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
       
      optional string fsType = 2;
      Specified by:
      hasFsType in interface V1.PortworxVolumeSourceOrBuilder
    • getFsType

      public String getFsType()
       FSType represents the filesystem type to mount
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
       
      optional string fsType = 2;
      Specified by:
      getFsType in interface V1.PortworxVolumeSourceOrBuilder
    • getFsTypeBytes

      public com.google.protobuf.ByteString getFsTypeBytes()
       FSType represents the filesystem type to mount
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
       
      optional string fsType = 2;
      Specified by:
      getFsTypeBytes in interface V1.PortworxVolumeSourceOrBuilder
    • setFsType

      public V1.PortworxVolumeSource.Builder setFsType(String value)
       FSType represents the filesystem type to mount
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
       
      optional string fsType = 2;
    • clearFsType

      public V1.PortworxVolumeSource.Builder clearFsType()
       FSType represents the filesystem type to mount
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
       
      optional string fsType = 2;
    • setFsTypeBytes

      public V1.PortworxVolumeSource.Builder setFsTypeBytes(com.google.protobuf.ByteString value)
       FSType represents the filesystem type to mount
       Must be a filesystem type supported by the host operating system.
       Ex. "ext4", "xfs". Implicitly inferred to be "ext4" if unspecified.
       
      optional string fsType = 2;
    • hasReadOnly

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

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

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

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

      public final V1.PortworxVolumeSource.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.PortworxVolumeSource.Builder>
    • mergeUnknownFields

      public final V1.PortworxVolumeSource.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.PortworxVolumeSource.Builder>