public interface GenerateRandomBytesRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
int |
getLengthBytes()
The length in bytes of the amount of randomness to retrieve.
|
String |
getLocation()
The project-specific location in which to generate random bytes.
|
ByteString |
getLocationBytes()
The project-specific location in which to generate random bytes.
|
ProtectionLevel |
getProtectionLevel()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when
generating the random data.
|
int |
getProtectionLevelValue()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when
generating the random data.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
String getLocation()
The project-specific location in which to generate random bytes. For example, "projects/my-project/locations/us-central1".
string location = 1;
ByteString getLocationBytes()
The project-specific location in which to generate random bytes. For example, "projects/my-project/locations/us-central1".
string location = 1;
int getLengthBytes()
The length in bytes of the amount of randomness to retrieve. Minimum 8 bytes, maximum 1024 bytes.
int32 length_bytes = 2;
int getProtectionLevelValue()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Currently, only [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is supported.
.google.cloud.kms.v1.ProtectionLevel protection_level = 3;
ProtectionLevel getProtectionLevel()
The [ProtectionLevel][google.cloud.kms.v1.ProtectionLevel] to use when generating the random data. Currently, only [HSM][google.cloud.kms.v1.ProtectionLevel.HSM] protection level is supported.
.google.cloud.kms.v1.ProtectionLevel protection_level = 3;
Copyright © 2022 Google LLC. All rights reserved.