public static final class GenerateRandomBytesResponse.Builder extends GeneratedMessageV3.Builder<GenerateRandomBytesResponse.Builder> implements GenerateRandomBytesResponseOrBuilder
Response message for
KeyManagementService.GenerateRandomBytes.
Protobuf type google.cloud.kms.v1.GenerateRandomBytesResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateRandomBytesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GenerateRandomBytesResponse build()
Returns
buildPartial()
public GenerateRandomBytesResponse buildPartial()
Returns
clear()
public GenerateRandomBytesResponse.Builder clear()
Returns
Overrides
clearData()
public GenerateRandomBytesResponse.Builder clearData()
The generated data.
bytes data = 1;
Returns
clearDataCrc32C()
public GenerateRandomBytesResponse.Builder clearDataCrc32C()
Integrity verification field. A CRC32C checksum of the returned
GenerateRandomBytesResponse.data.
An integrity check of
GenerateRandomBytesResponse.data
can be performed by computing the CRC32C checksum of
GenerateRandomBytesResponse.data
and comparing your results to this field. Discard the response in case of
non-matching checksum values, and 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 = 3;
Returns
clearField(Descriptors.FieldDescriptor field)
public GenerateRandomBytesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateRandomBytesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GenerateRandomBytesResponse.Builder clone()
Returns
Overrides
getData()
public ByteString getData()
The generated data.
bytes data = 1;
Returns
getDataCrc32C()
public Int64Value getDataCrc32C()
Integrity verification field. A CRC32C checksum of the returned
GenerateRandomBytesResponse.data.
An integrity check of
GenerateRandomBytesResponse.data
can be performed by computing the CRC32C checksum of
GenerateRandomBytesResponse.data
and comparing your results to this field. Discard the response in case of
non-matching checksum values, and 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 = 3;
Returns
getDataCrc32CBuilder()
public Int64Value.Builder getDataCrc32CBuilder()
Integrity verification field. A CRC32C checksum of the returned
GenerateRandomBytesResponse.data.
An integrity check of
GenerateRandomBytesResponse.data
can be performed by computing the CRC32C checksum of
GenerateRandomBytesResponse.data
and comparing your results to this field. Discard the response in case of
non-matching checksum values, and 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 = 3;
Returns
getDataCrc32COrBuilder()
public Int64ValueOrBuilder getDataCrc32COrBuilder()
Integrity verification field. A CRC32C checksum of the returned
GenerateRandomBytesResponse.data.
An integrity check of
GenerateRandomBytesResponse.data
can be performed by computing the CRC32C checksum of
GenerateRandomBytesResponse.data
and comparing your results to this field. Discard the response in case of
non-matching checksum values, and 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 = 3;
Returns
getDefaultInstanceForType()
public GenerateRandomBytesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
hasDataCrc32C()
public boolean hasDataCrc32C()
Integrity verification field. A CRC32C checksum of the returned
GenerateRandomBytesResponse.data.
An integrity check of
GenerateRandomBytesResponse.data
can be performed by computing the CRC32C checksum of
GenerateRandomBytesResponse.data
and comparing your results to this field. Discard the response in case of
non-matching checksum values, and 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 = 3;
Returns
Type | Description |
boolean | Whether the dataCrc32c field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeDataCrc32C(Int64Value value)
public GenerateRandomBytesResponse.Builder mergeDataCrc32C(Int64Value value)
Integrity verification field. A CRC32C checksum of the returned
GenerateRandomBytesResponse.data.
An integrity check of
GenerateRandomBytesResponse.data
can be performed by computing the CRC32C checksum of
GenerateRandomBytesResponse.data
and comparing your results to this field. Discard the response in case of
non-matching checksum values, and 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 = 3;
Parameter
Returns
mergeFrom(GenerateRandomBytesResponse other)
public GenerateRandomBytesResponse.Builder mergeFrom(GenerateRandomBytesResponse other)
Parameter
Returns
public GenerateRandomBytesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GenerateRandomBytesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateRandomBytesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setData(ByteString value)
public GenerateRandomBytesResponse.Builder setData(ByteString value)
The generated data.
bytes data = 1;
Parameter
Returns
setDataCrc32C(Int64Value value)
public GenerateRandomBytesResponse.Builder setDataCrc32C(Int64Value value)
Integrity verification field. A CRC32C checksum of the returned
GenerateRandomBytesResponse.data.
An integrity check of
GenerateRandomBytesResponse.data
can be performed by computing the CRC32C checksum of
GenerateRandomBytesResponse.data
and comparing your results to this field. Discard the response in case of
non-matching checksum values, and 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 = 3;
Parameter
Returns
setDataCrc32C(Int64Value.Builder builderForValue)
public GenerateRandomBytesResponse.Builder setDataCrc32C(Int64Value.Builder builderForValue)
Integrity verification field. A CRC32C checksum of the returned
GenerateRandomBytesResponse.data.
An integrity check of
GenerateRandomBytesResponse.data
can be performed by computing the CRC32C checksum of
GenerateRandomBytesResponse.data
and comparing your results to this field. Discard the response in case of
non-matching checksum values, and 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 = 3;
Parameter
Name | Description |
builderForValue | Builder
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateRandomBytesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateRandomBytesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateRandomBytesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides