Class V1.GlusterfsPersistentVolumeSource.Builder

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

public static final class V1.GlusterfsPersistentVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.GlusterfsPersistentVolumeSource.Builder> implements V1.GlusterfsPersistentVolumeSourceOrBuilder
 Represents a Glusterfs mount that lasts the lifetime of a pod.
 Glusterfs volumes do not support ownership management or SELinux relabeling.
 
Protobuf type k8s.io.api.core.v1.GlusterfsPersistentVolumeSource
  • 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.GlusterfsPersistentVolumeSource.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.GlusterfsPersistentVolumeSource.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.GlusterfsPersistentVolumeSource.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

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

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

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

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

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

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

      public boolean hasEndpoints()
       EndpointsName is the endpoint name that details Glusterfs topology.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       
      optional string endpoints = 1;
      Specified by:
      hasEndpoints in interface V1.GlusterfsPersistentVolumeSourceOrBuilder
    • getEndpoints

      public String getEndpoints()
       EndpointsName is the endpoint name that details Glusterfs topology.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       
      optional string endpoints = 1;
      Specified by:
      getEndpoints in interface V1.GlusterfsPersistentVolumeSourceOrBuilder
    • getEndpointsBytes

      public com.google.protobuf.ByteString getEndpointsBytes()
       EndpointsName is the endpoint name that details Glusterfs topology.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       
      optional string endpoints = 1;
      Specified by:
      getEndpointsBytes in interface V1.GlusterfsPersistentVolumeSourceOrBuilder
    • setEndpoints

       EndpointsName is the endpoint name that details Glusterfs topology.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       
      optional string endpoints = 1;
    • clearEndpoints

       EndpointsName is the endpoint name that details Glusterfs topology.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       
      optional string endpoints = 1;
    • setEndpointsBytes

      public V1.GlusterfsPersistentVolumeSource.Builder setEndpointsBytes(com.google.protobuf.ByteString value)
       EndpointsName is the endpoint name that details Glusterfs topology.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       
      optional string endpoints = 1;
    • hasPath

      public boolean hasPath()
       Path is the Glusterfs volume path.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       
      optional string path = 2;
      Specified by:
      hasPath in interface V1.GlusterfsPersistentVolumeSourceOrBuilder
    • getPath

      public String getPath()
       Path is the Glusterfs volume path.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       
      optional string path = 2;
      Specified by:
      getPath in interface V1.GlusterfsPersistentVolumeSourceOrBuilder
    • getPathBytes

      public com.google.protobuf.ByteString getPathBytes()
       Path is the Glusterfs volume path.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       
      optional string path = 2;
      Specified by:
      getPathBytes in interface V1.GlusterfsPersistentVolumeSourceOrBuilder
    • setPath

       Path is the Glusterfs volume path.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       
      optional string path = 2;
    • clearPath

       Path is the Glusterfs volume path.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       
      optional string path = 2;
    • setPathBytes

      public V1.GlusterfsPersistentVolumeSource.Builder setPathBytes(com.google.protobuf.ByteString value)
       Path is the Glusterfs volume path.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       
      optional string path = 2;
    • hasReadOnly

      public boolean hasReadOnly()
       ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
       Defaults to false.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       +optional
       
      optional bool readOnly = 3;
      Specified by:
      hasReadOnly in interface V1.GlusterfsPersistentVolumeSourceOrBuilder
    • getReadOnly

      public boolean getReadOnly()
       ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
       Defaults to false.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       +optional
       
      optional bool readOnly = 3;
      Specified by:
      getReadOnly in interface V1.GlusterfsPersistentVolumeSourceOrBuilder
    • setReadOnly

      public V1.GlusterfsPersistentVolumeSource.Builder setReadOnly(boolean value)
       ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
       Defaults to false.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       +optional
       
      optional bool readOnly = 3;
    • clearReadOnly

       ReadOnly here will force the Glusterfs volume to be mounted with read-only permissions.
       Defaults to false.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       +optional
       
      optional bool readOnly = 3;
    • hasEndpointsNamespace

      public boolean hasEndpointsNamespace()
       EndpointsNamespace is the namespace that contains Glusterfs endpoint.
       If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       +optional
       
      optional string endpointsNamespace = 4;
      Specified by:
      hasEndpointsNamespace in interface V1.GlusterfsPersistentVolumeSourceOrBuilder
    • getEndpointsNamespace

      public String getEndpointsNamespace()
       EndpointsNamespace is the namespace that contains Glusterfs endpoint.
       If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       +optional
       
      optional string endpointsNamespace = 4;
      Specified by:
      getEndpointsNamespace in interface V1.GlusterfsPersistentVolumeSourceOrBuilder
    • getEndpointsNamespaceBytes

      public com.google.protobuf.ByteString getEndpointsNamespaceBytes()
       EndpointsNamespace is the namespace that contains Glusterfs endpoint.
       If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       +optional
       
      optional string endpointsNamespace = 4;
      Specified by:
      getEndpointsNamespaceBytes in interface V1.GlusterfsPersistentVolumeSourceOrBuilder
    • setEndpointsNamespace

      public V1.GlusterfsPersistentVolumeSource.Builder setEndpointsNamespace(String value)
       EndpointsNamespace is the namespace that contains Glusterfs endpoint.
       If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       +optional
       
      optional string endpointsNamespace = 4;
    • clearEndpointsNamespace

      public V1.GlusterfsPersistentVolumeSource.Builder clearEndpointsNamespace()
       EndpointsNamespace is the namespace that contains Glusterfs endpoint.
       If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       +optional
       
      optional string endpointsNamespace = 4;
    • setEndpointsNamespaceBytes

      public V1.GlusterfsPersistentVolumeSource.Builder setEndpointsNamespaceBytes(com.google.protobuf.ByteString value)
       EndpointsNamespace is the namespace that contains Glusterfs endpoint.
       If this field is empty, the EndpointNamespace defaults to the same namespace as the bound PVC.
       More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
       +optional
       
      optional string endpointsNamespace = 4;
    • setUnknownFields

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

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