Package com.google.cloud.kms.v1
Interface CreateImportJobRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateImportJobRequest
,CreateImportJobRequest.Builder
public interface CreateImportJobRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ImportJob
getImportJob()
Required.String
getImportJobId()
Required.com.google.protobuf.ByteString
getImportJobIdBytes()
Required.ImportJobOrBuilder
getImportJobOrBuilder()
Required.String
getParent()
Required.com.google.protobuf.ByteString
getParentBytes()
Required.boolean
hasImportJob()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
String getParent()
Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the [ImportJobs][google.cloud.kms.v1.ImportJob].
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()
Required. The [name][google.cloud.kms.v1.KeyRing.name] of the [KeyRing][google.cloud.kms.v1.KeyRing] associated with the [ImportJobs][google.cloud.kms.v1.ImportJob].
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
- Returns:
- The bytes for parent.
-
getImportJobId
String getImportJobId()
Required. It must be unique within a KeyRing and match the regular expression `[a-zA-Z0-9_-]{1,63}`
string import_job_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The importJobId.
-
getImportJobIdBytes
com.google.protobuf.ByteString getImportJobIdBytes()
Required. It must be unique within a KeyRing and match the regular expression `[a-zA-Z0-9_-]{1,63}`
string import_job_id = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for importJobId.
-
hasImportJob
boolean hasImportJob()
Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
.google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- Whether the importJob field is set.
-
getImportJob
ImportJob getImportJob()
Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
.google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The importJob.
-
getImportJobOrBuilder
ImportJobOrBuilder getImportJobOrBuilder()
Required. An [ImportJob][google.cloud.kms.v1.ImportJob] with initial field values.
.google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED];
-
-