Class ImportMappingRulesRequest (2.28.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
TypeDescription
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
TypeDescription
int

RULES_FILES_FIELD_NUMBER

public static final int RULES_FILES_FIELD_NUMBER
Field Value
TypeDescription
int

RULES_FORMAT_FIELD_NUMBER

public static final int RULES_FORMAT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImportMappingRulesRequest getDefaultInstance()
Returns
TypeDescription
ImportMappingRulesRequest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImportMappingRulesRequest.Builder newBuilder()
Returns
TypeDescription
ImportMappingRulesRequest.Builder

newBuilder(ImportMappingRulesRequest prototype)

public static ImportMappingRulesRequest.Builder newBuilder(ImportMappingRulesRequest prototype)
Parameter
NameDescription
prototypeImportMappingRulesRequest
Returns
TypeDescription
ImportMappingRulesRequest.Builder

parseDelimitedFrom(InputStream input)

public static ImportMappingRulesRequest parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportMappingRulesRequest
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportMappingRulesRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportMappingRulesRequest
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImportMappingRulesRequest parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImportMappingRulesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImportMappingRulesRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportMappingRulesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImportMappingRulesRequest parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ImportMappingRulesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImportMappingRulesRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportMappingRulesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImportMappingRulesRequest parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ImportMappingRulesRequest
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportMappingRulesRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportMappingRulesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ImportMappingRulesRequest parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImportMappingRulesRequest
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImportMappingRulesRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportMappingRulesRequest
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ImportMappingRulesRequest parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ImportMappingRulesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImportMappingRulesRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImportMappingRulesRequest
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ImportMappingRulesRequest> parser()
Returns
TypeDescription
Parser<ImportMappingRulesRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
TypeDescription
boolean

The autoCommit.

getDefaultInstanceForType()

public ImportMappingRulesRequest getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for parent.

getParserForType()

public Parser<ImportMappingRulesRequest> getParserForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for rulesFormat.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ImportMappingRulesRequest.Builder newBuilderForType()
Returns
TypeDescription
ImportMappingRulesRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImportMappingRulesRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ImportMappingRulesRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ImportMappingRulesRequest.Builder toBuilder()
Returns
TypeDescription
ImportMappingRulesRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException