Class VerifyAttestationResponse (0.28.0)

public final class VerifyAttestationResponse extends GeneratedMessageV3 implements VerifyAttestationResponseOrBuilder

A response once an attestation has been successfully verified, containing a signed OIDC token.

Protobuf type google.cloud.confidentialcomputing.v1alpha1.VerifyAttestationResponse

Static Fields

CLAIMS_TOKEN_FIELD_NUMBER

public static final int CLAIMS_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VerifyAttestationResponse getDefaultInstance()
Returns
Type Description
VerifyAttestationResponse

getDescriptor()

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

newBuilder()

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

newBuilder(VerifyAttestationResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getClaimsToken()

public ByteString getClaimsToken()

Output only. The OIDC token issued by this service. It contains specific

platform claims based on the contents of the provided attestation.

bytes claims_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The claimsToken.

getDefaultInstanceForType()

public VerifyAttestationResponse getDefaultInstanceForType()
Returns
Type Description
VerifyAttestationResponse

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 VerifyAttestationResponse.Builder newBuilderForType()
Returns
Type Description
VerifyAttestationResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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