public static final class CreateImportJobRequest.Builder extends GeneratedMessageV3.Builder<CreateImportJobRequest.Builder> implements CreateImportJobRequestOrBuilder
Request message for
KeyManagementService.CreateImportJob.
Protobuf type google.cloud.kms.v1.CreateImportJobRequest
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 CreateImportJobRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateImportJobRequest build()
buildPartial()
public CreateImportJobRequest buildPartial()
clear()
public CreateImportJobRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateImportJobRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearImportJob()
public CreateImportJobRequest.Builder clearImportJob()
Required. An ImportJob with initial field
values.
.google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED];
clearImportJobId()
public CreateImportJobRequest.Builder clearImportJobId()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateImportJobRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateImportJobRequest.Builder clearParent()
Required. The name of the
KeyRing associated with the
ImportJobs.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateImportJobRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateImportJobRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getImportJob()
public ImportJob getImportJob()
Required. An ImportJob with initial field
values.
.google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
ImportJob | The importJob.
|
getImportJobBuilder()
public ImportJob.Builder getImportJobBuilder()
Required. An ImportJob with initial field
values.
.google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED];
getImportJobId()
public 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 |
---|
Type | Description |
String | The importJobId.
|
getImportJobIdBytes()
public 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 |
---|
Type | Description |
ByteString | The bytes for importJobId.
|
getImportJobOrBuilder()
public ImportJobOrBuilder getImportJobOrBuilder()
Required. An ImportJob with initial field
values.
.google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. The name of the
KeyRing associated with the
ImportJobs.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The name of the
KeyRing associated with the
ImportJobs.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
hasImportJob()
public boolean hasImportJob()
Required. An ImportJob with initial field
values.
.google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the importJob field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateImportJobRequest other)
public CreateImportJobRequest.Builder mergeFrom(CreateImportJobRequest other)
public CreateImportJobRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateImportJobRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeImportJob(ImportJob value)
public CreateImportJobRequest.Builder mergeImportJob(ImportJob value)
Required. An ImportJob with initial field
values.
.google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED];
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateImportJobRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateImportJobRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setImportJob(ImportJob value)
public CreateImportJobRequest.Builder setImportJob(ImportJob value)
Required. An ImportJob with initial field
values.
.google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED];
setImportJob(ImportJob.Builder builderForValue)
public CreateImportJobRequest.Builder setImportJob(ImportJob.Builder builderForValue)
Required. An ImportJob with initial field
values.
.google.cloud.kms.v1.ImportJob import_job = 3 [(.google.api.field_behavior) = REQUIRED];
setImportJobId(String value)
public CreateImportJobRequest.Builder setImportJobId(String value)
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];
Parameter |
---|
Name | Description |
value | String
The importJobId to set.
|
setImportJobIdBytes(ByteString value)
public CreateImportJobRequest.Builder setImportJobIdBytes(ByteString value)
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];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for importJobId to set.
|
setParent(String value)
public CreateImportJobRequest.Builder setParent(String value)
Required. The name of the
KeyRing associated with the
ImportJobs.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public CreateImportJobRequest.Builder setParentBytes(ByteString value)
Required. The name of the
KeyRing associated with the
ImportJobs.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateImportJobRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateImportJobRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides