Class SevSnpAttestation (0.34.0)

public final class SevSnpAttestation extends GeneratedMessageV3 implements SevSnpAttestationOrBuilder

An SEV-SNP Attestation Report. Contains the attestation report and the certificate bundle that the client collects.

Protobuf type google.cloud.confidentialcomputing.v1.SevSnpAttestation

Static Fields

AUX_BLOB_FIELD_NUMBER

public static final int AUX_BLOB_FIELD_NUMBER
Field Value
Type Description
int

REPORT_FIELD_NUMBER

public static final int REPORT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SevSnpAttestation getDefaultInstance()
Returns
Type Description
SevSnpAttestation

getDescriptor()

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

newBuilder()

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

newBuilder(SevSnpAttestation prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAuxBlob()

public ByteString getAuxBlob()

Optional. Certificate bundle defined in the GHCB protocol definition Format is documented in GHCB revision 2.03, section 4.1.8.1 struct cert_table in this document: https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/specifications/56421.pdf

bytes aux_blob = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The auxBlob.

getDefaultInstanceForType()

public SevSnpAttestation getDefaultInstanceForType()
Returns
Type Description
SevSnpAttestation

getParserForType()

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

getReport()

public ByteString getReport()

Optional. The SEV-SNP Attestation Report Format is in revision 1.55, §7.3 Attestation, Table 22. ATTESTATION_REPORT Structure in this document: https://www.amd.com/content/dam/amd/en/documents/epyc-technical-docs/specifications/56860.pdf

bytes report = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The report.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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