public static final class VerifyAttestationRequest.Builder extends 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 type google.cloud.confidentialcomputing.v1.VerifyAttestationRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VerifyAttestationRequest.BuilderImplements
VerifyAttestationRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VerifyAttestationRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
build()
public VerifyAttestationRequest build()
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
buildPartial()
public VerifyAttestationRequest buildPartial()
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
clear()
public VerifyAttestationRequest.Builder clear()
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
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 | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
This builder for chaining. |
clearConfidentialSpaceInfo()
public VerifyAttestationRequest.Builder clearConfidentialSpaceInfo()
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public VerifyAttestationRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
clearGcpCredentials()
public VerifyAttestationRequest.Builder clearGcpCredentials()
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public VerifyAttestationRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
clearTokenOptions()
public VerifyAttestationRequest.Builder clearTokenOptions()
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
clone()
public VerifyAttestationRequest.Builder clone()
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
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) = { ... }
Returns | |
---|---|
Type | Description |
String |
The challenge. |
getChallengeBytes()
public 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) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for challenge. |
getConfidentialSpaceInfo()
public ConfidentialSpaceInfo getConfidentialSpaceInfo()
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConfidentialSpaceInfo |
The confidentialSpaceInfo. |
getConfidentialSpaceInfoBuilder()
public ConfidentialSpaceInfo.Builder getConfidentialSpaceInfoBuilder()
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConfidentialSpaceInfo.Builder |
getConfidentialSpaceInfoOrBuilder()
public ConfidentialSpaceInfoOrBuilder getConfidentialSpaceInfoOrBuilder()
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ConfidentialSpaceInfoOrBuilder |
getDefaultInstanceForType()
public VerifyAttestationRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getGcpCredentials()
public GcpCredentials getGcpCredentials()
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GcpCredentials |
The gcpCredentials. |
getGcpCredentialsBuilder()
public GcpCredentials.Builder getGcpCredentialsBuilder()
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GcpCredentials.Builder |
getGcpCredentialsOrBuilder()
public GcpCredentialsOrBuilder getGcpCredentialsOrBuilder()
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
GcpCredentialsOrBuilder |
getTokenOptions()
public TokenOptions getTokenOptions()
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TokenOptions |
The tokenOptions. |
getTokenOptionsBuilder()
public TokenOptions.Builder getTokenOptionsBuilder()
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TokenOptions.Builder |
getTokenOptionsOrBuilder()
public TokenOptionsOrBuilder getTokenOptionsOrBuilder()
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TokenOptionsOrBuilder |
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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TpmAttestation |
The tpmAttestation. |
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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TpmAttestation.Builder |
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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TpmAttestationOrBuilder |
hasConfidentialSpaceInfo()
public boolean hasConfidentialSpaceInfo()
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the confidentialSpaceInfo field is set. |
hasGcpCredentials()
public boolean hasGcpCredentials()
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the gcpCredentials field is set. |
hasTokenOptions()
public boolean hasTokenOptions()
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the tokenOptions field is set. |
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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
Whether the tpmAttestation field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeConfidentialSpaceInfo(ConfidentialSpaceInfo value)
public VerifyAttestationRequest.Builder mergeConfidentialSpaceInfo(ConfidentialSpaceInfo value)
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ConfidentialSpaceInfo |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
mergeFrom(VerifyAttestationRequest other)
public VerifyAttestationRequest.Builder mergeFrom(VerifyAttestationRequest other)
Parameter | |
---|---|
Name | Description |
other |
VerifyAttestationRequest |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VerifyAttestationRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VerifyAttestationRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
mergeGcpCredentials(GcpCredentials value)
public VerifyAttestationRequest.Builder mergeGcpCredentials(GcpCredentials value)
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
GcpCredentials |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
mergeTokenOptions(TokenOptions value)
public VerifyAttestationRequest.Builder mergeTokenOptions(TokenOptions value)
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
TokenOptions |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
mergeTpmAttestation(TpmAttestation value)
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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
TpmAttestation |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VerifyAttestationRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
setChallenge(String value)
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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The challenge to set. |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
This builder for chaining. |
setChallengeBytes(ByteString value)
public VerifyAttestationRequest.Builder setChallengeBytes(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) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for challenge to set. |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
This builder for chaining. |
setConfidentialSpaceInfo(ConfidentialSpaceInfo value)
public VerifyAttestationRequest.Builder setConfidentialSpaceInfo(ConfidentialSpaceInfo value)
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ConfidentialSpaceInfo |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
setConfidentialSpaceInfo(ConfidentialSpaceInfo.Builder builderForValue)
public VerifyAttestationRequest.Builder setConfidentialSpaceInfo(ConfidentialSpaceInfo.Builder builderForValue)
Optional. Optional information related to the Confidential Space TEE.
.google.cloud.confidentialcomputing.v1.ConfidentialSpaceInfo confidential_space_info = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
ConfidentialSpaceInfo.Builder |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public VerifyAttestationRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
setGcpCredentials(GcpCredentials value)
public VerifyAttestationRequest.Builder setGcpCredentials(GcpCredentials value)
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
GcpCredentials |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
setGcpCredentials(GcpCredentials.Builder builderForValue)
public VerifyAttestationRequest.Builder setGcpCredentials(GcpCredentials.Builder builderForValue)
Optional. Credentials used to populate the "emails" claim in the claims_token.
.google.cloud.confidentialcomputing.v1.GcpCredentials gcp_credentials = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
GcpCredentials.Builder |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VerifyAttestationRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
setTokenOptions(TokenOptions value)
public VerifyAttestationRequest.Builder setTokenOptions(TokenOptions value)
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
TokenOptions |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
setTokenOptions(TokenOptions.Builder builderForValue)
public VerifyAttestationRequest.Builder setTokenOptions(TokenOptions.Builder builderForValue)
Optional. A collection of optional, workload-specified claims that modify the token output.
.google.cloud.confidentialcomputing.v1.TokenOptions token_options = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
TokenOptions.Builder |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
setTpmAttestation(TpmAttestation value)
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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
TpmAttestation |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
setTpmAttestation(TpmAttestation.Builder builderForValue)
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.v1.TpmAttestation tpm_attestation = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
TpmAttestation.Builder |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VerifyAttestationRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VerifyAttestationRequest.Builder |