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

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

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

        public Generated.GlusterfsVolumeSource 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.GlusterfsVolumeSource.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.GlusterfsVolumeSourceOrBuilder
        Returns:
        Whether the endpoints field is set.
      • getEndpoints

        public String getEndpoints()
         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:
        getEndpoints in interface Generated.GlusterfsVolumeSourceOrBuilder
        Returns:
        The endpoints.
      • 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.GlusterfsVolumeSourceOrBuilder
        Returns:
        The bytes for endpoints.
      • setEndpoints

        public Generated.GlusterfsVolumeSource.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.GlusterfsVolumeSource.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.GlusterfsVolumeSource.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.GlusterfsVolumeSourceOrBuilder
        Returns:
        Whether the path field is set.
      • 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 Generated.GlusterfsVolumeSourceOrBuilder
        Returns:
        The path.
      • 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.GlusterfsVolumeSourceOrBuilder
        Returns:
        The bytes for path.
      • setPath

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

        public Generated.GlusterfsVolumeSource.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.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;
        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.GlusterfsVolumeSourceOrBuilder
        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.GlusterfsVolumeSourceOrBuilder
        Returns:
        The readOnly.
      • setReadOnly

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

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