Class NvidiaAttestation.SwitchInfo.Builder

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

public static final class NvidiaAttestation.SwitchInfo.Builder extends com.google.protobuf.GeneratedMessage.Builder<NvidiaAttestation.SwitchInfo.Builder> implements NvidiaAttestation.SwitchInfoOrBuilder
 SwitchInfo contains the attestation evidence for a NVSwitch device.
 
Protobuf type google.cloud.confidentialcomputing.v1.NvidiaAttestation.SwitchInfo
  • 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<NvidiaAttestation.SwitchInfo.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<NvidiaAttestation.SwitchInfo.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<NvidiaAttestation.SwitchInfo.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public NvidiaAttestation.SwitchInfo.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<NvidiaAttestation.SwitchInfo.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<NvidiaAttestation.SwitchInfo.Builder>
    • mergeFrom

      public NvidiaAttestation.SwitchInfo.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<NvidiaAttestation.SwitchInfo.Builder>
      Throws:
      IOException
    • getUuid

      public String getUuid()
       Optional. The UUID of the NVSwitch device.
       
      string uuid = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUuid in interface NvidiaAttestation.SwitchInfoOrBuilder
      Returns:
      The uuid.
    • getUuidBytes

      public com.google.protobuf.ByteString getUuidBytes()
       Optional. The UUID of the NVSwitch device.
       
      string uuid = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getUuidBytes in interface NvidiaAttestation.SwitchInfoOrBuilder
      Returns:
      The bytes for uuid.
    • setUuid

       Optional. The UUID of the NVSwitch device.
       
      string uuid = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The uuid to set.
      Returns:
      This builder for chaining.
    • clearUuid

       Optional. The UUID of the NVSwitch device.
       
      string uuid = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setUuidBytes

      public NvidiaAttestation.SwitchInfo.Builder setUuidBytes(com.google.protobuf.ByteString value)
       Optional. The UUID of the NVSwitch device.
       
      string uuid = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for uuid to set.
      Returns:
      This builder for chaining.
    • getAttestationCertificateChain

      public com.google.protobuf.ByteString getAttestationCertificateChain()
       Optional. The raw attestation certificate chain for the NVSwitch device.
       
      bytes attestation_certificate_chain = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAttestationCertificateChain in interface NvidiaAttestation.SwitchInfoOrBuilder
      Returns:
      The attestationCertificateChain.
    • setAttestationCertificateChain

      public NvidiaAttestation.SwitchInfo.Builder setAttestationCertificateChain(com.google.protobuf.ByteString value)
       Optional. The raw attestation certificate chain for the NVSwitch device.
       
      bytes attestation_certificate_chain = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The attestationCertificateChain to set.
      Returns:
      This builder for chaining.
    • clearAttestationCertificateChain

      public NvidiaAttestation.SwitchInfo.Builder clearAttestationCertificateChain()
       Optional. The raw attestation certificate chain for the NVSwitch device.
       
      bytes attestation_certificate_chain = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getAttestationReport

      public com.google.protobuf.ByteString getAttestationReport()
       Optional. The raw attestation report for the NvSwitch device.
       This field contains SPDM request/response defined in
       https://www.dmtf.org/sites/default/files/standards/documents/DSP0274_1.1.0.pdf
       
      bytes attestation_report = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAttestationReport in interface NvidiaAttestation.SwitchInfoOrBuilder
      Returns:
      The attestationReport.
    • setAttestationReport

      public NvidiaAttestation.SwitchInfo.Builder setAttestationReport(com.google.protobuf.ByteString value)
       Optional. The raw attestation report for the NvSwitch device.
       This field contains SPDM request/response defined in
       https://www.dmtf.org/sites/default/files/standards/documents/DSP0274_1.1.0.pdf
       
      bytes attestation_report = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The attestationReport to set.
      Returns:
      This builder for chaining.
    • clearAttestationReport

      public NvidiaAttestation.SwitchInfo.Builder clearAttestationReport()
       Optional. The raw attestation report for the NvSwitch device.
       This field contains SPDM request/response defined in
       https://www.dmtf.org/sites/default/files/standards/documents/DSP0274_1.1.0.pdf
       
      bytes attestation_report = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.