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

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

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

        public Generated.AzureFileVolumeSource 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.AzureFileVolumeSource.Builder>
      • hasSecretName

        public boolean hasSecretName()
         secretName is the  name of secret that contains Azure Storage Account Name and Key
         
        optional string secretName = 1;
        Specified by:
        hasSecretName in interface Generated.AzureFileVolumeSourceOrBuilder
        Returns:
        Whether the secretName field is set.
      • getSecretNameBytes

        public com.google.protobuf.ByteString getSecretNameBytes()
         secretName is the  name of secret that contains Azure Storage Account Name and Key
         
        optional string secretName = 1;
        Specified by:
        getSecretNameBytes in interface Generated.AzureFileVolumeSourceOrBuilder
        Returns:
        The bytes for secretName.
      • setSecretName

        public Generated.AzureFileVolumeSource.Builder setSecretName​(String value)
         secretName is the  name of secret that contains Azure Storage Account Name and Key
         
        optional string secretName = 1;
        Parameters:
        value - The secretName to set.
        Returns:
        This builder for chaining.
      • clearSecretName

        public Generated.AzureFileVolumeSource.Builder clearSecretName()
         secretName is the  name of secret that contains Azure Storage Account Name and Key
         
        optional string secretName = 1;
        Returns:
        This builder for chaining.
      • setSecretNameBytes

        public Generated.AzureFileVolumeSource.Builder setSecretNameBytes​(com.google.protobuf.ByteString value)
         secretName is the  name of secret that contains Azure Storage Account Name and Key
         
        optional string secretName = 1;
        Parameters:
        value - The bytes for secretName to set.
        Returns:
        This builder for chaining.
      • setShareName

        public Generated.AzureFileVolumeSource.Builder setShareName​(String value)
         shareName is the azure share Name
         
        optional string shareName = 2;
        Parameters:
        value - The shareName to set.
        Returns:
        This builder for chaining.
      • setShareNameBytes

        public Generated.AzureFileVolumeSource.Builder setShareNameBytes​(com.google.protobuf.ByteString value)
         shareName is the azure share Name
         
        optional string shareName = 2;
        Parameters:
        value - The bytes for shareName to set.
        Returns:
        This builder for chaining.
      • hasReadOnly

        public boolean hasReadOnly()
         readOnly defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 3;
        Specified by:
        hasReadOnly in interface Generated.AzureFileVolumeSourceOrBuilder
        Returns:
        Whether the readOnly field is set.
      • getReadOnly

        public boolean getReadOnly()
         readOnly defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 3;
        Specified by:
        getReadOnly in interface Generated.AzureFileVolumeSourceOrBuilder
        Returns:
        The readOnly.
      • setReadOnly

        public Generated.AzureFileVolumeSource.Builder setReadOnly​(boolean value)
         readOnly defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 3;
        Parameters:
        value - The readOnly to set.
        Returns:
        This builder for chaining.
      • clearReadOnly

        public Generated.AzureFileVolumeSource.Builder clearReadOnly()
         readOnly defaults to false (read/write). ReadOnly here will force
         the ReadOnly setting in VolumeMounts.
         +optional
         
        optional bool readOnly = 3;
        Returns:
        This builder for chaining.