public static final class MacVerifyResponse.Builder extends GeneratedMessageV3.Builder<MacVerifyResponse.Builder> implements MacVerifyResponseOrBuilder
Response message for [KeyManagementService.MacVerify][google.cloud.kms.v1.KeyManagementService.MacVerify].Protobuf type
google.cloud.kms.v1.MacVerifyResponse
Modifier and Type | Method and Description |
---|---|
MacVerifyResponse.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
Object value) |
MacVerifyResponse |
build() |
MacVerifyResponse |
buildPartial() |
MacVerifyResponse.Builder |
clear() |
MacVerifyResponse.Builder |
clearField(Descriptors.FieldDescriptor field) |
MacVerifyResponse.Builder |
clearName()
The resource name of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
verification.
|
MacVerifyResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
MacVerifyResponse.Builder |
clearProtectionLevel()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
verification.
|
MacVerifyResponse.Builder |
clearSuccess()
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.
|
MacVerifyResponse.Builder |
clearVerifiedDataCrc32C()
Integrity verification field.
|
MacVerifyResponse.Builder |
clearVerifiedMacCrc32C()
Integrity verification field.
|
MacVerifyResponse.Builder |
clearVerifiedSuccessIntegrity()
Integrity verification field.
|
MacVerifyResponse.Builder |
clone() |
MacVerifyResponse |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
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.
|
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.
|
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.
|
boolean |
getVerifiedDataCrc32C()
Integrity verification field.
|
boolean |
getVerifiedMacCrc32C()
Integrity verification field.
|
boolean |
getVerifiedSuccessIntegrity()
Integrity verification field.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MacVerifyResponse.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
MacVerifyResponse.Builder |
mergeFrom(MacVerifyResponse other) |
MacVerifyResponse.Builder |
mergeFrom(Message other) |
MacVerifyResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
MacVerifyResponse.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
MacVerifyResponse.Builder |
setName(String value)
The resource name of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
verification.
|
MacVerifyResponse.Builder |
setNameBytes(ByteString value)
The resource name of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
verification.
|
MacVerifyResponse.Builder |
setProtectionLevel(ProtectionLevel value)
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
verification.
|
MacVerifyResponse.Builder |
setProtectionLevelValue(int value)
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] of the
[CryptoKeyVersion][google.cloud.kms.v1.CryptoKeyVersion] used for
verification.
|
MacVerifyResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
MacVerifyResponse.Builder |
setSuccess(boolean value)
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.
|
MacVerifyResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
MacVerifyResponse.Builder |
setVerifiedDataCrc32C(boolean value)
Integrity verification field.
|
MacVerifyResponse.Builder |
setVerifiedMacCrc32C(boolean value)
Integrity verification field.
|
MacVerifyResponse.Builder |
setVerifiedSuccessIntegrity(boolean value)
Integrity verification field.
|
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<MacVerifyResponse.Builder>
public MacVerifyResponse.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<MacVerifyResponse.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<MacVerifyResponse.Builder>
public MacVerifyResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public MacVerifyResponse build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public MacVerifyResponse buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public MacVerifyResponse.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<MacVerifyResponse.Builder>
public MacVerifyResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<MacVerifyResponse.Builder>
public MacVerifyResponse.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<MacVerifyResponse.Builder>
public MacVerifyResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<MacVerifyResponse.Builder>
public MacVerifyResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<MacVerifyResponse.Builder>
public MacVerifyResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<MacVerifyResponse.Builder>
public MacVerifyResponse.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<MacVerifyResponse.Builder>
public MacVerifyResponse.Builder mergeFrom(MacVerifyResponse other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<MacVerifyResponse.Builder>
public MacVerifyResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<MacVerifyResponse.Builder>
IOException
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 MacVerifyResponse.Builder setName(String value)
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;
value
- The name to set.public MacVerifyResponse.Builder clearName()
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;
public MacVerifyResponse.Builder setNameBytes(ByteString value)
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;
value
- The bytes for name to set.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 MacVerifyResponse.Builder setSuccess(boolean value)
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;
value
- The success to set.public MacVerifyResponse.Builder clearSuccess()
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;
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 MacVerifyResponse.Builder setVerifiedDataCrc32C(boolean value)
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;
value
- The verifiedDataCrc32c to set.public MacVerifyResponse.Builder clearVerifiedDataCrc32C()
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;
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 MacVerifyResponse.Builder setVerifiedMacCrc32C(boolean value)
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;
value
- The verifiedMacCrc32c to set.public MacVerifyResponse.Builder clearVerifiedMacCrc32C()
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;
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 MacVerifyResponse.Builder setVerifiedSuccessIntegrity(boolean value)
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;
value
- The verifiedSuccessIntegrity to set.public MacVerifyResponse.Builder clearVerifiedSuccessIntegrity()
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;
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 MacVerifyResponse.Builder setProtectionLevelValue(int value)
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;
value
- The enum numeric value on the wire for protectionLevel to set.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 MacVerifyResponse.Builder setProtectionLevel(ProtectionLevel value)
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;
value
- The protectionLevel to set.public MacVerifyResponse.Builder clearProtectionLevel()
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;
public final MacVerifyResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<MacVerifyResponse.Builder>
public final MacVerifyResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<MacVerifyResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.