public static final class KeyOperationAttestation.Builder extends GeneratedMessageV3.Builder<KeyOperationAttestation.Builder> implements KeyOperationAttestationOrBuilder
Contains an HSM-generated attestation about a key operation. For more
information, see Verifying attestations.
Protobuf type google.cloud.kms.v1.KeyOperationAttestation
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KeyOperationAttestation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public KeyOperationAttestation build()
Returns
buildPartial()
public KeyOperationAttestation buildPartial()
Returns
clear()
public KeyOperationAttestation.Builder clear()
Returns
Overrides
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
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
clearField(Descriptors.FieldDescriptor field)
public KeyOperationAttestation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
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
clearOneof(Descriptors.OneofDescriptor oneof)
public KeyOperationAttestation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public KeyOperationAttestation.Builder clone()
Returns
Overrides
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
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
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
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
getDefaultInstanceForType()
public KeyOperationAttestation getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
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
Returns
mergeFrom(KeyOperationAttestation other)
public KeyOperationAttestation.Builder mergeFrom(KeyOperationAttestation other)
Parameter
Returns
public KeyOperationAttestation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public KeyOperationAttestation.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KeyOperationAttestation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
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
Returns
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
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public KeyOperationAttestation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
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
Returns
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 | int
The enum numeric value on the wire for format to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KeyOperationAttestation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final KeyOperationAttestation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides