Class SignBlobResponse.Builder (2.2.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SignBlobResponse build()
Returns
TypeDescription
SignBlobResponse

buildPartial()

public SignBlobResponse buildPartial()
Returns
TypeDescription
SignBlobResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKeyId()

public SignBlobResponse.Builder clearKeyId()

The ID of the key used to sign the blob.

string key_id = 1;

Returns
TypeDescription
SignBlobResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSignedBlob()

public SignBlobResponse.Builder clearSignedBlob()

The signed blob.

bytes signed_blob = 4;

Returns
TypeDescription
SignBlobResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SignBlobResponse getDefaultInstanceForType()
Returns
TypeDescription
SignBlobResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKeyId()

public String getKeyId()

The ID of the key used to sign the blob.

string key_id = 1;

Returns
TypeDescription
String

The keyId.

getKeyIdBytes()

public ByteString getKeyIdBytes()

The ID of the key used to sign the blob.

string key_id = 1;

Returns
TypeDescription
ByteString

The bytes for keyId.

getSignedBlob()

public ByteString getSignedBlob()

The signed blob.

bytes signed_blob = 4;

Returns
TypeDescription
ByteString

The signedBlob.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SignBlobResponse other)

public SignBlobResponse.Builder mergeFrom(SignBlobResponse other)
Parameter
NameDescription
otherSignBlobResponse
Returns
TypeDescription
SignBlobResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public SignBlobResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The keyId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for keyId to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SignBlobResponse.Builder
Overrides

setSignedBlob(ByteString value)

public SignBlobResponse.Builder setSignedBlob(ByteString value)

The signed blob.

bytes signed_blob = 4;

Parameter
NameDescription
valueByteString

The signedBlob to set.

Returns
TypeDescription
SignBlobResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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