Class SignJwtResponse.Builder (2.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SignJwtResponse build()
Returns
TypeDescription
SignJwtResponse

buildPartial()

public SignJwtResponse buildPartial()
Returns
TypeDescription
SignJwtResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearKeyId()

public SignJwtResponse.Builder clearKeyId()

The ID of the key used to sign the JWT.

string key_id = 1;

Returns
TypeDescription
SignJwtResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSignedJwt()

public SignJwtResponse.Builder clearSignedJwt()

The signed JWT.

string signed_jwt = 2;

Returns
TypeDescription
SignJwtResponse.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SignJwtResponse getDefaultInstanceForType()
Returns
TypeDescription
SignJwtResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getKeyId()

public String getKeyId()

The ID of the key used to sign the JWT.

string key_id = 1;

Returns
TypeDescription
String

The keyId.

getKeyIdBytes()

public ByteString getKeyIdBytes()

The ID of the key used to sign the JWT.

string key_id = 1;

Returns
TypeDescription
ByteString

The bytes for keyId.

getSignedJwt()

public String getSignedJwt()

The signed JWT.

string signed_jwt = 2;

Returns
TypeDescription
String

The signedJwt.

getSignedJwtBytes()

public ByteString getSignedJwtBytes()

The signed JWT.

string signed_jwt = 2;

Returns
TypeDescription
ByteString

The bytes for signedJwt.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SignJwtResponse other)

public SignJwtResponse.Builder mergeFrom(SignJwtResponse other)
Parameter
NameDescription
otherSignJwtResponse
Returns
TypeDescription
SignJwtResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The keyId to set.

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

The bytes for keyId to set.

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

setSignedJwt(String value)

public SignJwtResponse.Builder setSignedJwt(String value)

The signed JWT.

string signed_jwt = 2;

Parameter
NameDescription
valueString

The signedJwt to set.

Returns
TypeDescription
SignJwtResponse.Builder

This builder for chaining.

setSignedJwtBytes(ByteString value)

public SignJwtResponse.Builder setSignedJwtBytes(ByteString value)

The signed JWT.

string signed_jwt = 2;

Parameter
NameDescription
valueByteString

The bytes for signedJwt to set.

Returns
TypeDescription
SignJwtResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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