Class ImportMappingRulesRequest (2.54.0)

public final class ImportMappingRulesRequest extends GeneratedMessageV3 implements ImportMappingRulesRequestOrBuilder

Request message for 'ImportMappingRules' request.

Protobuf type google.cloud.clouddms.v1.ImportMappingRulesRequest

Static Fields

AUTO_COMMIT_FIELD_NUMBER

public static final int AUTO_COMMIT_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

RULES_FILES_FIELD_NUMBER

public static final int RULES_FILES_FIELD_NUMBER
Field Value
Type Description
int

RULES_FORMAT_FIELD_NUMBER

public static final int RULES_FORMAT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportMappingRulesRequest getDefaultInstance()
Returns
Type Description
ImportMappingRulesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ImportMappingRulesRequest.Builder newBuilder()
Returns
Type Description
ImportMappingRulesRequest.Builder

newBuilder(ImportMappingRulesRequest prototype)

public static ImportMappingRulesRequest.Builder newBuilder(ImportMappingRulesRequest prototype)
Parameter
Name Description
prototype ImportMappingRulesRequest
Returns
Type Description
ImportMappingRulesRequest.Builder

parseDelimitedFrom(InputStream input)

public static ImportMappingRulesRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportMappingRulesRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportMappingRulesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportMappingRulesRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImportMappingRulesRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImportMappingRulesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportMappingRulesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportMappingRulesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportMappingRulesRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImportMappingRulesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportMappingRulesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportMappingRulesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportMappingRulesRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImportMappingRulesRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportMappingRulesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportMappingRulesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImportMappingRulesRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImportMappingRulesRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportMappingRulesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportMappingRulesRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImportMappingRulesRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImportMappingRulesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportMappingRulesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportMappingRulesRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImportMappingRulesRequest> parser()
Returns
Type Description
Parser<ImportMappingRulesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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.

getParserForType()

public Parser<ImportMappingRulesRequest> getParserForType()
Returns
Type Description
Parser<ImportMappingRulesRequest>
Overrides

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImportMappingRulesRequest.Builder newBuilderForType()
Returns
Type Description
ImportMappingRulesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportMappingRulesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImportMappingRulesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImportMappingRulesRequest.Builder toBuilder()
Returns
Type Description
ImportMappingRulesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException