Class SecretsConfigDump.StaticSecret.Builder

    • Field Detail

      • bitField0_

        private int bitField0_
      • name_

        private java.lang.Object name_
      • lastUpdated_

        private com.google.protobuf.Timestamp lastUpdated_
      • lastUpdatedBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,​com.google.protobuf.Timestamp.Builder,​com.google.protobuf.TimestampOrBuilder> lastUpdatedBuilder_
      • secret_

        private com.google.protobuf.Any secret_
      • secretBuilder_

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,​com.google.protobuf.Any.Builder,​com.google.protobuf.AnyOrBuilder> secretBuilder_
    • Constructor Detail

      • Builder

        private Builder()
      • Builder

        private Builder​(com.google.protobuf.AbstractMessage.BuilderParent parent)
    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<SecretsConfigDump.StaticSecret.Builder>
      • maybeForceBuilderInitialization

        private void maybeForceBuilderInitialization()
      • 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.GeneratedMessage.Builder<SecretsConfigDump.StaticSecret.Builder>
      • getDefaultInstanceForType

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

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

        public SecretsConfigDump.StaticSecret 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.GeneratedMessage.Builder<SecretsConfigDump.StaticSecret.Builder>
      • mergeFrom

        public SecretsConfigDump.StaticSecret.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.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<SecretsConfigDump.StaticSecret.Builder>
        Throws:
        java.io.IOException
      • setName

        public SecretsConfigDump.StaticSecret.Builder setName​(java.lang.String value)
         The name assigned to the secret.
         
        string name = 1;
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • setNameBytes

        public SecretsConfigDump.StaticSecret.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.
      • hasLastUpdated

        public boolean hasLastUpdated()
         The timestamp when the secret was last updated.
         
        .google.protobuf.Timestamp last_updated = 2;
        Specified by:
        hasLastUpdated in interface SecretsConfigDump.StaticSecretOrBuilder
        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 = 2;
        Specified by:
        getLastUpdated in interface SecretsConfigDump.StaticSecretOrBuilder
        Returns:
        The lastUpdated.
      • setLastUpdated

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

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

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

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

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Timestamp,​com.google.protobuf.Timestamp.Builder,​com.google.protobuf.TimestampOrBuilder> getLastUpdatedFieldBuilder()
         The timestamp when the secret was last updated.
         
        .google.protobuf.Timestamp last_updated = 2;
      • 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 = 3;
        Specified by:
        hasSecret in interface SecretsConfigDump.StaticSecretOrBuilder
        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 = 3;
        Specified by:
        getSecret in interface SecretsConfigDump.StaticSecretOrBuilder
        Returns:
        The secret.
      • setSecret

        public SecretsConfigDump.StaticSecret.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 = 3;
      • setSecret

        public SecretsConfigDump.StaticSecret.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 = 3;
      • mergeSecret

        public SecretsConfigDump.StaticSecret.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 = 3;
      • clearSecret

        public SecretsConfigDump.StaticSecret.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 = 3;
      • 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 = 3;
      • 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 = 3;
        Specified by:
        getSecretOrBuilder in interface SecretsConfigDump.StaticSecretOrBuilder
      • getSecretFieldBuilder

        private com.google.protobuf.SingleFieldBuilder<com.google.protobuf.Any,​com.google.protobuf.Any.Builder,​com.google.protobuf.AnyOrBuilder> getSecretFieldBuilder()
         The actual secret information.
         Security sensitive information is redacted (replaced with "[redacted]") for
         private keys and passwords in TLS certificates.
         
        .google.protobuf.Any secret = 3;