Class SignBlobRequest.Builder (1.1.8)

public static final class SignBlobRequest.Builder extends GeneratedMessageV3.Builder<SignBlobRequest.Builder> implements SignBlobRequestOrBuilder

Deprecated. Migrate to Service Account Credentials API. The service account sign blob request.

Protobuf type google.iam.admin.v1.SignBlobRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SignBlobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SignBlobRequest.Builder
Overrides

build()

public SignBlobRequest build()
Returns
TypeDescription
SignBlobRequest

buildPartial()

public SignBlobRequest buildPartial()
Returns
TypeDescription
SignBlobRequest

clear()

public SignBlobRequest.Builder clear()
Returns
TypeDescription
SignBlobRequest.Builder
Overrides

clearBytesToSign() (deprecated)

public SignBlobRequest.Builder clearBytesToSign()

Deprecated.

Required. Deprecated. Migrate to Service Account Credentials API. The bytes to sign.

bytes bytes_to_sign = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
SignBlobRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SignBlobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
SignBlobRequest.Builder
Overrides

clearName() (deprecated)

public SignBlobRequest.Builder clearName()

Deprecated.

Required. Deprecated. Migrate to Service Account Credentials 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
TypeDescription
SignBlobRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SignBlobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SignBlobRequest.Builder
Overrides

clone()

public SignBlobRequest.Builder clone()
Returns
TypeDescription
SignBlobRequest.Builder
Overrides

getBytesToSign() (deprecated)

public ByteString getBytesToSign()

Deprecated.

Required. Deprecated. Migrate to Service Account Credentials API. The bytes to sign.

bytes bytes_to_sign = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytesToSign.

getDefaultInstanceForType()

public SignBlobRequest getDefaultInstanceForType()
Returns
TypeDescription
SignBlobRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName() (deprecated)

public String getName()

Deprecated.

Required. Deprecated. Migrate to Service Account Credentials 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
TypeDescription
String

The name.

getNameBytes() (deprecated)

public ByteString getNameBytes()

Deprecated.

Required. Deprecated. Migrate to Service Account Credentials 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
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SignBlobRequest other)

public SignBlobRequest.Builder mergeFrom(SignBlobRequest other)
Parameter
NameDescription
otherSignBlobRequest
Returns
TypeDescription
SignBlobRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SignBlobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SignBlobRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public SignBlobRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SignBlobRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SignBlobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SignBlobRequest.Builder
Overrides

setBytesToSign(ByteString value) (deprecated)

public SignBlobRequest.Builder setBytesToSign(ByteString value)

Deprecated.

Required. Deprecated. Migrate to Service Account Credentials API. The bytes to sign.

bytes bytes_to_sign = 2 [deprecated = true, (.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueByteString

The bytesToSign to set.

Returns
TypeDescription
SignBlobRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SignBlobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
SignBlobRequest.Builder
Overrides

setName(String value) (deprecated)

public SignBlobRequest.Builder setName(String value)

Deprecated.

Required. Deprecated. Migrate to Service Account Credentials 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) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
SignBlobRequest.Builder

This builder for chaining.

setNameBytes(ByteString value) (deprecated)

public SignBlobRequest.Builder setNameBytes(ByteString value)

Deprecated.

Required. Deprecated. Migrate to Service Account Credentials 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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
SignBlobRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SignBlobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SignBlobRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final SignBlobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SignBlobRequest.Builder
Overrides