public final class MacVerifyResponse extends GeneratedMessageV3 implements MacVerifyResponseOrBuilder
Response message for [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify].Protobuf type
google.cloud.kms.v1.MacVerifyResponse
Modifier and Type | Class and Description |
---|---|
static class |
MacVerifyResponse.Builder
Response message for
[KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify].
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
NAME_FIELD_NUMBER |
static int |
PROTECTION_LEVEL_FIELD_NUMBER |
static int |
SUCCESS_FIELD_NUMBER |
static int |
VERIFIED_DATA_CRC32C_FIELD_NUMBER |
static int |
VERIFIED_MAC_CRC32C_FIELD_NUMBER |
static int |
VERIFIED_SUCCESS_INTEGRITY_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static MacVerifyResponse |
getDefaultInstance() |
MacVerifyResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
String |
getName()
The resource name of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
verification.
|
ByteString |
getNameBytes()
The resource name of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
verification.
|
Parser<MacVerifyResponse> |
getParserForType() |
ProtectionLevel |
getProtectionLevel()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
verification.
|
int |
getProtectionLevelValue()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
verification.
|
int |
getSerializedSize() |
boolean |
getSuccess()
This field indicates whether or not the verification operation for
[MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over
[MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was
successful.
|
UnknownFieldSet |
getUnknownFields() |
boolean |
getVerifiedDataCrc32C()
Integrity verification field.
|
boolean |
getVerifiedMacCrc32C()
Integrity verification field.
|
boolean |
getVerifiedSuccessIntegrity()
Integrity verification field.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MacVerifyResponse.Builder |
newBuilder() |
static MacVerifyResponse.Builder |
newBuilder(MacVerifyResponse prototype) |
MacVerifyResponse.Builder |
newBuilderForType() |
protected MacVerifyResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static MacVerifyResponse |
parseDelimitedFrom(InputStream input) |
static MacVerifyResponse |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static MacVerifyResponse |
parseFrom(byte[] data) |
static MacVerifyResponse |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static MacVerifyResponse |
parseFrom(ByteBuffer data) |
static MacVerifyResponse |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static MacVerifyResponse |
parseFrom(ByteString data) |
static MacVerifyResponse |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static MacVerifyResponse |
parseFrom(CodedInputStream input) |
static MacVerifyResponse |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static MacVerifyResponse |
parseFrom(InputStream input) |
static MacVerifyResponse |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<MacVerifyResponse> |
parser() |
MacVerifyResponse.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int NAME_FIELD_NUMBER
public static final int SUCCESS_FIELD_NUMBER
public static final int VERIFIED_DATA_CRC32C_FIELD_NUMBER
public static final int VERIFIED_MAC_CRC32C_FIELD_NUMBER
public static final int VERIFIED_SUCCESS_INTEGRITY_FIELD_NUMBER
public static final int PROTECTION_LEVEL_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getName()
The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification. Check this field to verify that the intended resource was used for verification.
string name = 1;
getName
in interface MacVerifyResponseOrBuilder
public ByteString getNameBytes()
The resource name of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification. Check this field to verify that the intended resource was used for verification.
string name = 1;
getNameBytes
in interface MacVerifyResponseOrBuilder
public boolean getSuccess()
This field indicates whether or not the verification operation for [MacVerifyRequest.mac][google.cloud.kms.v1.MacVerifyRequest.mac] over [MacVerifyRequest.data][google.cloud.kms.v1.MacVerifyRequest.data] was successful.
bool success = 2;
getSuccess
in interface MacVerifyResponseOrBuilder
public boolean getVerifiedDataCrc32C()
Integrity verification field. A flag indicating whether [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the [data][google.cloud.kms.v1.MacVerifyRequest.data]. A false value of this field indicates either that [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [MacVerifyRequest.data_crc32c][google.cloud.kms.v1.MacVerifyRequest.data_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_data_crc32c = 3;
getVerifiedDataCrc32C
in interface MacVerifyResponseOrBuilder
public boolean getVerifiedMacCrc32C()
Integrity verification field. A flag indicating whether [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was received by [KeyManagementService][google.cloud.kms.v1.KeyManagementService] and used for the integrity verification of the [data][google.cloud.kms.v1.MacVerifyRequest.mac]. A false value of this field indicates either that [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] was left unset or that it was not delivered to [KeyManagementService][google.cloud.kms.v1.KeyManagementService]. If you've set [MacVerifyRequest.mac_crc32c][google.cloud.kms.v1.MacVerifyRequest.mac_crc32c] but this field is still false, discard the response and perform a limited number of retries.
bool verified_mac_crc32c = 4;
getVerifiedMacCrc32C
in interface MacVerifyResponseOrBuilder
public boolean getVerifiedSuccessIntegrity()
Integrity verification field. This value is used for the integrity verification of [MacVerifyResponse.success]. If the value of this field contradicts the value of [MacVerifyResponse.success], discard the response and perform a limited number of retries.
bool verified_success_integrity = 5;
getVerifiedSuccessIntegrity
in interface MacVerifyResponseOrBuilder
public int getProtectionLevelValue()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
.google.cloud.kms.v1.ProtectionLevel protection_level = 6;
getProtectionLevelValue
in interface MacVerifyResponseOrBuilder
public ProtectionLevel getProtectionLevel()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the [CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for verification.
.google.cloud.kms.v1.ProtectionLevel protection_level = 6;
getProtectionLevel
in interface MacVerifyResponseOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static MacVerifyResponse parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MacVerifyResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MacVerifyResponse parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MacVerifyResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MacVerifyResponse parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MacVerifyResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static MacVerifyResponse parseFrom(InputStream input) throws IOException
IOException
public static MacVerifyResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MacVerifyResponse parseDelimitedFrom(InputStream input) throws IOException
IOException
public static MacVerifyResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MacVerifyResponse parseFrom(CodedInputStream input) throws IOException
IOException
public static MacVerifyResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public MacVerifyResponse.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static MacVerifyResponse.Builder newBuilder()
public static MacVerifyResponse.Builder newBuilder(MacVerifyResponse prototype)
public MacVerifyResponse.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected MacVerifyResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static MacVerifyResponse getDefaultInstance()
public static Parser<MacVerifyResponse> parser()
public Parser<MacVerifyResponse> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public MacVerifyResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.