Class TdxCcelAttestation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TdxCcelAttestation.Builder>
com.google.cloud.confidentialcomputing.v1.TdxCcelAttestation.Builder
All Implemented Interfaces:
TdxCcelAttestationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
TdxCcelAttestation

public static final class TdxCcelAttestation.Builder extends com.google.protobuf.GeneratedMessage.Builder<TdxCcelAttestation.Builder> implements TdxCcelAttestationOrBuilder
 A TDX Attestation quote.
 
Protobuf type google.cloud.confidentialcomputing.v1.TdxCcelAttestation
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<TdxCcelAttestation.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<TdxCcelAttestation.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<TdxCcelAttestation.Builder>
    • getDefaultInstanceForType

      public TdxCcelAttestation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public TdxCcelAttestation build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public TdxCcelAttestation buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public TdxCcelAttestation.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TdxCcelAttestation.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<TdxCcelAttestation.Builder>
    • mergeFrom

      public TdxCcelAttestation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<TdxCcelAttestation.Builder>
      Throws:
      IOException
    • getCcelAcpiTable

      public com.google.protobuf.ByteString getCcelAcpiTable()
       Optional. The Confidential Computing Event Log (CCEL) ACPI table. Formatted
       as described in the ACPI Specification 6.5.
       
      bytes ccel_acpi_table = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCcelAcpiTable in interface TdxCcelAttestationOrBuilder
      Returns:
      The ccelAcpiTable.
    • setCcelAcpiTable

      public TdxCcelAttestation.Builder setCcelAcpiTable(com.google.protobuf.ByteString value)
       Optional. The Confidential Computing Event Log (CCEL) ACPI table. Formatted
       as described in the ACPI Specification 6.5.
       
      bytes ccel_acpi_table = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The ccelAcpiTable to set.
      Returns:
      This builder for chaining.
    • clearCcelAcpiTable

      public TdxCcelAttestation.Builder clearCcelAcpiTable()
       Optional. The Confidential Computing Event Log (CCEL) ACPI table. Formatted
       as described in the ACPI Specification 6.5.
       
      bytes ccel_acpi_table = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getCcelData

      public com.google.protobuf.ByteString getCcelData()
       Optional. The CCEL event log. Formatted as described in the UEFI 2.10.
       
      bytes ccel_data = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCcelData in interface TdxCcelAttestationOrBuilder
      Returns:
      The ccelData.
    • setCcelData

      public TdxCcelAttestation.Builder setCcelData(com.google.protobuf.ByteString value)
       Optional. The CCEL event log. Formatted as described in the UEFI 2.10.
       
      bytes ccel_data = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The ccelData to set.
      Returns:
      This builder for chaining.
    • clearCcelData

      public TdxCcelAttestation.Builder clearCcelData()
       Optional. The CCEL event log. Formatted as described in the UEFI 2.10.
       
      bytes ccel_data = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getCanonicalEventLog

      public com.google.protobuf.ByteString getCanonicalEventLog()
       Optional. An Event Log containing additional events measured into the RTMR
       that are not already present in the CCEL.
       
      bytes canonical_event_log = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCanonicalEventLog in interface TdxCcelAttestationOrBuilder
      Returns:
      The canonicalEventLog.
    • setCanonicalEventLog

      public TdxCcelAttestation.Builder setCanonicalEventLog(com.google.protobuf.ByteString value)
       Optional. An Event Log containing additional events measured into the RTMR
       that are not already present in the CCEL.
       
      bytes canonical_event_log = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The canonicalEventLog to set.
      Returns:
      This builder for chaining.
    • clearCanonicalEventLog

      public TdxCcelAttestation.Builder clearCanonicalEventLog()
       Optional. An Event Log containing additional events measured into the RTMR
       that are not already present in the CCEL.
       
      bytes canonical_event_log = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getTdQuote

      public com.google.protobuf.ByteString getTdQuote()
       Optional. The TDX attestation quote from the guest. It contains the RTMR
       values.
       
      bytes td_quote = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTdQuote in interface TdxCcelAttestationOrBuilder
      Returns:
      The tdQuote.
    • setTdQuote

      public TdxCcelAttestation.Builder setTdQuote(com.google.protobuf.ByteString value)
       Optional. The TDX attestation quote from the guest. It contains the RTMR
       values.
       
      bytes td_quote = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The tdQuote to set.
      Returns:
      This builder for chaining.
    • clearTdQuote

      public TdxCcelAttestation.Builder clearTdQuote()
       Optional. The TDX attestation quote from the guest. It contains the RTMR
       values.
       
      bytes td_quote = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.