Class SignBlobResponse.Builder (2.83.0)

public static final class SignBlobResponse.Builder extends GeneratedMessage.Builder<SignBlobResponse.Builder> implements SignBlobResponseOrBuilder

Protobuf type google.iam.credentials.v1.SignBlobResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public SignBlobResponse build()
Returns
Type Description
SignBlobResponse

buildPartial()

public SignBlobResponse buildPartial()
Returns
Type Description
SignBlobResponse

clear()

public SignBlobResponse.Builder clear()
Returns
Type Description
SignBlobResponse.Builder
Overrides

clearKeyId()

public SignBlobResponse.Builder clearKeyId()

The ID of the key used to sign the blob.

string key_id = 1;

Returns
Type Description
SignBlobResponse.Builder

This builder for chaining.

clearSignedBlob()

public SignBlobResponse.Builder clearSignedBlob()

The signed blob.

bytes signed_blob = 4;

Returns
Type Description
SignBlobResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public SignBlobResponse getDefaultInstanceForType()
Returns
Type Description
SignBlobResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKeyId()

public String getKeyId()

The ID of the key used to sign the blob.

string key_id = 1;

Returns
Type Description
String

The keyId.

getKeyIdBytes()

public ByteString getKeyIdBytes()

The ID of the key used to sign the blob.

string key_id = 1;

Returns
Type Description
ByteString

The bytes for keyId.

getSignedBlob()

public ByteString getSignedBlob()

The signed blob.

bytes signed_blob = 4;

Returns
Type Description
ByteString

The signedBlob.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SignBlobResponse other)

public SignBlobResponse.Builder mergeFrom(SignBlobResponse other)
Parameter
Name Description
other SignBlobResponse
Returns
Type Description
SignBlobResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SignBlobResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignBlobResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SignBlobResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SignBlobResponse.Builder
Overrides

setKeyId(String value)

public SignBlobResponse.Builder setKeyId(String value)

The ID of the key used to sign the blob.

string key_id = 1;

Parameter
Name Description
value String

The keyId to set.

Returns
Type Description
SignBlobResponse.Builder

This builder for chaining.

setKeyIdBytes(ByteString value)

public SignBlobResponse.Builder setKeyIdBytes(ByteString value)

The ID of the key used to sign the blob.

string key_id = 1;

Parameter
Name Description
value ByteString

The bytes for keyId to set.

Returns
Type Description
SignBlobResponse.Builder

This builder for chaining.

setSignedBlob(ByteString value)

public SignBlobResponse.Builder setSignedBlob(ByteString value)

The signed blob.

bytes signed_blob = 4;

Parameter
Name Description
value ByteString

The signedBlob to set.

Returns
Type Description
SignBlobResponse.Builder

This builder for chaining.