public static final class KeyOperationAttestation.Builder extends GeneratedMessage.Builder<KeyOperationAttestation.Builder> implements KeyOperationAttestationOrBuilderContains an HSM-generated attestation about a key operation. For more information, see Verifying attestations.
Protobuf type google.cloud.kms.v1.KeyOperationAttestation
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > KeyOperationAttestation.BuilderImplements
KeyOperationAttestationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public KeyOperationAttestation build()| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation |
|
buildPartial()
public KeyOperationAttestation buildPartial()| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation |
|
clear()
public KeyOperationAttestation.Builder clear()| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.Builder |
|
clearCertChains()
public KeyOperationAttestation.Builder clearCertChains()Output only. The certificate chains needed to validate the attestation
.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.Builder |
|
clearContent()
public KeyOperationAttestation.Builder clearContent()Output only. The attestation data provided by the HSM when the key operation was performed.
bytes content = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.Builder |
This builder for chaining. |
clearFormat()
public KeyOperationAttestation.Builder clearFormat()Output only. The format of the attestation data.
.google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.Builder |
This builder for chaining. |
getCertChains()
public KeyOperationAttestation.CertificateChains getCertChains()Output only. The certificate chains needed to validate the attestation
.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.CertificateChains |
The certChains. |
getCertChainsBuilder()
public KeyOperationAttestation.CertificateChains.Builder getCertChainsBuilder()Output only. The certificate chains needed to validate the attestation
.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.CertificateChains.Builder |
|
getCertChainsOrBuilder()
public KeyOperationAttestation.CertificateChainsOrBuilder getCertChainsOrBuilder()Output only. The certificate chains needed to validate the attestation
.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.CertificateChainsOrBuilder |
|
getContent()
public ByteString getContent()Output only. The attestation data provided by the HSM when the key operation was performed.
bytes content = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The content. |
getDefaultInstanceForType()
public KeyOperationAttestation getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFormat()
public KeyOperationAttestation.AttestationFormat getFormat()Output only. The format of the attestation data.
.google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.AttestationFormat |
The format. |
getFormatValue()
public int getFormatValue()Output only. The format of the attestation data.
.google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for format. |
hasCertChains()
public boolean hasCertChains()Output only. The certificate chains needed to validate the attestation
.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the certChains field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCertChains(KeyOperationAttestation.CertificateChains value)
public KeyOperationAttestation.Builder mergeCertChains(KeyOperationAttestation.CertificateChains value)Output only. The certificate chains needed to validate the attestation
.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
KeyOperationAttestation.CertificateChains |
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.Builder |
|
mergeFrom(KeyOperationAttestation other)
public KeyOperationAttestation.Builder mergeFrom(KeyOperationAttestation other)| Parameter | |
|---|---|
| Name | Description |
other |
KeyOperationAttestation |
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public KeyOperationAttestation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public KeyOperationAttestation.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.Builder |
|
setCertChains(KeyOperationAttestation.CertificateChains value)
public KeyOperationAttestation.Builder setCertChains(KeyOperationAttestation.CertificateChains value)Output only. The certificate chains needed to validate the attestation
.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
KeyOperationAttestation.CertificateChains |
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.Builder |
|
setCertChains(KeyOperationAttestation.CertificateChains.Builder builderForValue)
public KeyOperationAttestation.Builder setCertChains(KeyOperationAttestation.CertificateChains.Builder builderForValue)Output only. The certificate chains needed to validate the attestation
.google.cloud.kms.v1.KeyOperationAttestation.CertificateChains cert_chains = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
KeyOperationAttestation.CertificateChains.Builder |
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.Builder |
|
setContent(ByteString value)
public KeyOperationAttestation.Builder setContent(ByteString value)Output only. The attestation data provided by the HSM when the key operation was performed.
bytes content = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe content to set. |
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.Builder |
This builder for chaining. |
setFormat(KeyOperationAttestation.AttestationFormat value)
public KeyOperationAttestation.Builder setFormat(KeyOperationAttestation.AttestationFormat value)Output only. The format of the attestation data.
.google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
KeyOperationAttestation.AttestationFormatThe format to set. |
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.Builder |
This builder for chaining. |
setFormatValue(int value)
public KeyOperationAttestation.Builder setFormatValue(int value)Output only. The format of the attestation data.
.google.cloud.kms.v1.KeyOperationAttestation.AttestationFormat format = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for format to set. |
| Returns | |
|---|---|
| Type | Description |
KeyOperationAttestation.Builder |
This builder for chaining. |