Class VerifyConfidentialGkeResponse.Builder

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

public static final class VerifyConfidentialGkeResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<VerifyConfidentialGkeResponse.Builder> implements VerifyConfidentialGkeResponseOrBuilder
 VerifyConfidentialGkeResponse response is returened once a Confidential GKE
 attestation has been successfully verified, containing a signed OIDC token.
 
Protobuf type google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeResponse
  • 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<VerifyConfidentialGkeResponse.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<VerifyConfidentialGkeResponse.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<VerifyConfidentialGkeResponse.Builder>
    • getDefaultInstanceForType

      public VerifyConfidentialGkeResponse 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 VerifyConfidentialGkeResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public VerifyConfidentialGkeResponse.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<VerifyConfidentialGkeResponse.Builder>
      Throws:
      IOException
    • getAttestationToken

      public String getAttestationToken()
       Output only. The attestation token issued by this service for Confidential
       GKE. It contains specific platform claims based on the contents of the
       provided attestation.
       
      string attestation_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAttestationToken in interface VerifyConfidentialGkeResponseOrBuilder
      Returns:
      The attestationToken.
    • getAttestationTokenBytes

      public com.google.protobuf.ByteString getAttestationTokenBytes()
       Output only. The attestation token issued by this service for Confidential
       GKE. It contains specific platform claims based on the contents of the
       provided attestation.
       
      string attestation_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAttestationTokenBytes in interface VerifyConfidentialGkeResponseOrBuilder
      Returns:
      The bytes for attestationToken.
    • setAttestationToken

      public VerifyConfidentialGkeResponse.Builder setAttestationToken(String value)
       Output only. The attestation token issued by this service for Confidential
       GKE. It contains specific platform claims based on the contents of the
       provided attestation.
       
      string attestation_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The attestationToken to set.
      Returns:
      This builder for chaining.
    • clearAttestationToken

      public VerifyConfidentialGkeResponse.Builder clearAttestationToken()
       Output only. The attestation token issued by this service for Confidential
       GKE. It contains specific platform claims based on the contents of the
       provided attestation.
       
      string attestation_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setAttestationTokenBytes

      public VerifyConfidentialGkeResponse.Builder setAttestationTokenBytes(com.google.protobuf.ByteString value)
       Output only. The attestation token issued by this service for Confidential
       GKE. It contains specific platform claims based on the contents of the
       provided attestation.
       
      string attestation_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for attestationToken to set.
      Returns:
      This builder for chaining.