Class VerifyAttestationResponse (0.40.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.v1.VerifyAttestationResponse

Static Fields

OIDC_CLAIMS_TOKEN_FIELD_NUMBER

public static final int OIDC_CLAIMS_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

PARTIAL_ERRORS_FIELD_NUMBER

public static final int PARTIAL_ERRORS_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

getDefaultInstanceForType()

public VerifyAttestationResponse getDefaultInstanceForType()
Returns
Type Description
VerifyAttestationResponse

getOidcClaimsToken()

public String getOidcClaimsToken()

Output only. Same as claims_token, but as a string.

string oidc_claims_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The oidcClaimsToken.

getOidcClaimsTokenBytes()

public ByteString getOidcClaimsTokenBytes()

Output only. Same as claims_token, but as a string.

string oidc_claims_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for oidcClaimsToken.

getParserForType()

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

getPartialErrors(int index)

public Status getPartialErrors(int index)

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.Status

getPartialErrorsCount()

public int getPartialErrorsCount()

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getPartialErrorsList()

public List<Status> getPartialErrorsList()

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<com.google.rpc.Status>

getPartialErrorsOrBuilder(int index)

public StatusOrBuilder getPartialErrorsOrBuilder(int index)

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
com.google.rpc.StatusOrBuilder

getPartialErrorsOrBuilderList()

public List<? extends StatusOrBuilder> getPartialErrorsOrBuilderList()

Output only. A list of messages that carry the partial error details related to VerifyAttestation.

repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.rpc.StatusOrBuilder>

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