- 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 AsymmetricSignRequest.Builder extends GeneratedMessageV3.Builder<AsymmetricSignRequest.Builder> implements AsymmetricSignRequestOrBuilder
Request message for KeyManagementService.AsymmetricSign.
Protobuf type google.cloud.kms.v1.AsymmetricSignRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AsymmetricSignRequest.BuilderImplements
AsymmetricSignRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AsymmetricSignRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
build()
public AsymmetricSignRequest build()
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest |
buildPartial()
public AsymmetricSignRequest buildPartial()
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest |
clear()
public AsymmetricSignRequest.Builder clear()
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
clearData()
public AsymmetricSignRequest.Builder clearData()
Optional. The data to sign. It can't be supplied if AsymmetricSignRequest.digest is supplied.
bytes data = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
This builder for chaining. |
clearDataCrc32C()
public AsymmetricSignRequest.Builder clearDataCrc32C()
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.data. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.data using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.data) is equal to AsymmetricSignRequest.data_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
clearDigest()
public AsymmetricSignRequest.Builder clearDigest()
Optional. The digest of the data to sign. The digest must be produced with the same digest algorithm as specified by the key version's algorithm.
This field may not be supplied if AsymmetricSignRequest.data is supplied.
.google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
clearDigestCrc32C()
public AsymmetricSignRequest.Builder clearDigestCrc32C()
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.digest. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.digest using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.digest) is equal to AsymmetricSignRequest.digest_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public AsymmetricSignRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
clearName()
public AsymmetricSignRequest.Builder clearName()
Required. The resource name of the CryptoKeyVersion to use for signing.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AsymmetricSignRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
clone()
public AsymmetricSignRequest.Builder clone()
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
getData()
public ByteString getData()
Optional. The data to sign. It can't be supplied if AsymmetricSignRequest.digest is supplied.
bytes data = 6 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The data. |
getDataCrc32C()
public Int64Value getDataCrc32C()
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.data. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.data using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.data) is equal to AsymmetricSignRequest.data_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Int64Value |
The dataCrc32c. |
getDataCrc32CBuilder()
public Int64Value.Builder getDataCrc32CBuilder()
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.data. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.data using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.data) is equal to AsymmetricSignRequest.data_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Builder |
getDataCrc32COrBuilder()
public Int64ValueOrBuilder getDataCrc32COrBuilder()
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.data. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.data using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.data) is equal to AsymmetricSignRequest.data_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Int64ValueOrBuilder |
getDefaultInstanceForType()
public AsymmetricSignRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDigest()
public Digest getDigest()
Optional. The digest of the data to sign. The digest must be produced with the same digest algorithm as specified by the key version's algorithm.
This field may not be supplied if AsymmetricSignRequest.data is supplied.
.google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Digest |
The digest. |
getDigestBuilder()
public Digest.Builder getDigestBuilder()
Optional. The digest of the data to sign. The digest must be produced with the same digest algorithm as specified by the key version's algorithm.
This field may not be supplied if AsymmetricSignRequest.data is supplied.
.google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Digest.Builder |
getDigestCrc32C()
public Int64Value getDigestCrc32C()
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.digest. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.digest using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.digest) is equal to AsymmetricSignRequest.digest_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Int64Value |
The digestCrc32c. |
getDigestCrc32CBuilder()
public Int64Value.Builder getDigestCrc32CBuilder()
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.digest. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.digest using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.digest) is equal to AsymmetricSignRequest.digest_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Builder |
getDigestCrc32COrBuilder()
public Int64ValueOrBuilder getDigestCrc32COrBuilder()
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.digest. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.digest using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.digest) is equal to AsymmetricSignRequest.digest_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
Int64ValueOrBuilder |
getDigestOrBuilder()
public DigestOrBuilder getDigestOrBuilder()
Optional. The digest of the data to sign. The digest must be produced with the same digest algorithm as specified by the key version's algorithm.
This field may not be supplied if AsymmetricSignRequest.data is supplied.
.google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
DigestOrBuilder |
getName()
public String getName()
Required. The resource name of the CryptoKeyVersion to use for signing.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The resource name of the CryptoKeyVersion to use for signing.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for name. |
hasDataCrc32C()
public boolean hasDataCrc32C()
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.data. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.data using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.data) is equal to AsymmetricSignRequest.data_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the dataCrc32c field is set. |
hasDigest()
public boolean hasDigest()
Optional. The digest of the data to sign. The digest must be produced with the same digest algorithm as specified by the key version's algorithm.
This field may not be supplied if AsymmetricSignRequest.data is supplied.
.google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the digest field is set. |
hasDigestCrc32C()
public boolean hasDigestCrc32C()
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.digest. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.digest using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.digest) is equal to AsymmetricSignRequest.digest_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
boolean |
Whether the digestCrc32c field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDataCrc32C(Int64Value value)
public AsymmetricSignRequest.Builder mergeDataCrc32C(Int64Value value)
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.data. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.data using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.data) is equal to AsymmetricSignRequest.data_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Int64Value |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
mergeDigest(Digest value)
public AsymmetricSignRequest.Builder mergeDigest(Digest value)
Optional. The digest of the data to sign. The digest must be produced with the same digest algorithm as specified by the key version's algorithm.
This field may not be supplied if AsymmetricSignRequest.data is supplied.
.google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Digest |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
mergeDigestCrc32C(Int64Value value)
public AsymmetricSignRequest.Builder mergeDigestCrc32C(Int64Value value)
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.digest. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.digest using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.digest) is equal to AsymmetricSignRequest.digest_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Int64Value |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
mergeFrom(AsymmetricSignRequest other)
public AsymmetricSignRequest.Builder mergeFrom(AsymmetricSignRequest other)
Parameter | |
---|---|
Name | Description |
other |
AsymmetricSignRequest |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AsymmetricSignRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AsymmetricSignRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AsymmetricSignRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
setData(ByteString value)
public AsymmetricSignRequest.Builder setData(ByteString value)
Optional. The data to sign. It can't be supplied if AsymmetricSignRequest.digest is supplied.
bytes data = 6 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The data to set. |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
This builder for chaining. |
setDataCrc32C(Int64Value value)
public AsymmetricSignRequest.Builder setDataCrc32C(Int64Value value)
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.data. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.data using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.data) is equal to AsymmetricSignRequest.data_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Int64Value |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
setDataCrc32C(Int64Value.Builder builderForValue)
public AsymmetricSignRequest.Builder setDataCrc32C(Int64Value.Builder builderForValue)
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.data. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.data using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.data) is equal to AsymmetricSignRequest.data_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value data_crc32c = 7 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
setDigest(Digest value)
public AsymmetricSignRequest.Builder setDigest(Digest value)
Optional. The digest of the data to sign. The digest must be produced with the same digest algorithm as specified by the key version's algorithm.
This field may not be supplied if AsymmetricSignRequest.data is supplied.
.google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Digest |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
setDigest(Digest.Builder builderForValue)
public AsymmetricSignRequest.Builder setDigest(Digest.Builder builderForValue)
Optional. The digest of the data to sign. The digest must be produced with the same digest algorithm as specified by the key version's algorithm.
This field may not be supplied if AsymmetricSignRequest.data is supplied.
.google.cloud.kms.v1.Digest digest = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Digest.Builder |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
setDigestCrc32C(Int64Value value)
public AsymmetricSignRequest.Builder setDigestCrc32C(Int64Value value)
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.digest. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.digest using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.digest) is equal to AsymmetricSignRequest.digest_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
Int64Value |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
setDigestCrc32C(Int64Value.Builder builderForValue)
public AsymmetricSignRequest.Builder setDigestCrc32C(Int64Value.Builder builderForValue)
Optional. An optional CRC32C checksum of the AsymmetricSignRequest.digest. If specified, KeyManagementService will verify the integrity of the received AsymmetricSignRequest.digest using this checksum. KeyManagementService will report an error if the checksum verification fails. If you receive a checksum error, your client should verify that CRC32C(AsymmetricSignRequest.digest) is equal to AsymmetricSignRequest.digest_crc32c, and if so, perform a limited number of retries. A persistent mismatch may indicate an issue in your computation of the CRC32C checksum. Note: This field is defined as int64 for reasons of compatibility across different languages. However, it is a non-negative integer, which will never exceed 2^32-1, and can be safely downconverted to uint32 in languages that support this type.
.google.protobuf.Int64Value digest_crc32c = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AsymmetricSignRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
setName(String value)
public AsymmetricSignRequest.Builder setName(String value)
Required. The resource name of the CryptoKeyVersion to use for signing.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public AsymmetricSignRequest.Builder setNameBytes(ByteString value)
Required. The resource name of the CryptoKeyVersion to use for signing.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AsymmetricSignRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AsymmetricSignRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AsymmetricSignRequest.Builder |