Class Generated.GlusterfsPersistentVolumeSource.Builder

    • Method Detail

      • 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<Generated.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<Generated.GlusterfsPersistentVolumeSource.Builder>
      • getDefaultInstanceForType

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

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

        public Generated.GlusterfsPersistentVolumeSource buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Generated.GlusterfsPersistentVolumeSource.Builder>
      • hasEndpoints

        public boolean hasEndpoints()
         endpoints 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 Generated.GlusterfsPersistentVolumeSourceOrBuilder
        Returns:
        Whether the endpoints field is set.
      • getEndpointsBytes

        public com.google.protobuf.ByteString getEndpointsBytes()
         endpoints 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 Generated.GlusterfsPersistentVolumeSourceOrBuilder
        Returns:
        The bytes for endpoints.
      • setEndpoints

        public Generated.GlusterfsPersistentVolumeSource.Builder setEndpoints​(String value)
         endpoints 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;
        Parameters:
        value - The endpoints to set.
        Returns:
        This builder for chaining.
      • clearEndpoints

        public Generated.GlusterfsPersistentVolumeSource.Builder clearEndpoints()
         endpoints 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;
        Returns:
        This builder for chaining.
      • setEndpointsBytes

        public Generated.GlusterfsPersistentVolumeSource.Builder setEndpointsBytes​(com.google.protobuf.ByteString value)
         endpoints 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;
        Parameters:
        value - The bytes for endpoints to set.
        Returns:
        This builder for chaining.
      • 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 Generated.GlusterfsPersistentVolumeSourceOrBuilder
        Returns:
        Whether the path field is set.
      • 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 Generated.GlusterfsPersistentVolumeSourceOrBuilder
        Returns:
        The bytes for path.
      • setPath

        public Generated.GlusterfsPersistentVolumeSource.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;
        Parameters:
        value - The path to set.
        Returns:
        This builder for chaining.
      • clearPath

        public Generated.GlusterfsPersistentVolumeSource.Builder clearPath()
         path is the Glusterfs volume path.
         More info: https://examples.k8s.io/volumes/glusterfs/README.md#create-a-pod
         
        optional string path = 2;
        Returns:
        This builder for chaining.
      • setPathBytes

        public Generated.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;
        Parameters:
        value - The bytes for path to set.
        Returns:
        This builder for chaining.
      • 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 Generated.GlusterfsPersistentVolumeSourceOrBuilder
        Returns:
        Whether the readOnly field is set.
      • 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 Generated.GlusterfsPersistentVolumeSourceOrBuilder
        Returns:
        The readOnly.
      • setReadOnly

        public Generated.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;
        Parameters:
        value - The readOnly to set.
        Returns:
        This builder for chaining.
      • clearReadOnly

        public Generated.GlusterfsPersistentVolumeSource.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;
        Returns:
        This builder for chaining.
      • 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 Generated.GlusterfsPersistentVolumeSourceOrBuilder
        Returns:
        Whether the endpointsNamespace field is set.
      • 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 Generated.GlusterfsPersistentVolumeSourceOrBuilder
        Returns:
        The endpointsNamespace.
      • 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 Generated.GlusterfsPersistentVolumeSourceOrBuilder
        Returns:
        The bytes for endpointsNamespace.
      • setEndpointsNamespace

        public Generated.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;
        Parameters:
        value - The endpointsNamespace to set.
        Returns:
        This builder for chaining.
      • clearEndpointsNamespace

        public Generated.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;
        Returns:
        This builder for chaining.
      • setEndpointsNamespaceBytes

        public Generated.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;
        Parameters:
        value - The bytes for endpointsNamespace to set.
        Returns:
        This builder for chaining.