Class SignJwtResponse.Builder (3.40.0)

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

Deprecated. Migrate to Service Account Credentials API.

The service account sign JWT response.

Protobuf type google.iam.admin.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() (deprecated)

public SignJwtResponse.Builder clearKeyId()

Deprecated. google.iam.admin.v1.SignJwtResponse.key_id is deprecated. See google/iam/admin/v1/iam.proto;l=1059

Deprecated. Migrate to Service Account Credentials API.

The id of the key used to sign the JWT.

string key_id = 1 [deprecated = true];

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() (deprecated)

public SignJwtResponse.Builder clearSignedJwt()

Deprecated. google.iam.admin.v1.SignJwtResponse.signed_jwt is deprecated. See google/iam/admin/v1/iam.proto;l=1065

Deprecated. Migrate to Service Account Credentials API.

The signed JWT.

string signed_jwt = 2 [deprecated = true];

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() (deprecated)

public String getKeyId()

Deprecated. google.iam.admin.v1.SignJwtResponse.key_id is deprecated. See google/iam/admin/v1/iam.proto;l=1059

Deprecated. Migrate to Service Account Credentials API.

The id of the key used to sign the JWT.

string key_id = 1 [deprecated = true];

Returns
Type Description
String

The keyId.

getKeyIdBytes() (deprecated)

public ByteString getKeyIdBytes()

Deprecated. google.iam.admin.v1.SignJwtResponse.key_id is deprecated. See google/iam/admin/v1/iam.proto;l=1059

Deprecated. Migrate to Service Account Credentials API.

The id of the key used to sign the JWT.

string key_id = 1 [deprecated = true];

Returns
Type Description
ByteString

The bytes for keyId.

getSignedJwt() (deprecated)

public String getSignedJwt()

Deprecated. google.iam.admin.v1.SignJwtResponse.signed_jwt is deprecated. See google/iam/admin/v1/iam.proto;l=1065

Deprecated. Migrate to Service Account Credentials API.

The signed JWT.

string signed_jwt = 2 [deprecated = true];

Returns
Type Description
String

The signedJwt.

getSignedJwtBytes() (deprecated)

public ByteString getSignedJwtBytes()

Deprecated. google.iam.admin.v1.SignJwtResponse.signed_jwt is deprecated. See google/iam/admin/v1/iam.proto;l=1065

Deprecated. Migrate to Service Account Credentials API.

The signed JWT.

string signed_jwt = 2 [deprecated = true];

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) (deprecated)

public SignJwtResponse.Builder setKeyId(String value)

Deprecated. google.iam.admin.v1.SignJwtResponse.key_id is deprecated. See google/iam/admin/v1/iam.proto;l=1059

Deprecated. Migrate to Service Account Credentials API.

The id of the key used to sign the JWT.

string key_id = 1 [deprecated = true];

Parameter
Name Description
value String

The keyId to set.

Returns
Type Description
SignJwtResponse.Builder

This builder for chaining.

setKeyIdBytes(ByteString value) (deprecated)

public SignJwtResponse.Builder setKeyIdBytes(ByteString value)

Deprecated. google.iam.admin.v1.SignJwtResponse.key_id is deprecated. See google/iam/admin/v1/iam.proto;l=1059

Deprecated. Migrate to Service Account Credentials API.

The id of the key used to sign the JWT.

string key_id = 1 [deprecated = true];

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) (deprecated)

public SignJwtResponse.Builder setSignedJwt(String value)

Deprecated. google.iam.admin.v1.SignJwtResponse.signed_jwt is deprecated. See google/iam/admin/v1/iam.proto;l=1065

Deprecated. Migrate to Service Account Credentials API.

The signed JWT.

string signed_jwt = 2 [deprecated = true];

Parameter
Name Description
value String

The signedJwt to set.

Returns
Type Description
SignJwtResponse.Builder

This builder for chaining.

setSignedJwtBytes(ByteString value) (deprecated)

public SignJwtResponse.Builder setSignedJwtBytes(ByteString value)

Deprecated. google.iam.admin.v1.SignJwtResponse.signed_jwt is deprecated. See google/iam/admin/v1/iam.proto;l=1065

Deprecated. Migrate to Service Account Credentials API.

The signed JWT.

string signed_jwt = 2 [deprecated = true];

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