Class VerifyAttestationRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
- com.google.cloud.confidentialcomputing.v1alpha1.VerifyAttestationRequest.Builder
-
- All Implemented Interfaces:
VerifyAttestationRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- VerifyAttestationRequest
public static final class VerifyAttestationRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder> implements VerifyAttestationRequestOrBuilder
A request for an OIDC token, providing all the necessary information needed for this service to verify the plaform state of the requestor.
Protobuf typegoogle.cloud.confidentialcomputing.v1alpha1.VerifyAttestationRequest
-
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
clear
public VerifyAttestationRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
getDefaultInstanceForType
public VerifyAttestationRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public VerifyAttestationRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public VerifyAttestationRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public VerifyAttestationRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
setField
public VerifyAttestationRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
clearField
public VerifyAttestationRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
clearOneof
public VerifyAttestationRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
setRepeatedField
public VerifyAttestationRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
addRepeatedField
public VerifyAttestationRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
mergeFrom
public VerifyAttestationRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VerifyAttestationRequest.Builder>
-
mergeFrom
public VerifyAttestationRequest.Builder mergeFrom(VerifyAttestationRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
mergeFrom
public VerifyAttestationRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<VerifyAttestationRequest.Builder>
- Throws:
IOException
-
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 interfaceVerifyAttestationRequestOrBuilder
- 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 interfaceVerifyAttestationRequestOrBuilder
- Returns:
- The bytes for challenge.
-
setChallenge
public VerifyAttestationRequest.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 VerifyAttestationRequest.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 VerifyAttestationRequest.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.
-
hasGcpCredentials
public boolean hasGcpCredentials()
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1alpha1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasGcpCredentials
in interfaceVerifyAttestationRequestOrBuilder
- Returns:
- Whether the gcpCredentials field is set.
-
getGcpCredentials
public GcpCredentials getGcpCredentials()
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1alpha1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getGcpCredentials
in interfaceVerifyAttestationRequestOrBuilder
- Returns:
- The gcpCredentials.
-
setGcpCredentials
public VerifyAttestationRequest.Builder setGcpCredentials(GcpCredentials value)
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1alpha1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
-
setGcpCredentials
public VerifyAttestationRequest.Builder setGcpCredentials(GcpCredentials.Builder builderForValue)
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1alpha1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
-
mergeGcpCredentials
public VerifyAttestationRequest.Builder mergeGcpCredentials(GcpCredentials value)
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1alpha1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
-
clearGcpCredentials
public VerifyAttestationRequest.Builder clearGcpCredentials()
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1alpha1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getGcpCredentialsBuilder
public GcpCredentials.Builder getGcpCredentialsBuilder()
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1alpha1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
-
getGcpCredentialsOrBuilder
public GcpCredentialsOrBuilder getGcpCredentialsOrBuilder()
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1alpha1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getGcpCredentialsOrBuilder
in interfaceVerifyAttestationRequestOrBuilder
-
hasTpmAttestation
public boolean hasTpmAttestation()
Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.
.google.cloud.confidentialcomputing.v1alpha1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasTpmAttestation
in interfaceVerifyAttestationRequestOrBuilder
- Returns:
- Whether the tpmAttestation field is set.
-
getTpmAttestation
public TpmAttestation getTpmAttestation()
Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.
.google.cloud.confidentialcomputing.v1alpha1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTpmAttestation
in interfaceVerifyAttestationRequestOrBuilder
- Returns:
- The tpmAttestation.
-
setTpmAttestation
public VerifyAttestationRequest.Builder setTpmAttestation(TpmAttestation value)
Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.
.google.cloud.confidentialcomputing.v1alpha1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
-
setTpmAttestation
public VerifyAttestationRequest.Builder setTpmAttestation(TpmAttestation.Builder builderForValue)
Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.
.google.cloud.confidentialcomputing.v1alpha1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
-
mergeTpmAttestation
public VerifyAttestationRequest.Builder mergeTpmAttestation(TpmAttestation value)
Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.
.google.cloud.confidentialcomputing.v1alpha1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
-
clearTpmAttestation
public VerifyAttestationRequest.Builder clearTpmAttestation()
Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.
.google.cloud.confidentialcomputing.v1alpha1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
-
getTpmAttestationBuilder
public TpmAttestation.Builder getTpmAttestationBuilder()
Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.
.google.cloud.confidentialcomputing.v1alpha1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
-
getTpmAttestationOrBuilder
public TpmAttestationOrBuilder getTpmAttestationOrBuilder()
Required. The TPM-specific data provided by the attesting platform, used to populate any of the claims regarding platform state.
.google.cloud.confidentialcomputing.v1alpha1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getTpmAttestationOrBuilder
in interfaceVerifyAttestationRequestOrBuilder
-
setUnknownFields
public final VerifyAttestationRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
mergeUnknownFields
public final VerifyAttestationRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<VerifyAttestationRequest.Builder>
-
-