Class Service.UpdateGatewaySecret.Builder

    • Method Detail

      • getDescriptor

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

        protected com.google.protobuf.MapField internalGetMapField​(int number)
        Overrides:
        internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewaySecret.Builder>
      • internalGetMutableMapField

        protected com.google.protobuf.MapField internalGetMutableMapField​(int number)
        Overrides:
        internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewaySecret.Builder>
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewaySecret.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<Service.UpdateGatewaySecret.Builder>
      • getDefaultInstanceForType

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

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

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

        public Service.UpdateGatewaySecret.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    int index,
                                                                    java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewaySecret.Builder>
      • addRepeatedField

        public Service.UpdateGatewaySecret.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                    java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewaySecret.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Service.UpdateGatewaySecret.Builder>
      • mergeFrom

        public Service.UpdateGatewaySecret.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<Service.UpdateGatewaySecret.Builder>
        Throws:
        java.io.IOException
      • setSecretId

        public Service.UpdateGatewaySecret.Builder setSecretId​(java.lang.String value)
         ID of the secret to update
         
        optional string secret_id = 1;
        Parameters:
        value - The secretId to set.
        Returns:
        This builder for chaining.
      • setSecretIdBytes

        public Service.UpdateGatewaySecret.Builder setSecretIdBytes​(com.google.protobuf.ByteString value)
         ID of the secret to update
         
        optional string secret_id = 1;
        Parameters:
        value - The bytes for secretId to set.
        Returns:
        This builder for chaining.
      • getSecretValueCount

        public int getSecretValueCount()
        Description copied from interface: Service.UpdateGatewaySecretOrBuilder
         Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
         For simple API keys: {"api_key": "sk-xxx"}
         For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
         
        map<string, string> secret_value = 2;
        Specified by:
        getSecretValueCount in interface Service.UpdateGatewaySecretOrBuilder
      • containsSecretValue

        public boolean containsSecretValue​(java.lang.String key)
         Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
         For simple API keys: {"api_key": "sk-xxx"}
         For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
         
        map<string, string> secret_value = 2;
        Specified by:
        containsSecretValue in interface Service.UpdateGatewaySecretOrBuilder
      • getSecretValueMap

        public java.util.Map<java.lang.String,​java.lang.String> getSecretValueMap()
         Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
         For simple API keys: {"api_key": "sk-xxx"}
         For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
         
        map<string, string> secret_value = 2;
        Specified by:
        getSecretValueMap in interface Service.UpdateGatewaySecretOrBuilder
      • getSecretValueOrDefault

        public java.lang.String getSecretValueOrDefault​(java.lang.String key,
                                                        java.lang.String defaultValue)
         Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
         For simple API keys: {"api_key": "sk-xxx"}
         For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
         
        map<string, string> secret_value = 2;
        Specified by:
        getSecretValueOrDefault in interface Service.UpdateGatewaySecretOrBuilder
      • getSecretValueOrThrow

        public java.lang.String getSecretValueOrThrow​(java.lang.String key)
         Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
         For simple API keys: {"api_key": "sk-xxx"}
         For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
         
        map<string, string> secret_value = 2;
        Specified by:
        getSecretValueOrThrow in interface Service.UpdateGatewaySecretOrBuilder
      • removeSecretValue

        public Service.UpdateGatewaySecret.Builder removeSecretValue​(java.lang.String key)
         Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
         For simple API keys: {"api_key": "sk-xxx"}
         For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
         
        map<string, string> secret_value = 2;
      • getMutableSecretValue

        @Deprecated
        public java.util.Map<java.lang.String,​java.lang.String> getMutableSecretValue()
        Deprecated.
        Use alternate mutation accessors instead.
      • putSecretValue

        public Service.UpdateGatewaySecret.Builder putSecretValue​(java.lang.String key,
                                                                  java.lang.String value)
         Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
         For simple API keys: {"api_key": "sk-xxx"}
         For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
         
        map<string, string> secret_value = 2;
      • putAllSecretValue

        public Service.UpdateGatewaySecret.Builder putAllSecretValue​(java.util.Map<java.lang.String,​java.lang.String> values)
         Optional new secret value(s) for key rotation as key-value pairs (empty map = no change).
         For simple API keys: {"api_key": "sk-xxx"}
         For compound credentials: {"aws_access_key_id": "...", "aws_secret_access_key": "..."}
         
        map<string, string> secret_value = 2;
      • hasAuthConfigJson

        public boolean hasAuthConfigJson()
         Optional new auth configuration as JSON string.
         For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
         
        optional string auth_config_json = 4;
        Specified by:
        hasAuthConfigJson in interface Service.UpdateGatewaySecretOrBuilder
        Returns:
        Whether the authConfigJson field is set.
      • getAuthConfigJson

        public java.lang.String getAuthConfigJson()
         Optional new auth configuration as JSON string.
         For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
         
        optional string auth_config_json = 4;
        Specified by:
        getAuthConfigJson in interface Service.UpdateGatewaySecretOrBuilder
        Returns:
        The authConfigJson.
      • getAuthConfigJsonBytes

        public com.google.protobuf.ByteString getAuthConfigJsonBytes()
         Optional new auth configuration as JSON string.
         For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
         
        optional string auth_config_json = 4;
        Specified by:
        getAuthConfigJsonBytes in interface Service.UpdateGatewaySecretOrBuilder
        Returns:
        The bytes for authConfigJson.
      • setAuthConfigJson

        public Service.UpdateGatewaySecret.Builder setAuthConfigJson​(java.lang.String value)
         Optional new auth configuration as JSON string.
         For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
         
        optional string auth_config_json = 4;
        Parameters:
        value - The authConfigJson to set.
        Returns:
        This builder for chaining.
      • clearAuthConfigJson

        public Service.UpdateGatewaySecret.Builder clearAuthConfigJson()
         Optional new auth configuration as JSON string.
         For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
         
        optional string auth_config_json = 4;
        Returns:
        This builder for chaining.
      • setAuthConfigJsonBytes

        public Service.UpdateGatewaySecret.Builder setAuthConfigJsonBytes​(com.google.protobuf.ByteString value)
         Optional new auth configuration as JSON string.
         For multi-auth providers, include "auth_mode" key (e.g., {"auth_mode": "access_keys", "aws_region_name": "us-east-1"})
         
        optional string auth_config_json = 4;
        Parameters:
        value - The bytes for authConfigJson to set.
        Returns:
        This builder for chaining.
      • setUpdatedBy

        public Service.UpdateGatewaySecret.Builder setUpdatedBy​(java.lang.String value)
         Username of the updater
         
        optional string updated_by = 5;
        Parameters:
        value - The updatedBy to set.
        Returns:
        This builder for chaining.
      • setUpdatedByBytes

        public Service.UpdateGatewaySecret.Builder setUpdatedByBytes​(com.google.protobuf.ByteString value)
         Username of the updater
         
        optional string updated_by = 5;
        Parameters:
        value - The bytes for updatedBy to set.
        Returns:
        This builder for chaining.
      • mergeUnknownFields

        public final Service.UpdateGatewaySecret.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<Service.UpdateGatewaySecret.Builder>