Class VerifyAttestationResponse.Builder

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

public static final class VerifyAttestationResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<VerifyAttestationResponse.Builder> implements VerifyAttestationResponseOrBuilder
 A response once an attestation has been successfully verified, containing a
 signed attestation token.
 
Protobuf type google.cloud.confidentialcomputing.v1.VerifyAttestationResponse
  • 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<VerifyAttestationResponse.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<VerifyAttestationResponse.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<VerifyAttestationResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

      public VerifyAttestationResponse.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<VerifyAttestationResponse.Builder>
      Throws:
      IOException
    • getOidcClaimsToken

      public String getOidcClaimsToken()
       Output only. Same as claims_token, but as a string.
       
      string oidc_claims_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOidcClaimsToken in interface VerifyAttestationResponseOrBuilder
      Returns:
      The oidcClaimsToken.
    • getOidcClaimsTokenBytes

      public com.google.protobuf.ByteString getOidcClaimsTokenBytes()
       Output only. Same as claims_token, but as a string.
       
      string oidc_claims_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOidcClaimsTokenBytes in interface VerifyAttestationResponseOrBuilder
      Returns:
      The bytes for oidcClaimsToken.
    • setOidcClaimsToken

      public VerifyAttestationResponse.Builder setOidcClaimsToken(String value)
       Output only. Same as claims_token, but as a string.
       
      string oidc_claims_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The oidcClaimsToken to set.
      Returns:
      This builder for chaining.
    • clearOidcClaimsToken

      public VerifyAttestationResponse.Builder clearOidcClaimsToken()
       Output only. Same as claims_token, but as a string.
       
      string oidc_claims_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setOidcClaimsTokenBytes

      public VerifyAttestationResponse.Builder setOidcClaimsTokenBytes(com.google.protobuf.ByteString value)
       Output only. Same as claims_token, but as a string.
       
      string oidc_claims_token = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for oidcClaimsToken to set.
      Returns:
      This builder for chaining.
    • getPartialErrorsList

      public List<Status> getPartialErrorsList()
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrorsList in interface VerifyAttestationResponseOrBuilder
    • getPartialErrorsCount

      public int getPartialErrorsCount()
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrorsCount in interface VerifyAttestationResponseOrBuilder
    • getPartialErrors

      public Status getPartialErrors(int index)
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrors in interface VerifyAttestationResponseOrBuilder
    • setPartialErrors

      public VerifyAttestationResponse.Builder setPartialErrors(int index, Status value)
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPartialErrors

      public VerifyAttestationResponse.Builder setPartialErrors(int index, Status.Builder builderForValue)
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrors

      public VerifyAttestationResponse.Builder addPartialErrors(Status value)
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrors

      public VerifyAttestationResponse.Builder addPartialErrors(int index, Status value)
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrors

      public VerifyAttestationResponse.Builder addPartialErrors(Status.Builder builderForValue)
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrors

      public VerifyAttestationResponse.Builder addPartialErrors(int index, Status.Builder builderForValue)
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllPartialErrors

      public VerifyAttestationResponse.Builder addAllPartialErrors(Iterable<? extends Status> values)
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPartialErrors

      public VerifyAttestationResponse.Builder clearPartialErrors()
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removePartialErrors

      public VerifyAttestationResponse.Builder removePartialErrors(int index)
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPartialErrorsBuilder

      public Status.Builder getPartialErrorsBuilder(int index)
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPartialErrorsOrBuilder

      public StatusOrBuilder getPartialErrorsOrBuilder(int index)
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrorsOrBuilder in interface VerifyAttestationResponseOrBuilder
    • getPartialErrorsOrBuilderList

      public List<? extends StatusOrBuilder> getPartialErrorsOrBuilderList()
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrorsOrBuilderList in interface VerifyAttestationResponseOrBuilder
    • addPartialErrorsBuilder

      public Status.Builder addPartialErrorsBuilder()
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrorsBuilder

      public Status.Builder addPartialErrorsBuilder(int index)
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getPartialErrorsBuilderList

      public List<Status.Builder> getPartialErrorsBuilderList()
       Output only. A list of messages that carry the partial error details
       related to VerifyAttestation.
       
      repeated .google.rpc.Status partial_errors = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];