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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KeyOperationAttestation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public KeyOperationAttestation build()
buildPartial()
public KeyOperationAttestation buildPartial()
clear()
public KeyOperationAttestation.Builder clear()
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];
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];
clearField(Descriptors.FieldDescriptor field)
public KeyOperationAttestation.Builder clearField(Descriptors.FieldDescriptor field)
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public KeyOperationAttestation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public KeyOperationAttestation.Builder clone()
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];
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];
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];
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];
getDefaultInstanceForType()
public KeyOperationAttestation getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(KeyOperationAttestation other)
public KeyOperationAttestation.Builder mergeFrom(KeyOperationAttestation other)
public KeyOperationAttestation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public KeyOperationAttestation.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KeyOperationAttestation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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 | ByteString
The content to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public KeyOperationAttestation.Builder setField(Descriptors.FieldDescriptor field, Object value)
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];
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KeyOperationAttestation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final KeyOperationAttestation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides