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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GenerateRandomBytesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public GenerateRandomBytesResponse build()
buildPartial()
public GenerateRandomBytesResponse buildPartial()
clear()
public GenerateRandomBytesResponse.Builder clear()
Overrides
clearData()
public GenerateRandomBytesResponse.Builder clearData()
The generated data.
bytes data = 1;
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;
clearField(Descriptors.FieldDescriptor field)
public GenerateRandomBytesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GenerateRandomBytesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public GenerateRandomBytesResponse.Builder clone()
Overrides
getData()
public ByteString getData()
The generated data.
bytes data = 1;
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;
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;
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;
getDefaultInstanceForType()
public GenerateRandomBytesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(GenerateRandomBytesResponse other)
public GenerateRandomBytesResponse.Builder mergeFrom(GenerateRandomBytesResponse other)
public GenerateRandomBytesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public GenerateRandomBytesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GenerateRandomBytesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setData(ByteString value)
public GenerateRandomBytesResponse.Builder setData(ByteString value)
The generated data.
bytes data = 1;
Parameter |
---|
Name | Description |
value | ByteString
The data to set.
|
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;
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public GenerateRandomBytesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GenerateRandomBytesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GenerateRandomBytesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides