Class SignJwtResponse (2.54.0)

public final class SignJwtResponse extends GeneratedMessageV3 implements SignJwtResponseOrBuilder

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

public String getKeyId()

The ID of the key used to sign the JWT.

string key_id = 1;

Returns
Type Description
String

The keyId.

getKeyIdBytes()

public ByteString getKeyIdBytes()

The ID of the key used to sign the JWT.

string key_id = 1;

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

public String getSignedJwt()

The signed JWT.

string signed_jwt = 2;

Returns
Type Description
String

The signedJwt.

getSignedJwtBytes()

public ByteString getSignedJwtBytes()

The signed JWT.

string signed_jwt = 2;

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