Class VerifyConfidentialGkeRequest.Builder

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

public static final class VerifyConfidentialGkeRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<VerifyConfidentialGkeRequest.Builder> implements VerifyConfidentialGkeRequestOrBuilder
 A request for an attestation token, providing all the necessary information
 needed for this service to verify Confidential GKE platform state of the
 requestor.
 
Protobuf type google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest
  • 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<VerifyConfidentialGkeRequest.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<VerifyConfidentialGkeRequest.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<VerifyConfidentialGkeRequest.Builder>
    • getDefaultInstanceForType

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

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

      public VerifyConfidentialGkeRequest.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<VerifyConfidentialGkeRequest.Builder>
      Throws:
      IOException
    • getTeeAttestationCase

      public VerifyConfidentialGkeRequest.TeeAttestationCase getTeeAttestationCase()
      Specified by:
      getTeeAttestationCase in interface VerifyConfidentialGkeRequestOrBuilder
    • clearTeeAttestation

      public VerifyConfidentialGkeRequest.Builder clearTeeAttestation()
    • hasTpmAttestation

      public boolean hasTpmAttestation()
       The TPM-specific data provided by the attesting platform, used to
       populate any of the claims regarding platform state.
       
      .google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 2;
      Specified by:
      hasTpmAttestation in interface VerifyConfidentialGkeRequestOrBuilder
      Returns:
      Whether the tpmAttestation field is set.
    • getTpmAttestation

      public TpmAttestation getTpmAttestation()
       The TPM-specific data provided by the attesting platform, used to
       populate any of the claims regarding platform state.
       
      .google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 2;
      Specified by:
      getTpmAttestation in interface VerifyConfidentialGkeRequestOrBuilder
      Returns:
      The tpmAttestation.
    • setTpmAttestation

      public VerifyConfidentialGkeRequest.Builder setTpmAttestation(TpmAttestation value)
       The TPM-specific data provided by the attesting platform, used to
       populate any of the claims regarding platform state.
       
      .google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 2;
    • setTpmAttestation

      public VerifyConfidentialGkeRequest.Builder setTpmAttestation(TpmAttestation.Builder builderForValue)
       The TPM-specific data provided by the attesting platform, used to
       populate any of the claims regarding platform state.
       
      .google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 2;
    • mergeTpmAttestation

      public VerifyConfidentialGkeRequest.Builder mergeTpmAttestation(TpmAttestation value)
       The TPM-specific data provided by the attesting platform, used to
       populate any of the claims regarding platform state.
       
      .google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 2;
    • clearTpmAttestation

      public VerifyConfidentialGkeRequest.Builder clearTpmAttestation()
       The TPM-specific data provided by the attesting platform, used to
       populate any of the claims regarding platform state.
       
      .google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 2;
    • getTpmAttestationBuilder

      public TpmAttestation.Builder getTpmAttestationBuilder()
       The TPM-specific data provided by the attesting platform, used to
       populate any of the claims regarding platform state.
       
      .google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 2;
    • getTpmAttestationOrBuilder

      public TpmAttestationOrBuilder getTpmAttestationOrBuilder()
       The TPM-specific data provided by the attesting platform, used to
       populate any of the claims regarding platform state.
       
      .google.cloud.confidentialcomputing.v1.TpmAttestation tpm_attestation = 2;
      Specified by:
      getTpmAttestationOrBuilder in interface VerifyConfidentialGkeRequestOrBuilder
    • getChallenge

      public String getChallenge()
       Required. The name of the Challenge whose nonce was used to generate the
       attestation, in the format projects/*/locations/*/challenges/*. The
       provided Challenge will be consumed, and cannot be used again.
       
      string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getChallenge in interface VerifyConfidentialGkeRequestOrBuilder
      Returns:
      The challenge.
    • getChallengeBytes

      public com.google.protobuf.ByteString getChallengeBytes()
       Required. The name of the Challenge whose nonce was used to generate the
       attestation, in the format projects/*/locations/*/challenges/*. The
       provided Challenge will be consumed, and cannot be used again.
       
      string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getChallengeBytes in interface VerifyConfidentialGkeRequestOrBuilder
      Returns:
      The bytes for challenge.
    • setChallenge

      public VerifyConfidentialGkeRequest.Builder setChallenge(String value)
       Required. The name of the Challenge whose nonce was used to generate the
       attestation, in the format projects/*/locations/*/challenges/*. The
       provided Challenge will be consumed, and cannot be used again.
       
      string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The challenge to set.
      Returns:
      This builder for chaining.
    • clearChallenge

      public VerifyConfidentialGkeRequest.Builder clearChallenge()
       Required. The name of the Challenge whose nonce was used to generate the
       attestation, in the format projects/*/locations/*/challenges/*. The
       provided Challenge will be consumed, and cannot be used again.
       
      string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Returns:
      This builder for chaining.
    • setChallengeBytes

      public VerifyConfidentialGkeRequest.Builder setChallengeBytes(com.google.protobuf.ByteString value)
       Required. The name of the Challenge whose nonce was used to generate the
       attestation, in the format projects/*/locations/*/challenges/*. The
       provided Challenge will be consumed, and cannot be used again.
       
      string challenge = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Parameters:
      value - The bytes for challenge to set.
      Returns:
      This builder for chaining.
    • hasOptions

      public boolean hasOptions()
       Optional. A collection of fields that modify the token output.
       
      .google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasOptions in interface VerifyConfidentialGkeRequestOrBuilder
      Returns:
      Whether the options field is set.
    • getOptions

       Optional. A collection of fields that modify the token output.
       
      .google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOptions in interface VerifyConfidentialGkeRequestOrBuilder
      Returns:
      The options.
    • setOptions

       Optional. A collection of fields that modify the token output.
       
      .google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • setOptions

       Optional. A collection of fields that modify the token output.
       
      .google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • mergeOptions

       Optional. A collection of fields that modify the token output.
       
      .google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • clearOptions

      public VerifyConfidentialGkeRequest.Builder clearOptions()
       Optional. A collection of fields that modify the token output.
       
      .google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getOptionsBuilder

       Optional. A collection of fields that modify the token output.
       
      .google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getOptionsOrBuilder

       Optional. A collection of fields that modify the token output.
       
      .google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions options = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getOptionsOrBuilder in interface VerifyConfidentialGkeRequestOrBuilder