- 2.56.0 (latest)
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.8
- 2.5.3
- 2.4.4
- 2.3.1
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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > KeyOperationAttestation.BuilderImplements
KeyOperationAttestationOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public KeyOperationAttestation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
KeyOperationAttestation.Builder |
build()
public KeyOperationAttestation build()
Type | Description |
KeyOperationAttestation |
buildPartial()
public KeyOperationAttestation buildPartial()
Type | Description |
KeyOperationAttestation |
clear()
public KeyOperationAttestation.Builder clear()
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];
Type | Description |
KeyOperationAttestation.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public KeyOperationAttestation.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
KeyOperationAttestation.Builder |
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];
Type | Description |
KeyOperationAttestation.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public KeyOperationAttestation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
KeyOperationAttestation.Builder |
clone()
public KeyOperationAttestation.Builder clone()
Type | Description |
KeyOperationAttestation.Builder |
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];
Type | Description |
ByteString | The content. |
getDefaultInstanceForType()
public KeyOperationAttestation getDefaultInstanceForType()
Type | Description |
KeyOperationAttestation |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
Type | Description |
int | The enum numeric value on the wire for format. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(KeyOperationAttestation other)
public KeyOperationAttestation.Builder mergeFrom(KeyOperationAttestation other)
Name | Description |
other | KeyOperationAttestation |
Type | Description |
KeyOperationAttestation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public KeyOperationAttestation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
KeyOperationAttestation.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public KeyOperationAttestation.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
KeyOperationAttestation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final KeyOperationAttestation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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];
Name | Description |
value | ByteString The content to set. |
Type | Description |
KeyOperationAttestation.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public KeyOperationAttestation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
KeyOperationAttestation.Builder |
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];
Name | Description |
value | KeyOperationAttestation.AttestationFormat The format to set. |
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];
Name | Description |
value | int The enum numeric value on the wire for format to set. |
Type | Description |
KeyOperationAttestation.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public KeyOperationAttestation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
KeyOperationAttestation.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final KeyOperationAttestation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
KeyOperationAttestation.Builder |