public final class KeyOperationAttestation extends GeneratedMessageV3 implements KeyOperationAttestationOrBuilder
Contains an HSM-generated attestation about a key operation. For more
information, see Verifying attestations.
Protobuf type google.cloud.kms.v1.KeyOperationAttestation
Fields
CONTENT_FIELD_NUMBER
public static final int CONTENT_FIELD_NUMBER
Field Value
public static final int FORMAT_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
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
getDefaultInstance()
public static KeyOperationAttestation getDefaultInstance()
Returns
getDefaultInstanceForType()
public KeyOperationAttestation getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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.
|
getParserForType()
public Parser<KeyOperationAttestation> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilder()
public static KeyOperationAttestation.Builder newBuilder()
Returns
newBuilder(KeyOperationAttestation prototype)
public static KeyOperationAttestation.Builder newBuilder(KeyOperationAttestation prototype)
Parameter
Returns
newBuilderForType()
public KeyOperationAttestation.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected KeyOperationAttestation.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public static KeyOperationAttestation parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static KeyOperationAttestation parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static KeyOperationAttestation parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static KeyOperationAttestation parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static KeyOperationAttestation parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static KeyOperationAttestation parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KeyOperationAttestation parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static KeyOperationAttestation parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static KeyOperationAttestation parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static KeyOperationAttestation parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static KeyOperationAttestation parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static KeyOperationAttestation parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<KeyOperationAttestation> parser()
Returns
toBuilder()
public KeyOperationAttestation.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions