Class SignJwtResponse.Builder (2.53.0)

public static final class SignJwtResponse.Builder extends GeneratedMessageV3.Builder<SignJwtResponse.Builder> implements SignJwtResponseOrBuilder

Protobuf type google.iam.credentials.v1.SignJwtResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SignJwtResponse build()
Returns
Type Description
SignJwtResponse

buildPartial()

public SignJwtResponse buildPartial()
Returns
Type Description
SignJwtResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public SignJwtResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SignJwtResponse.Builder
Overrides

clearKeyId()

public SignJwtResponse.Builder clearKeyId()

The ID of the key used to sign the JWT.

string key_id = 1;

Returns
Type Description
SignJwtResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSignedJwt()

public SignJwtResponse.Builder clearSignedJwt()

The signed JWT.

string signed_jwt = 2;

Returns
Type Description
SignJwtResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SignJwtResponse getDefaultInstanceForType()
Returns
Type Description
SignJwtResponse

getDescriptorForType()

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

getKeyId()

public String getKeyId()

The ID of the key used to sign the JWT.

string key_id = 1;

Returns
Type Description
String

The keyId.

getKeyIdBytes()

public ByteString getKeyIdBytes()

The ID of the key used to sign the JWT.

string key_id = 1;

Returns
Type Description
ByteString

The bytes for keyId.

getSignedJwt()

public String getSignedJwt()

The signed JWT.

string signed_jwt = 2;

Returns
Type Description
String

The signedJwt.

getSignedJwtBytes()

public ByteString getSignedJwtBytes()

The signed JWT.

string signed_jwt = 2;

Returns
Type Description
ByteString

The bytes for signedJwt.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SignJwtResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setKeyId(String value)

public SignJwtResponse.Builder setKeyId(String value)

The ID of the key used to sign the JWT.

string key_id = 1;

Parameter
Name Description
value String

The keyId to set.

Returns
Type Description
SignJwtResponse.Builder

This builder for chaining.

setKeyIdBytes(ByteString value)

public SignJwtResponse.Builder setKeyIdBytes(ByteString value)

The ID of the key used to sign the JWT.

string key_id = 1;

Parameter
Name Description
value ByteString

The bytes for keyId to set.

Returns
Type Description
SignJwtResponse.Builder

This builder for chaining.

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

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

setSignedJwt(String value)

public SignJwtResponse.Builder setSignedJwt(String value)

The signed JWT.

string signed_jwt = 2;

Parameter
Name Description
value String

The signedJwt to set.

Returns
Type Description
SignJwtResponse.Builder

This builder for chaining.

setSignedJwtBytes(ByteString value)

public SignJwtResponse.Builder setSignedJwtBytes(ByteString value)

The signed JWT.

string signed_jwt = 2;

Parameter
Name Description
value ByteString

The bytes for signedJwt to set.

Returns
Type Description
SignJwtResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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