Class V1.GlusterfsVolumeSource.Builder

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

public static final class V1.GlusterfsVolumeSource.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.GlusterfsVolumeSource.Builder> implements V1.GlusterfsVolumeSourceOrBuilder
 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.GlusterfsVolumeSource
  • 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.GlusterfsVolumeSource.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.GlusterfsVolumeSource.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.GlusterfsVolumeSource.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

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

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

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

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

      public V1.GlusterfsVolumeSource.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.GlusterfsVolumeSource.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.GlusterfsVolumeSourceOrBuilder
    • 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.GlusterfsVolumeSourceOrBuilder
    • 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.GlusterfsVolumeSourceOrBuilder
    • setEndpoints

      public V1.GlusterfsVolumeSource.Builder setEndpoints(String 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;
    • clearEndpoints

      public V1.GlusterfsVolumeSource.Builder 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.GlusterfsVolumeSource.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.GlusterfsVolumeSourceOrBuilder
    • 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.GlusterfsVolumeSourceOrBuilder
    • 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.GlusterfsVolumeSourceOrBuilder
    • setPath

      public V1.GlusterfsVolumeSource.Builder setPath(String value)
       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.GlusterfsVolumeSource.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.GlusterfsVolumeSourceOrBuilder
    • 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.GlusterfsVolumeSourceOrBuilder
    • setReadOnly

      public V1.GlusterfsVolumeSource.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

      public V1.GlusterfsVolumeSource.Builder 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;
    • setUnknownFields

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

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