Class SignBlobResponse.Builder (2.44.0)

public static final class SignBlobResponse.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SignBlobResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SignBlobResponse.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public SignBlobResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public SignBlobResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SignBlobResponse.Builder
Overrides

clearSignedBlob()

public SignBlobResponse.Builder clearSignedBlob()

The signed blob.

bytes signed_blob = 4;

Returns
Type Description
SignBlobResponse.Builder

This builder for chaining.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SignBlobResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SignBlobResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SignBlobResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

public SignBlobResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SignBlobResponse.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final SignBlobResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SignBlobResponse.Builder
Overrides