Package com.google.cloud.kms.v1
Interface CreateKeyHandleRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateKeyHandleRequest,CreateKeyHandleRequest.Builder
@Generated
public interface CreateKeyHandleRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Optional.com.google.protobuf.ByteStringOptional.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getParent
String getParent()Required. Name of the resource project and location to create the [KeyHandle][google.cloud.kms.v1.KeyHandle] in, e.g. `projects/{PROJECT_ID}/locations/{LOCATION}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. Name of the resource project and location to create the [KeyHandle][google.cloud.kms.v1.KeyHandle] in, e.g. `projects/{PROJECT_ID}/locations/{LOCATION}`.string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
getKeyHandleId
String getKeyHandleId()Optional. Id of the [KeyHandle][google.cloud.kms.v1.KeyHandle]. Must be unique to the resource project and location. If not provided by the caller, a new UUID is used.
string key_handle_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The keyHandleId.
-
getKeyHandleIdBytes
com.google.protobuf.ByteString getKeyHandleIdBytes()Optional. Id of the [KeyHandle][google.cloud.kms.v1.KeyHandle]. Must be unique to the resource project and location. If not provided by the caller, a new UUID is used.
string key_handle_id = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for keyHandleId.
-
hasKeyHandle
boolean hasKeyHandle()Required. [KeyHandle][google.cloud.kms.v1.KeyHandle] to create.
.google.cloud.kms.v1.KeyHandle key_handle = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the keyHandle field is set.
-
getKeyHandle
KeyHandle getKeyHandle()Required. [KeyHandle][google.cloud.kms.v1.KeyHandle] to create.
.google.cloud.kms.v1.KeyHandle key_handle = 3 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The keyHandle.
-
getKeyHandleOrBuilder
KeyHandleOrBuilder getKeyHandleOrBuilder()Required. [KeyHandle][google.cloud.kms.v1.KeyHandle] to create.
.google.cloud.kms.v1.KeyHandle key_handle = 3 [(.google.api.field_behavior) = REQUIRED];
-