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

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

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

        public RetrieveLegacySecretKeyRequest 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<RetrieveLegacySecretKeyRequest.Builder>
      • getKey

        public String getKey()
         Required. The public key name linked to the requested secret key in the
         format "projects/{project}/keys/{key}".
         
        string key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getKey in interface RetrieveLegacySecretKeyRequestOrBuilder
        Returns:
        The key.
      • getKeyBytes

        public com.google.protobuf.ByteString getKeyBytes()
         Required. The public key name linked to the requested secret key in the
         format "projects/{project}/keys/{key}".
         
        string key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getKeyBytes in interface RetrieveLegacySecretKeyRequestOrBuilder
        Returns:
        The bytes for key.
      • setKey

        public RetrieveLegacySecretKeyRequest.Builder setKey​(String value)
         Required. The public key name linked to the requested secret key in the
         format "projects/{project}/keys/{key}".
         
        string key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • clearKey

        public RetrieveLegacySecretKeyRequest.Builder clearKey()
         Required. The public key name linked to the requested secret key in the
         format "projects/{project}/keys/{key}".
         
        string key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setKeyBytes

        public RetrieveLegacySecretKeyRequest.Builder setKeyBytes​(com.google.protobuf.ByteString value)
         Required. The public key name linked to the requested secret key in the
         format "projects/{project}/keys/{key}".
         
        string key = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for key to set.
        Returns:
        This builder for chaining.