Class VerifyConfidentialSpaceResponse.Builder

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

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

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

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

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

      public String getAttestationToken()
       Output only. The attestation token issued by this service. 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 VerifyConfidentialSpaceResponseOrBuilder
      Returns:
      The attestationToken.
    • getAttestationTokenBytes

      public com.google.protobuf.ByteString getAttestationTokenBytes()
       Output only. The attestation token issued by this service. 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 VerifyConfidentialSpaceResponseOrBuilder
      Returns:
      The bytes for attestationToken.
    • setAttestationToken

      public VerifyConfidentialSpaceResponse.Builder setAttestationToken(String value)
       Output only. The attestation token issued by this service. 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 VerifyConfidentialSpaceResponse.Builder clearAttestationToken()
       Output only. The attestation token issued by this service. 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 VerifyConfidentialSpaceResponse.Builder setAttestationTokenBytes(com.google.protobuf.ByteString value)
       Output only. The attestation token issued by this service. 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.
    • getPartialErrorsList

      public List<Status> getPartialErrorsList()
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrorsList in interface VerifyConfidentialSpaceResponseOrBuilder
    • getPartialErrorsCount

      public int getPartialErrorsCount()
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrorsCount in interface VerifyConfidentialSpaceResponseOrBuilder
    • getPartialErrors

      public Status getPartialErrors(int index)
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrors in interface VerifyConfidentialSpaceResponseOrBuilder
    • setPartialErrors

      public VerifyConfidentialSpaceResponse.Builder setPartialErrors(int index, Status value)
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setPartialErrors

      public VerifyConfidentialSpaceResponse.Builder setPartialErrors(int index, Status.Builder builderForValue)
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrors

      public VerifyConfidentialSpaceResponse.Builder addPartialErrors(Status value)
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrors

      public VerifyConfidentialSpaceResponse.Builder addPartialErrors(int index, Status value)
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrors

      public VerifyConfidentialSpaceResponse.Builder addPartialErrors(Status.Builder builderForValue)
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addPartialErrors

      public VerifyConfidentialSpaceResponse.Builder addPartialErrors(int index, Status.Builder builderForValue)
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • addAllPartialErrors

      public VerifyConfidentialSpaceResponse.Builder addAllPartialErrors(Iterable<? extends Status> values)
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearPartialErrors

      public VerifyConfidentialSpaceResponse.Builder clearPartialErrors()
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • removePartialErrors

      public VerifyConfidentialSpaceResponse.Builder removePartialErrors(int index)
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.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 VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.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 VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrorsOrBuilder in interface VerifyConfidentialSpaceResponseOrBuilder
    • getPartialErrorsOrBuilderList

      public List<? extends StatusOrBuilder> getPartialErrorsOrBuilderList()
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPartialErrorsOrBuilderList in interface VerifyConfidentialSpaceResponseOrBuilder
    • addPartialErrorsBuilder

      public Status.Builder addPartialErrorsBuilder()
       Output only. A list of messages that carry the partial error details
       related to VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.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 VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.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 VerifyConfidentialSpace. This field is populated by errors
       during container image signature verification, which may reflect problems
       in the provided image signatures. This does not block the issuing of an
       attestation token, but the token will not contain claims for the failed
       image signatures.
       
      repeated .google.rpc.Status partial_errors = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];