public static final class VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder extends GeneratedMessage.Builder<VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder> implements VerifyConfidentialGkeRequest.ConfidentialGkeOptionsOrBuilderToken options for Confidential GKE attestation.
Protobuf type
google.cloud.confidentialcomputing.v1.VerifyConfidentialGkeRequest.ConfidentialGkeOptions
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > VerifyConfidentialGkeRequest.ConfidentialGkeOptions.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllNonce(Iterable<String> values)
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder addAllNonce(Iterable<String> values)Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The nonce to add. |
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
This builder for chaining. |
addNonce(String value)
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder addNonce(String value)Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nonce to add. |
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
This builder for chaining. |
addNonceBytes(ByteString value)
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder addNonceBytes(ByteString value)Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the nonce to add. |
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
This builder for chaining. |
build()
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions build()| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions |
|
buildPartial()
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions buildPartial()| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions |
|
clear()
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder clear()| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
|
clearAudience()
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder clearAudience()Optional. Optional string to issue the token with a custom audience claim. Required if custom nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
This builder for chaining. |
clearNonce()
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder clearNonce()Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
This builder for chaining. |
clearSignatureType()
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder clearSignatureType()Optional. Optional specification for how to sign the attestation token. Defaults to SIGNATURE_TYPE_OIDC if unspecified.
.google.cloud.confidentialcomputing.v1.SignatureType signature_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
This builder for chaining. |
getAudience()
public String getAudience()Optional. Optional string to issue the token with a custom audience claim. Required if custom nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The audience. |
getAudienceBytes()
public ByteString getAudienceBytes()Optional. Optional string to issue the token with a custom audience claim. Required if custom nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for audience. |
getDefaultInstanceForType()
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNonce(int index)
public String getNonce(int index)Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The nonce at the given index. |
getNonceBytes(int index)
public ByteString getNonceBytes(int index)Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the nonce at the given index. |
getNonceCount()
public int getNonceCount()Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of nonce. |
getNonceList()
public ProtocolStringList getNonceList()Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the nonce. |
getSignatureType()
public SignatureType getSignatureType()Optional. Optional specification for how to sign the attestation token. Defaults to SIGNATURE_TYPE_OIDC if unspecified.
.google.cloud.confidentialcomputing.v1.SignatureType signature_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SignatureType |
The signatureType. |
getSignatureTypeValue()
public int getSignatureTypeValue()Optional. Optional specification for how to sign the attestation token. Defaults to SIGNATURE_TYPE_OIDC if unspecified.
.google.cloud.confidentialcomputing.v1.SignatureType signature_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for signatureType. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(VerifyConfidentialGkeRequest.ConfidentialGkeOptions other)
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder mergeFrom(VerifyConfidentialGkeRequest.ConfidentialGkeOptions other)| Parameter | |
|---|---|
| Name | Description |
other |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions |
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
|
setAudience(String value)
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder setAudience(String value)Optional. Optional string to issue the token with a custom audience claim. Required if custom nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe audience to set. |
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
This builder for chaining. |
setAudienceBytes(ByteString value)
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder setAudienceBytes(ByteString value)Optional. Optional string to issue the token with a custom audience claim. Required if custom nonces are specified.
string audience = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for audience to set. |
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
This builder for chaining. |
setNonce(int index, String value)
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder setNonce(int index, String value)Optional. Optional parameter to place one or more nonces in the eat_nonce claim in the output token. The minimum size for JSON-encoded EATs is 10 bytes and the maximum size is 74 bytes.
repeated string nonce = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe nonce to set. |
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
This builder for chaining. |
setSignatureType(SignatureType value)
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder setSignatureType(SignatureType value)Optional. Optional specification for how to sign the attestation token. Defaults to SIGNATURE_TYPE_OIDC if unspecified.
.google.cloud.confidentialcomputing.v1.SignatureType signature_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SignatureTypeThe signatureType to set. |
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
This builder for chaining. |
setSignatureTypeValue(int value)
public VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder setSignatureTypeValue(int value)Optional. Optional specification for how to sign the attestation token. Defaults to SIGNATURE_TYPE_OIDC if unspecified.
.google.cloud.confidentialcomputing.v1.SignatureType signature_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for signatureType to set. |
| Returns | |
|---|---|
| Type | Description |
VerifyConfidentialGkeRequest.ConfidentialGkeOptions.Builder |
This builder for chaining. |