Class SignJwtResponse (2.41.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
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()

public String getKeyId()

The ID of the key used to sign the JWT.

string key_id = 1;

Returns
TypeDescription
String

The keyId.

getKeyIdBytes()

public ByteString getKeyIdBytes()

The ID of the key used to sign the JWT.

string key_id = 1;

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

public String getSignedJwt()

The signed JWT.

string signed_jwt = 2;

Returns
TypeDescription
String

The signedJwt.

getSignedJwtBytes()

public ByteString getSignedJwtBytes()

The signed JWT.

string signed_jwt = 2;

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