Class NvidiaAttestation.GpuInfo.Builder

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

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

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

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

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

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

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

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

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

      public NvidiaAttestation.GpuInfo.Builder setUuid(String value)
       Optional. The UUID of the GPU 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 GPU device.
       
      string uuid = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setUuidBytes

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

      public String getDriverVersion()
       Optional. The driver version of the GPU.
       
      string driver_version = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDriverVersion in interface NvidiaAttestation.GpuInfoOrBuilder
      Returns:
      The driverVersion.
    • getDriverVersionBytes

      public com.google.protobuf.ByteString getDriverVersionBytes()
       Optional. The driver version of the GPU.
       
      string driver_version = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDriverVersionBytes in interface NvidiaAttestation.GpuInfoOrBuilder
      Returns:
      The bytes for driverVersion.
    • setDriverVersion

      public NvidiaAttestation.GpuInfo.Builder setDriverVersion(String value)
       Optional. The driver version of the GPU.
       
      string driver_version = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The driverVersion to set.
      Returns:
      This builder for chaining.
    • clearDriverVersion

      public NvidiaAttestation.GpuInfo.Builder clearDriverVersion()
       Optional. The driver version of the GPU.
       
      string driver_version = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setDriverVersionBytes

      public NvidiaAttestation.GpuInfo.Builder setDriverVersionBytes(com.google.protobuf.ByteString value)
       Optional. The driver version of the GPU.
       
      string driver_version = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for driverVersion to set.
      Returns:
      This builder for chaining.
    • getVbiosVersion

      public String getVbiosVersion()
       Optional. The vBIOS version of the GPU.
       
      string vbios_version = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVbiosVersion in interface NvidiaAttestation.GpuInfoOrBuilder
      Returns:
      The vbiosVersion.
    • getVbiosVersionBytes

      public com.google.protobuf.ByteString getVbiosVersionBytes()
       Optional. The vBIOS version of the GPU.
       
      string vbios_version = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVbiosVersionBytes in interface NvidiaAttestation.GpuInfoOrBuilder
      Returns:
      The bytes for vbiosVersion.
    • setVbiosVersion

      public NvidiaAttestation.GpuInfo.Builder setVbiosVersion(String value)
       Optional. The vBIOS version of the GPU.
       
      string vbios_version = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The vbiosVersion to set.
      Returns:
      This builder for chaining.
    • clearVbiosVersion

      public NvidiaAttestation.GpuInfo.Builder clearVbiosVersion()
       Optional. The vBIOS version of the GPU.
       
      string vbios_version = 3 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setVbiosVersionBytes

      public NvidiaAttestation.GpuInfo.Builder setVbiosVersionBytes(com.google.protobuf.ByteString value)
       Optional. The vBIOS version of the GPU.
       
      string vbios_version = 3 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for vbiosVersion to set.
      Returns:
      This builder for chaining.
    • getGpuArchitectureTypeValue

      public int getGpuArchitectureTypeValue()
       Optional. The GPU architecture type.
       
      .google.cloud.confidentialcomputing.v1.NvidiaAttestation.GpuArchitectureType gpu_architecture_type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGpuArchitectureTypeValue in interface NvidiaAttestation.GpuInfoOrBuilder
      Returns:
      The enum numeric value on the wire for gpuArchitectureType.
    • setGpuArchitectureTypeValue

      public NvidiaAttestation.GpuInfo.Builder setGpuArchitectureTypeValue(int value)
       Optional. The GPU architecture type.
       
      .google.cloud.confidentialcomputing.v1.NvidiaAttestation.GpuArchitectureType gpu_architecture_type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The enum numeric value on the wire for gpuArchitectureType to set.
      Returns:
      This builder for chaining.
    • getGpuArchitectureType

      public NvidiaAttestation.GpuArchitectureType getGpuArchitectureType()
       Optional. The GPU architecture type.
       
      .google.cloud.confidentialcomputing.v1.NvidiaAttestation.GpuArchitectureType gpu_architecture_type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getGpuArchitectureType in interface NvidiaAttestation.GpuInfoOrBuilder
      Returns:
      The gpuArchitectureType.
    • setGpuArchitectureType

       Optional. The GPU architecture type.
       
      .google.cloud.confidentialcomputing.v1.NvidiaAttestation.GpuArchitectureType gpu_architecture_type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The gpuArchitectureType to set.
      Returns:
      This builder for chaining.
    • clearGpuArchitectureType

      public NvidiaAttestation.GpuInfo.Builder clearGpuArchitectureType()
       Optional. The GPU architecture type.
       
      .google.cloud.confidentialcomputing.v1.NvidiaAttestation.GpuArchitectureType gpu_architecture_type = 4 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • getAttestationCertificateChain

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

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

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

      public com.google.protobuf.ByteString getAttestationReport()
       Optional. The raw attestation report for the GPU 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAttestationReport in interface NvidiaAttestation.GpuInfoOrBuilder
      Returns:
      The attestationReport.
    • setAttestationReport

      public NvidiaAttestation.GpuInfo.Builder setAttestationReport(com.google.protobuf.ByteString value)
       Optional. The raw attestation report for the GPU 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The attestationReport to set.
      Returns:
      This builder for chaining.
    • clearAttestationReport

      public NvidiaAttestation.GpuInfo.Builder clearAttestationReport()
       Optional. The raw attestation report for the GPU 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 = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.