- 2.53.0 (latest)
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
public static final class ImportMappingRulesRequest.Builder extends GeneratedMessageV3.Builder<ImportMappingRulesRequest.Builder> implements ImportMappingRulesRequestOrBuilder
Request message for 'ImportMappingRules' request.
Protobuf type google.cloud.clouddms.v1.ImportMappingRulesRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportMappingRulesRequest.BuilderImplements
ImportMappingRulesRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllRulesFiles(Iterable<? extends ImportMappingRulesRequest.RulesFile> values)
public ImportMappingRulesRequest.Builder addAllRulesFiles(Iterable<? extends ImportMappingRulesRequest.RulesFile> values)
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile> |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImportMappingRulesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
addRulesFiles(ImportMappingRulesRequest.RulesFile value)
public ImportMappingRulesRequest.Builder addRulesFiles(ImportMappingRulesRequest.RulesFile value)
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ImportMappingRulesRequest.RulesFile |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
addRulesFiles(ImportMappingRulesRequest.RulesFile.Builder builderForValue)
public ImportMappingRulesRequest.Builder addRulesFiles(ImportMappingRulesRequest.RulesFile.Builder builderForValue)
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
builderForValue |
ImportMappingRulesRequest.RulesFile.Builder |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
addRulesFiles(int index, ImportMappingRulesRequest.RulesFile value)
public ImportMappingRulesRequest.Builder addRulesFiles(int index, ImportMappingRulesRequest.RulesFile value)
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ImportMappingRulesRequest.RulesFile |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
addRulesFiles(int index, ImportMappingRulesRequest.RulesFile.Builder builderForValue)
public ImportMappingRulesRequest.Builder addRulesFiles(int index, ImportMappingRulesRequest.RulesFile.Builder builderForValue)
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ImportMappingRulesRequest.RulesFile.Builder |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
addRulesFilesBuilder()
public ImportMappingRulesRequest.RulesFile.Builder addRulesFilesBuilder()
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.RulesFile.Builder |
addRulesFilesBuilder(int index)
public ImportMappingRulesRequest.RulesFile.Builder addRulesFilesBuilder(int index)
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.RulesFile.Builder |
build()
public ImportMappingRulesRequest build()
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest |
buildPartial()
public ImportMappingRulesRequest buildPartial()
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest |
clear()
public ImportMappingRulesRequest.Builder clear()
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
clearAutoCommit()
public ImportMappingRulesRequest.Builder clearAutoCommit()
Required. Should the conversion workspace be committed automatically after the import operation.
bool auto_commit = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ImportMappingRulesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportMappingRulesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
clearParent()
public ImportMappingRulesRequest.Builder clearParent()
Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
This builder for chaining. |
clearRulesFiles()
public ImportMappingRulesRequest.Builder clearRulesFiles()
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
clearRulesFormat()
public ImportMappingRulesRequest.Builder clearRulesFormat()
Required. The format of the rules content file.
.google.cloud.clouddms.v1.ImportRulesFileFormat rules_format = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
This builder for chaining. |
clone()
public ImportMappingRulesRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
getAutoCommit()
public boolean getAutoCommit()
Required. Should the conversion workspace be committed automatically after the import operation.
bool auto_commit = 6 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
boolean |
The autoCommit. |
getDefaultInstanceForType()
public ImportMappingRulesRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getParent()
public String getParent()
Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for parent. |
getRulesFiles(int index)
public ImportMappingRulesRequest.RulesFile getRulesFiles(int index)
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.RulesFile |
getRulesFilesBuilder(int index)
public ImportMappingRulesRequest.RulesFile.Builder getRulesFilesBuilder(int index)
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.RulesFile.Builder |
getRulesFilesBuilderList()
public List<ImportMappingRulesRequest.RulesFile.Builder> getRulesFilesBuilderList()
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<Builder> |
getRulesFilesCount()
public int getRulesFilesCount()
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
getRulesFilesList()
public List<ImportMappingRulesRequest.RulesFile> getRulesFilesList()
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<RulesFile> |
getRulesFilesOrBuilder(int index)
public ImportMappingRulesRequest.RulesFileOrBuilder getRulesFilesOrBuilder(int index)
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.RulesFileOrBuilder |
getRulesFilesOrBuilderList()
public List<? extends ImportMappingRulesRequest.RulesFileOrBuilder> getRulesFilesOrBuilderList()
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFileOrBuilder> |
getRulesFormat()
public ImportRulesFileFormat getRulesFormat()
Required. The format of the rules content file.
.google.cloud.clouddms.v1.ImportRulesFileFormat rules_format = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ImportRulesFileFormat |
The rulesFormat. |
getRulesFormatValue()
public int getRulesFormatValue()
Required. The format of the rules content file.
.google.cloud.clouddms.v1.ImportRulesFileFormat rules_format = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
int |
The enum numeric value on the wire for rulesFormat. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(ImportMappingRulesRequest other)
public ImportMappingRulesRequest.Builder mergeFrom(ImportMappingRulesRequest other)
Parameter | |
---|---|
Name | Description |
other |
ImportMappingRulesRequest |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImportMappingRulesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ImportMappingRulesRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportMappingRulesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
removeRulesFiles(int index)
public ImportMappingRulesRequest.Builder removeRulesFiles(int index)
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
setAutoCommit(boolean value)
public ImportMappingRulesRequest.Builder setAutoCommit(boolean value)
Required. Should the conversion workspace be committed automatically after the import operation.
bool auto_commit = 6 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
boolean The autoCommit to set. |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ImportMappingRulesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
setParent(String value)
public ImportMappingRulesRequest.Builder setParent(String value)
Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The parent to set. |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ImportMappingRulesRequest.Builder setParentBytes(ByteString value)
Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for parent to set. |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportMappingRulesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
setRulesFiles(int index, ImportMappingRulesRequest.RulesFile value)
public ImportMappingRulesRequest.Builder setRulesFiles(int index, ImportMappingRulesRequest.RulesFile value)
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
ImportMappingRulesRequest.RulesFile |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
setRulesFiles(int index, ImportMappingRulesRequest.RulesFile.Builder builderForValue)
public ImportMappingRulesRequest.Builder setRulesFiles(int index, ImportMappingRulesRequest.RulesFile.Builder builderForValue)
Required. One or more rules files.
repeated .google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile rules_files = 3 [(.google.api.field_behavior) = REQUIRED];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
ImportMappingRulesRequest.RulesFile.Builder |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
setRulesFormat(ImportRulesFileFormat value)
public ImportMappingRulesRequest.Builder setRulesFormat(ImportRulesFileFormat value)
Required. The format of the rules content file.
.google.cloud.clouddms.v1.ImportRulesFileFormat rules_format = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ImportRulesFileFormat The rulesFormat to set. |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
This builder for chaining. |
setRulesFormatValue(int value)
public ImportMappingRulesRequest.Builder setRulesFormatValue(int value)
Required. The format of the rules content file.
.google.cloud.clouddms.v1.ImportRulesFileFormat rules_format = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
int The enum numeric value on the wire for rulesFormat to set. |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportMappingRulesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportMappingRulesRequest.Builder |