Class SecretVolume.SecretVersion.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<SecretVolume.SecretVersion.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<SecretVolume.SecretVersion.Builder>
      • getDefaultInstanceForType

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

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

        public SecretVolume.SecretVersion 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<SecretVolume.SecretVersion.Builder>
      • mergeFrom

        public SecretVolume.SecretVersion.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<SecretVolume.SecretVersion.Builder>
        Throws:
        IOException
      • getVersion

        public String getVersion()
         Version of the secret (version number or the string 'latest'). It is
         preferable to use `latest` version with secret volumes as secret value
         changes are reflected immediately.
         
        string version = 1;
        Specified by:
        getVersion in interface SecretVolume.SecretVersionOrBuilder
        Returns:
        The version.
      • getVersionBytes

        public com.google.protobuf.ByteString getVersionBytes()
         Version of the secret (version number or the string 'latest'). It is
         preferable to use `latest` version with secret volumes as secret value
         changes are reflected immediately.
         
        string version = 1;
        Specified by:
        getVersionBytes in interface SecretVolume.SecretVersionOrBuilder
        Returns:
        The bytes for version.
      • setVersion

        public SecretVolume.SecretVersion.Builder setVersion​(String value)
         Version of the secret (version number or the string 'latest'). It is
         preferable to use `latest` version with secret volumes as secret value
         changes are reflected immediately.
         
        string version = 1;
        Parameters:
        value - The version to set.
        Returns:
        This builder for chaining.
      • clearVersion

        public SecretVolume.SecretVersion.Builder clearVersion()
         Version of the secret (version number or the string 'latest'). It is
         preferable to use `latest` version with secret volumes as secret value
         changes are reflected immediately.
         
        string version = 1;
        Returns:
        This builder for chaining.
      • setVersionBytes

        public SecretVolume.SecretVersion.Builder setVersionBytes​(com.google.protobuf.ByteString value)
         Version of the secret (version number or the string 'latest'). It is
         preferable to use `latest` version with secret volumes as secret value
         changes are reflected immediately.
         
        string version = 1;
        Parameters:
        value - The bytes for version to set.
        Returns:
        This builder for chaining.
      • getPath

        public String getPath()
         Relative path of the file under the mount path where the secret value for
         this version is fetched and made available. For example, setting the
         mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
         secret value file at `/etc/secrets/secret_foo`.
         
        string path = 2;
        Specified by:
        getPath in interface SecretVolume.SecretVersionOrBuilder
        Returns:
        The path.
      • getPathBytes

        public com.google.protobuf.ByteString getPathBytes()
         Relative path of the file under the mount path where the secret value for
         this version is fetched and made available. For example, setting the
         mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
         secret value file at `/etc/secrets/secret_foo`.
         
        string path = 2;
        Specified by:
        getPathBytes in interface SecretVolume.SecretVersionOrBuilder
        Returns:
        The bytes for path.
      • setPath

        public SecretVolume.SecretVersion.Builder setPath​(String value)
         Relative path of the file under the mount path where the secret value for
         this version is fetched and made available. For example, setting the
         mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
         secret value file at `/etc/secrets/secret_foo`.
         
        string path = 2;
        Parameters:
        value - The path to set.
        Returns:
        This builder for chaining.
      • clearPath

        public SecretVolume.SecretVersion.Builder clearPath()
         Relative path of the file under the mount path where the secret value for
         this version is fetched and made available. For example, setting the
         mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
         secret value file at `/etc/secrets/secret_foo`.
         
        string path = 2;
        Returns:
        This builder for chaining.
      • setPathBytes

        public SecretVolume.SecretVersion.Builder setPathBytes​(com.google.protobuf.ByteString value)
         Relative path of the file under the mount path where the secret value for
         this version is fetched and made available. For example, setting the
         mount_path as '/etc/secrets' and path as `/secret_foo` mounts the
         secret value file at `/etc/secrets/secret_foo`.
         
        string path = 2;
        Parameters:
        value - The bytes for path to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final SecretVolume.SecretVersion.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<SecretVolume.SecretVersion.Builder>
      • mergeUnknownFields

        public final SecretVolume.SecretVersion.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<SecretVolume.SecretVersion.Builder>