Class SignJwtResponse (3.41.0)

public final class SignJwtResponse extends GeneratedMessageV3 implements SignJwtResponseOrBuilder

Deprecated. Migrate to Service Account Credentials API.

The service account sign JWT response.

Protobuf type google.iam.admin.v1.SignJwtResponse

Static Fields

KEY_ID_FIELD_NUMBER

public static final int KEY_ID_FIELD_NUMBER
Field Value
Type Description
int

SIGNED_JWT_FIELD_NUMBER

public static final int SIGNED_JWT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SignJwtResponse getDefaultInstance()
Returns
Type Description
SignJwtResponse

getDescriptor()

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

newBuilder()

public static SignJwtResponse.Builder newBuilder()
Returns
Type Description
SignJwtResponse.Builder

newBuilder(SignJwtResponse prototype)

public static SignJwtResponse.Builder newBuilder(SignJwtResponse prototype)
Parameter
Name Description
prototype SignJwtResponse
Returns
Type Description
SignJwtResponse.Builder

parseDelimitedFrom(InputStream input)

public static SignJwtResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SignJwtResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SignJwtResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignJwtResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SignJwtResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SignJwtResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SignJwtResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignJwtResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SignJwtResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SignJwtResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SignJwtResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignJwtResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SignJwtResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SignJwtResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SignJwtResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignJwtResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SignJwtResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SignJwtResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SignJwtResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignJwtResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SignJwtResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SignJwtResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SignJwtResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SignJwtResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SignJwtResponse> parser()
Returns
Type Description
Parser<SignJwtResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SignJwtResponse getDefaultInstanceForType()
Returns
Type Description
SignJwtResponse

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.

getParserForType()

public Parser<SignJwtResponse> getParserForType()
Returns
Type Description
Parser<SignJwtResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SignJwtResponse.Builder newBuilderForType()
Returns
Type Description
SignJwtResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SignJwtResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SignJwtResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SignJwtResponse.Builder toBuilder()
Returns
Type Description
SignJwtResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException