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] (https://cloud.google.com/kms/docs/attest-key).Protobuf type
google.cloud.kms.v1.KeyOperationAttestation
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<KeyOperationAttestation.Builder>
public KeyOperationAttestation.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<KeyOperationAttestation.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<KeyOperationAttestation.Builder>
public KeyOperationAttestation getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public KeyOperationAttestation build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public KeyOperationAttestation buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public KeyOperationAttestation.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<KeyOperationAttestation.Builder>
public KeyOperationAttestation.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<KeyOperationAttestation.Builder>
public KeyOperationAttestation.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<KeyOperationAttestation.Builder>
public KeyOperationAttestation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<KeyOperationAttestation.Builder>
public KeyOperationAttestation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<KeyOperationAttestation.Builder>
public KeyOperationAttestation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<KeyOperationAttestation.Builder>
public KeyOperationAttestation.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<KeyOperationAttestation.Builder>
public KeyOperationAttestation.Builder mergeFrom(KeyOperationAttestation other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<KeyOperationAttestation.Builder>
public KeyOperationAttestation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<KeyOperationAttestation.Builder>
IOException
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];
getFormatValue
in interface KeyOperationAttestationOrBuilder
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];
value
- The enum numeric value on the wire for format to set.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];
getFormat
in interface KeyOperationAttestationOrBuilder
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];
value
- The format to set.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];
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];
getContent
in interface KeyOperationAttestationOrBuilder
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];
value
- The content to set.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];
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];
hasCertChains
in interface KeyOperationAttestationOrBuilder
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];
getCertChains
in interface KeyOperationAttestationOrBuilder
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];
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];
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];
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];
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];
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];
getCertChainsOrBuilder
in interface KeyOperationAttestationOrBuilder
public final KeyOperationAttestation.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<KeyOperationAttestation.Builder>
public final KeyOperationAttestation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<KeyOperationAttestation.Builder>
Copyright © 2022 Google LLC. All rights reserved.