Class SignBlobRequest.Builder

  • All Implemented Interfaces:
    SignBlobRequestOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
    Enclosing class:
    SignBlobRequest

    public static final class SignBlobRequest.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<SignBlobRequest.Builder>
    implements SignBlobRequestOrBuilder
     Deprecated. [Migrate to Service Account Credentials
     API](https://cloud.google.com/iam/help/credentials/migrate-api).
    
     The service account sign blob request.
     
    Protobuf type google.iam.admin.v1.SignBlobRequest
    • 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<SignBlobRequest.Builder>
      • clear

        public SignBlobRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<SignBlobRequest.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<SignBlobRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public SignBlobRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<SignBlobRequest.Builder>
      • setField

        public SignBlobRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<SignBlobRequest.Builder>
      • clearField

        public SignBlobRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<SignBlobRequest.Builder>
      • clearOneof

        public SignBlobRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<SignBlobRequest.Builder>
      • setRepeatedField

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

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

        public SignBlobRequest.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<SignBlobRequest.Builder>
      • isInitialized

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

        public SignBlobRequest.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<SignBlobRequest.Builder>
        Throws:
        IOException
      • getName

        @Deprecated
        public String getName()
        Deprecated.
        google.iam.admin.v1.SignBlobRequest.name is deprecated. See google/iam/admin/v1/iam.proto;l=974
         Required. Deprecated. [Migrate to Service Account Credentials
         API](https://cloud.google.com/iam/help/credentials/migrate-api).
        
         The resource name of the service account in the following format:
         `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
         Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
         the account. The `ACCOUNT` value can be the `email` address or the
         `unique_id` of the service account.
         
        string name = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getName in interface SignBlobRequestOrBuilder
        Returns:
        The name.
      • getNameBytes

        @Deprecated
        public com.google.protobuf.ByteString getNameBytes()
        Deprecated.
        google.iam.admin.v1.SignBlobRequest.name is deprecated. See google/iam/admin/v1/iam.proto;l=974
         Required. Deprecated. [Migrate to Service Account Credentials
         API](https://cloud.google.com/iam/help/credentials/migrate-api).
        
         The resource name of the service account in the following format:
         `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
         Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
         the account. The `ACCOUNT` value can be the `email` address or the
         `unique_id` of the service account.
         
        string name = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getNameBytes in interface SignBlobRequestOrBuilder
        Returns:
        The bytes for name.
      • setName

        @Deprecated
        public SignBlobRequest.Builder setName​(String value)
        Deprecated.
        google.iam.admin.v1.SignBlobRequest.name is deprecated. See google/iam/admin/v1/iam.proto;l=974
         Required. Deprecated. [Migrate to Service Account Credentials
         API](https://cloud.google.com/iam/help/credentials/migrate-api).
        
         The resource name of the service account in the following format:
         `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
         Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
         the account. The `ACCOUNT` value can be the `email` address or the
         `unique_id` of the service account.
         
        string name = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        @Deprecated
        public SignBlobRequest.Builder clearName()
        Deprecated.
        google.iam.admin.v1.SignBlobRequest.name is deprecated. See google/iam/admin/v1/iam.proto;l=974
         Required. Deprecated. [Migrate to Service Account Credentials
         API](https://cloud.google.com/iam/help/credentials/migrate-api).
        
         The resource name of the service account in the following format:
         `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
         Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
         the account. The `ACCOUNT` value can be the `email` address or the
         `unique_id` of the service account.
         
        string name = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setNameBytes

        @Deprecated
        public SignBlobRequest.Builder setNameBytes​(com.google.protobuf.ByteString value)
        Deprecated.
        google.iam.admin.v1.SignBlobRequest.name is deprecated. See google/iam/admin/v1/iam.proto;l=974
         Required. Deprecated. [Migrate to Service Account Credentials
         API](https://cloud.google.com/iam/help/credentials/migrate-api).
        
         The resource name of the service account in the following format:
         `projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}`.
         Using `-` as a wildcard for the `PROJECT_ID` will infer the project from
         the account. The `ACCOUNT` value can be the `email` address or the
         `unique_id` of the service account.
         
        string name = 1 [deprecated = true, (.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • getBytesToSign

        @Deprecated
        public com.google.protobuf.ByteString getBytesToSign()
        Deprecated.
        google.iam.admin.v1.SignBlobRequest.bytes_to_sign is deprecated. See google/iam/admin/v1/iam.proto;l=986
         Required. Deprecated. [Migrate to Service Account Credentials
         API](https://cloud.google.com/iam/help/credentials/migrate-api).
        
         The bytes to sign.
         
        bytes bytes_to_sign = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Specified by:
        getBytesToSign in interface SignBlobRequestOrBuilder
        Returns:
        The bytesToSign.
      • setBytesToSign

        @Deprecated
        public SignBlobRequest.Builder setBytesToSign​(com.google.protobuf.ByteString value)
        Deprecated.
        google.iam.admin.v1.SignBlobRequest.bytes_to_sign is deprecated. See google/iam/admin/v1/iam.proto;l=986
         Required. Deprecated. [Migrate to Service Account Credentials
         API](https://cloud.google.com/iam/help/credentials/migrate-api).
        
         The bytes to sign.
         
        bytes bytes_to_sign = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytesToSign to set.
        Returns:
        This builder for chaining.
      • clearBytesToSign

        @Deprecated
        public SignBlobRequest.Builder clearBytesToSign()
        Deprecated.
        google.iam.admin.v1.SignBlobRequest.bytes_to_sign is deprecated. See google/iam/admin/v1/iam.proto;l=986
         Required. Deprecated. [Migrate to Service Account Credentials
         API](https://cloud.google.com/iam/help/credentials/migrate-api).
        
         The bytes to sign.
         
        bytes bytes_to_sign = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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