Send feedback
Class ImportMappingRulesRequest.RulesFile.Builder (2.28.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.28.0 keyboard_arrow_down
public static final class ImportMappingRulesRequest . RulesFile . Builder extends GeneratedMessageV3 . Builder<ImportMappingRulesRequest . RulesFile . Builder > implements ImportMappingRulesRequest . RulesFileOrBuilder
Details of a single rules file.
Protobuf type google.cloud.clouddms.v1.ImportMappingRulesRequest.RulesFile
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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 ImportMappingRulesRequest . RulesFile . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public ImportMappingRulesRequest . RulesFile build ()
buildPartial()
public ImportMappingRulesRequest . RulesFile buildPartial ()
clear()
public ImportMappingRulesRequest . RulesFile . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ImportMappingRulesRequest . RulesFile . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public ImportMappingRulesRequest . RulesFile . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearRulesContent()
public ImportMappingRulesRequest . RulesFile . Builder clearRulesContent ()
Required. The text content of the rules that needs to be converted.
string rules_content = 2 [(.google.api.field_behavior) = REQUIRED];
clearRulesSourceFilename()
public ImportMappingRulesRequest . RulesFile . Builder clearRulesSourceFilename ()
Required. The filename of the rules that needs to be converted. The
filename is used mainly so that future logs of the import rules job
contain it, and can therefore be searched by it.
string rules_source_filename = 1 [(.google.api.field_behavior) = REQUIRED];
clone()
public ImportMappingRulesRequest . RulesFile . Builder clone ()
Overrides
getDefaultInstanceForType()
public ImportMappingRulesRequest . RulesFile getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getRulesContent()
public String getRulesContent ()
Required. The text content of the rules that needs to be converted.
string rules_content = 2 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description String
The rulesContent.
getRulesContentBytes()
public ByteString getRulesContentBytes ()
Required. The text content of the rules that needs to be converted.
string rules_content = 2 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description ByteString
The bytes for rulesContent.
getRulesSourceFilename()
public String getRulesSourceFilename ()
Required. The filename of the rules that needs to be converted. The
filename is used mainly so that future logs of the import rules job
contain it, and can therefore be searched by it.
string rules_source_filename = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description String
The rulesSourceFilename.
getRulesSourceFilenameBytes()
public ByteString getRulesSourceFilenameBytes ()
Required. The filename of the rules that needs to be converted. The
filename is used mainly so that future logs of the import rules job
contain it, and can therefore be searched by it.
string rules_source_filename = 1 [(.google.api.field_behavior) = REQUIRED];
Returns Type Description ByteString
The bytes for rulesSourceFilename.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(ImportMappingRulesRequest.RulesFile other)
public ImportMappingRulesRequest . RulesFile . Builder mergeFrom ( ImportMappingRulesRequest . RulesFile other )
public ImportMappingRulesRequest . RulesFile . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public ImportMappingRulesRequest . RulesFile . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportMappingRulesRequest . RulesFile . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ImportMappingRulesRequest . RulesFile . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImportMappingRulesRequest . RulesFile . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setRulesContent(String value)
public ImportMappingRulesRequest . RulesFile . Builder setRulesContent ( String value )
Required. The text content of the rules that needs to be converted.
string rules_content = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
String
The rulesContent to set.
setRulesContentBytes(ByteString value)
public ImportMappingRulesRequest . RulesFile . Builder setRulesContentBytes ( ByteString value )
Required. The text content of the rules that needs to be converted.
string rules_content = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
ByteString
The bytes for rulesContent to set.
setRulesSourceFilename(String value)
public ImportMappingRulesRequest . RulesFile . Builder setRulesSourceFilename ( String value )
Required. The filename of the rules that needs to be converted. The
filename is used mainly so that future logs of the import rules job
contain it, and can therefore be searched by it.
string rules_source_filename = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
String
The rulesSourceFilename to set.
setRulesSourceFilenameBytes(ByteString value)
public ImportMappingRulesRequest . RulesFile . Builder setRulesSourceFilenameBytes ( ByteString value )
Required. The filename of the rules that needs to be converted. The
filename is used mainly so that future logs of the import rules job
contain it, and can therefore be searched by it.
string rules_source_filename = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter Name Description value
ByteString
The bytes for rulesSourceFilename to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportMappingRulesRequest . RulesFile . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]