Class SevSnpAttestation.Builder (0.37.0)

public static final class SevSnpAttestation.Builder extends GeneratedMessageV3.Builder<SevSnpAttestation.Builder> 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 Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SevSnpAttestation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SevSnpAttestation.Builder
Overrides

build()

public SevSnpAttestation build()
Returns
Type Description
SevSnpAttestation

buildPartial()

public SevSnpAttestation buildPartial()
Returns
Type Description
SevSnpAttestation

clear()

public SevSnpAttestation.Builder clear()
Returns
Type Description
SevSnpAttestation.Builder
Overrides

clearAuxBlob()

public SevSnpAttestation.Builder clearAuxBlob()

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
SevSnpAttestation.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SevSnpAttestation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SevSnpAttestation.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SevSnpAttestation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SevSnpAttestation.Builder
Overrides

clearReport()

public SevSnpAttestation.Builder clearReport()

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
SevSnpAttestation.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SevSnpAttestation other)

public SevSnpAttestation.Builder mergeFrom(SevSnpAttestation other)
Parameter
Name Description
other SevSnpAttestation
Returns
Type Description
SevSnpAttestation.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SevSnpAttestation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SevSnpAttestation.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SevSnpAttestation.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SevSnpAttestation.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SevSnpAttestation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SevSnpAttestation.Builder
Overrides

setAuxBlob(ByteString value)

public SevSnpAttestation.Builder setAuxBlob(ByteString value)

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];

Parameter
Name Description
value ByteString

The auxBlob to set.

Returns
Type Description
SevSnpAttestation.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SevSnpAttestation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SevSnpAttestation.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SevSnpAttestation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SevSnpAttestation.Builder
Overrides

setReport(ByteString value)

public SevSnpAttestation.Builder setReport(ByteString value)

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];

Parameter
Name Description
value ByteString

The report to set.

Returns
Type Description
SevSnpAttestation.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SevSnpAttestation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SevSnpAttestation.Builder
Overrides