Class SignJwtResponse (3.31.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
TypeDescription
int

SIGNED_JWT_FIELD_NUMBER

public static final int SIGNED_JWT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SignJwtResponse getDefaultInstance()
Returns
TypeDescription
SignJwtResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SignJwtResponse.Builder newBuilder()
Returns
TypeDescription
SignJwtResponse.Builder

newBuilder(SignJwtResponse prototype)

public static SignJwtResponse.Builder newBuilder(SignJwtResponse prototype)
Parameter
NameDescription
prototypeSignJwtResponse
Returns
TypeDescription
SignJwtResponse.Builder

parseDelimitedFrom(InputStream input)

public static SignJwtResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SignJwtResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SignJwtResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SignJwtResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SignJwtResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SignJwtResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SignJwtResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SignJwtResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SignJwtResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SignJwtResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SignJwtResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SignJwtResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SignJwtResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SignJwtResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SignJwtResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SignJwtResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SignJwtResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SignJwtResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SignJwtResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SignJwtResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SignJwtResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SignJwtResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SignJwtResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SignJwtResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SignJwtResponse> parser()
Returns
TypeDescription
Parser<SignJwtResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SignJwtResponse getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

public Parser<SignJwtResponse> getParserForType()
Returns
TypeDescription
Parser<SignJwtResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SignJwtResponse.Builder newBuilderForType()
Returns
TypeDescription
SignJwtResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SignJwtResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SignJwtResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SignJwtResponse.Builder toBuilder()
Returns
TypeDescription
SignJwtResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException