Class AsymmetricSignRequest.Builder (2.15.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public AsymmetricSignRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AsymmetricSignRequest.Builder
Overrides

build()

public AsymmetricSignRequest build()
Returns
TypeDescription
AsymmetricSignRequest

buildPartial()

public AsymmetricSignRequest buildPartial()
Returns
TypeDescription
AsymmetricSignRequest

clear()

public AsymmetricSignRequest.Builder clear()
Returns
TypeDescription
AsymmetricSignRequest.Builder
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
AsymmetricSignRequest.Builder

clearField(Descriptors.FieldDescriptor field)

public AsymmetricSignRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
AsymmetricSignRequest.Builder
Overrides

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
TypeDescription
AsymmetricSignRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public AsymmetricSignRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
AsymmetricSignRequest.Builder
Overrides

clone()

public AsymmetricSignRequest.Builder clone()
Returns
TypeDescription
AsymmetricSignRequest.Builder
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
Int64ValueOrBuilder

getDefaultInstanceForType()

public AsymmetricSignRequest getDefaultInstanceForType()
Returns
TypeDescription
AsymmetricSignRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the digestCrc32c field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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
NameDescription
valueInt64Value
Returns
TypeDescription
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
NameDescription
valueDigest
Returns
TypeDescription
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
NameDescription
valueInt64Value
Returns
TypeDescription
AsymmetricSignRequest.Builder

mergeFrom(AsymmetricSignRequest other)

public AsymmetricSignRequest.Builder mergeFrom(AsymmetricSignRequest other)
Parameter
NameDescription
otherAsymmetricSignRequest
Returns
TypeDescription
AsymmetricSignRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AsymmetricSignRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AsymmetricSignRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public AsymmetricSignRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
AsymmetricSignRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AsymmetricSignRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AsymmetricSignRequest.Builder
Overrides

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
NameDescription
valueByteString

The data to set.

Returns
TypeDescription
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
NameDescription
valueInt64Value
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
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
NameDescription
valueDigest
Returns
TypeDescription
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
NameDescription
builderForValueDigest.Builder
Returns
TypeDescription
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
NameDescription
valueInt64Value
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
AsymmetricSignRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public AsymmetricSignRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
AsymmetricSignRequest.Builder
Overrides

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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
AsymmetricSignRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final AsymmetricSignRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
AsymmetricSignRequest.Builder
Overrides