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

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

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

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

        public Generated.NFSVolumeSource.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<Generated.NFSVolumeSource.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.NFSVolumeSource.Builder>
      • mergeFrom

        public Generated.NFSVolumeSource.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<Generated.NFSVolumeSource.Builder>
        Throws:
        IOException
      • hasServer

        public boolean hasServer()
         server is the hostname or IP address of the NFS server.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         
        optional string server = 1;
        Specified by:
        hasServer in interface Generated.NFSVolumeSourceOrBuilder
        Returns:
        Whether the server field is set.
      • getServer

        public String getServer()
         server is the hostname or IP address of the NFS server.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         
        optional string server = 1;
        Specified by:
        getServer in interface Generated.NFSVolumeSourceOrBuilder
        Returns:
        The server.
      • getServerBytes

        public com.google.protobuf.ByteString getServerBytes()
         server is the hostname or IP address of the NFS server.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         
        optional string server = 1;
        Specified by:
        getServerBytes in interface Generated.NFSVolumeSourceOrBuilder
        Returns:
        The bytes for server.
      • setServer

        public Generated.NFSVolumeSource.Builder setServer​(String value)
         server is the hostname or IP address of the NFS server.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         
        optional string server = 1;
        Parameters:
        value - The server to set.
        Returns:
        This builder for chaining.
      • clearServer

        public Generated.NFSVolumeSource.Builder clearServer()
         server is the hostname or IP address of the NFS server.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         
        optional string server = 1;
        Returns:
        This builder for chaining.
      • setServerBytes

        public Generated.NFSVolumeSource.Builder setServerBytes​(com.google.protobuf.ByteString value)
         server is the hostname or IP address of the NFS server.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         
        optional string server = 1;
        Parameters:
        value - The bytes for server to set.
        Returns:
        This builder for chaining.
      • hasPath

        public boolean hasPath()
         path that is exported by the NFS server.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         
        optional string path = 2;
        Specified by:
        hasPath in interface Generated.NFSVolumeSourceOrBuilder
        Returns:
        Whether the path field is set.
      • getPath

        public String getPath()
         path that is exported by the NFS server.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         
        optional string path = 2;
        Specified by:
        getPath in interface Generated.NFSVolumeSourceOrBuilder
        Returns:
        The path.
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         path that is exported by the NFS server.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         
        optional string path = 2;
        Specified by:
        getPathBytes in interface Generated.NFSVolumeSourceOrBuilder
        Returns:
        The bytes for path.
      • setPath

        public Generated.NFSVolumeSource.Builder setPath​(String value)
         path that is exported by the NFS server.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         
        optional string path = 2;
        Parameters:
        value - The path to set.
        Returns:
        This builder for chaining.
      • clearPath

        public Generated.NFSVolumeSource.Builder clearPath()
         path that is exported by the NFS server.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         
        optional string path = 2;
        Returns:
        This builder for chaining.
      • setPathBytes

        public Generated.NFSVolumeSource.Builder setPathBytes​(com.google.protobuf.ByteString value)
         path that is exported by the NFS server.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         
        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 NFS export to be mounted with read-only permissions.
         Defaults to false.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         +optional
         
        optional bool readOnly = 3;
        Specified by:
        hasReadOnly in interface Generated.NFSVolumeSourceOrBuilder
        Returns:
        Whether the readOnly field is set.
      • getReadOnly

        public boolean getReadOnly()
         readOnly here will force the NFS export to be mounted with read-only permissions.
         Defaults to false.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         +optional
         
        optional bool readOnly = 3;
        Specified by:
        getReadOnly in interface Generated.NFSVolumeSourceOrBuilder
        Returns:
        The readOnly.
      • setReadOnly

        public Generated.NFSVolumeSource.Builder setReadOnly​(boolean value)
         readOnly here will force the NFS export to be mounted with read-only permissions.
         Defaults to false.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         +optional
         
        optional bool readOnly = 3;
        Parameters:
        value - The readOnly to set.
        Returns:
        This builder for chaining.
      • clearReadOnly

        public Generated.NFSVolumeSource.Builder clearReadOnly()
         readOnly here will force the NFS export to be mounted with read-only permissions.
         Defaults to false.
         More info: https://kubernetes.io/docs/concepts/storage/volumes#nfs
         +optional
         
        optional bool readOnly = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Generated.NFSVolumeSource.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<Generated.NFSVolumeSource.Builder>
      • mergeUnknownFields

        public final Generated.NFSVolumeSource.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<Generated.NFSVolumeSource.Builder>