Class SecretsConfigDump.DynamicSecret.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<SecretsConfigDump.DynamicSecret.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<SecretsConfigDump.DynamicSecret.Builder>
      • getDefaultInstanceForType

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

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

        public SecretsConfigDump.DynamicSecret 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<SecretsConfigDump.DynamicSecret.Builder>
      • setNameBytes

        public SecretsConfigDump.DynamicSecret.Builder setNameBytes​(com.google.protobuf.ByteString value)
         The name assigned to the secret.
         
        string name = 1;
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • setVersionInfo

        public SecretsConfigDump.DynamicSecret.Builder setVersionInfo​(String value)
         This is the per-resource version information.
         
        string version_info = 2;
        Parameters:
        value - The versionInfo to set.
        Returns:
        This builder for chaining.
      • setVersionInfoBytes

        public SecretsConfigDump.DynamicSecret.Builder setVersionInfoBytes​(com.google.protobuf.ByteString value)
         This is the per-resource version information.
         
        string version_info = 2;
        Parameters:
        value - The bytes for versionInfo to set.
        Returns:
        This builder for chaining.
      • hasLastUpdated

        public boolean hasLastUpdated()
         The timestamp when the secret was last updated.
         
        .google.protobuf.Timestamp last_updated = 3;
        Specified by:
        hasLastUpdated in interface SecretsConfigDump.DynamicSecretOrBuilder
        Returns:
        Whether the lastUpdated field is set.
      • getLastUpdated

        public com.google.protobuf.Timestamp getLastUpdated()
         The timestamp when the secret was last updated.
         
        .google.protobuf.Timestamp last_updated = 3;
        Specified by:
        getLastUpdated in interface SecretsConfigDump.DynamicSecretOrBuilder
        Returns:
        The lastUpdated.
      • setLastUpdated

        public SecretsConfigDump.DynamicSecret.Builder setLastUpdated​(com.google.protobuf.Timestamp value)
         The timestamp when the secret was last updated.
         
        .google.protobuf.Timestamp last_updated = 3;
      • setLastUpdated

        public SecretsConfigDump.DynamicSecret.Builder setLastUpdated​(com.google.protobuf.Timestamp.Builder builderForValue)
         The timestamp when the secret was last updated.
         
        .google.protobuf.Timestamp last_updated = 3;
      • mergeLastUpdated

        public SecretsConfigDump.DynamicSecret.Builder mergeLastUpdated​(com.google.protobuf.Timestamp value)
         The timestamp when the secret was last updated.
         
        .google.protobuf.Timestamp last_updated = 3;
      • getLastUpdatedBuilder

        public com.google.protobuf.Timestamp.Builder getLastUpdatedBuilder()
         The timestamp when the secret was last updated.
         
        .google.protobuf.Timestamp last_updated = 3;
      • hasSecret

        public boolean hasSecret()
         The actual secret information.
         Security sensitive information is redacted (replaced with "[redacted]") for
         private keys and passwords in TLS certificates.
         
        .google.protobuf.Any secret = 4;
        Specified by:
        hasSecret in interface SecretsConfigDump.DynamicSecretOrBuilder
        Returns:
        Whether the secret field is set.
      • getSecret

        public com.google.protobuf.Any getSecret()
         The actual secret information.
         Security sensitive information is redacted (replaced with "[redacted]") for
         private keys and passwords in TLS certificates.
         
        .google.protobuf.Any secret = 4;
        Specified by:
        getSecret in interface SecretsConfigDump.DynamicSecretOrBuilder
        Returns:
        The secret.
      • setSecret

        public SecretsConfigDump.DynamicSecret.Builder setSecret​(com.google.protobuf.Any value)
         The actual secret information.
         Security sensitive information is redacted (replaced with "[redacted]") for
         private keys and passwords in TLS certificates.
         
        .google.protobuf.Any secret = 4;
      • setSecret

        public SecretsConfigDump.DynamicSecret.Builder setSecret​(com.google.protobuf.Any.Builder builderForValue)
         The actual secret information.
         Security sensitive information is redacted (replaced with "[redacted]") for
         private keys and passwords in TLS certificates.
         
        .google.protobuf.Any secret = 4;
      • mergeSecret

        public SecretsConfigDump.DynamicSecret.Builder mergeSecret​(com.google.protobuf.Any value)
         The actual secret information.
         Security sensitive information is redacted (replaced with "[redacted]") for
         private keys and passwords in TLS certificates.
         
        .google.protobuf.Any secret = 4;
      • clearSecret

        public SecretsConfigDump.DynamicSecret.Builder clearSecret()
         The actual secret information.
         Security sensitive information is redacted (replaced with "[redacted]") for
         private keys and passwords in TLS certificates.
         
        .google.protobuf.Any secret = 4;
      • getSecretBuilder

        public com.google.protobuf.Any.Builder getSecretBuilder()
         The actual secret information.
         Security sensitive information is redacted (replaced with "[redacted]") for
         private keys and passwords in TLS certificates.
         
        .google.protobuf.Any secret = 4;
      • getSecretOrBuilder

        public com.google.protobuf.AnyOrBuilder getSecretOrBuilder()
         The actual secret information.
         Security sensitive information is redacted (replaced with "[redacted]") for
         private keys and passwords in TLS certificates.
         
        .google.protobuf.Any secret = 4;
        Specified by:
        getSecretOrBuilder in interface SecretsConfigDump.DynamicSecretOrBuilder