public static final class VerifyAttestationResponse.Builder extends GeneratedMessageV3.Builder<VerifyAttestationResponse.Builder> implements VerifyAttestationResponseOrBuilder
A response once an attestation has been successfully verified, containing a signed OIDC token.
Protobuf type google.cloud.confidentialcomputing.v1alpha1.VerifyAttestationResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > VerifyAttestationResponse.BuilderImplements
VerifyAttestationResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VerifyAttestationResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder |
build()
public VerifyAttestationResponse build()
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse |
buildPartial()
public VerifyAttestationResponse buildPartial()
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse |
clear()
public VerifyAttestationResponse.Builder clear()
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder |
clearClaimsToken()
public VerifyAttestationResponse.Builder clearClaimsToken()
Output only. The OIDC token issued by this service. It contains specific
platform claims based on the contents of the provided attestation.
bytes claims_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public VerifyAttestationResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public VerifyAttestationResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder |
clone()
public VerifyAttestationResponse.Builder clone()
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder |
getClaimsToken()
public ByteString getClaimsToken()
Output only. The OIDC token issued by this service. It contains specific
platform claims based on the contents of the provided attestation.
bytes claims_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
ByteString | The claimsToken. |
getDefaultInstanceForType()
public VerifyAttestationResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(VerifyAttestationResponse other)
public VerifyAttestationResponse.Builder mergeFrom(VerifyAttestationResponse other)
Parameter | |
---|---|
Name | Description |
other | VerifyAttestationResponse |
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VerifyAttestationResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public VerifyAttestationResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VerifyAttestationResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder |
setClaimsToken(ByteString value)
public VerifyAttestationResponse.Builder setClaimsToken(ByteString value)
Output only. The OIDC token issued by this service. It contains specific
platform claims based on the contents of the provided attestation.
bytes claims_token = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value | ByteString The claimsToken to set. |
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public VerifyAttestationResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VerifyAttestationResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final VerifyAttestationResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
VerifyAttestationResponse.Builder |