Class SignJwtResponse.Builder (3.34.0)

See more code actions.
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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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() (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
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() (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
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() (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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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) (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
NameDescription
valueString

The keyId to set.

Returns
TypeDescription
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
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) (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
NameDescription
valueString

The signedJwt to set.

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