Send feedback
Class TranslationFileMapping.Builder (0.5.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.5.0 keyboard_arrow_down
public static final class TranslationFileMapping . Builder extends GeneratedMessageV3 . Builder<TranslationFileMapping . Builder > implements TranslationFileMappingOrBuilder
Mapping between an input and output file to be translated in a subtask.
Protobuf type google.cloud.bigquery.migration.v2alpha.TranslationFileMapping
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TranslationFileMapping . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public TranslationFileMapping build ()
Returns
buildPartial()
public TranslationFileMapping buildPartial ()
Returns
clear()
public TranslationFileMapping . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public TranslationFileMapping . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public TranslationFileMapping . Builder clearInputPath ()
The Cloud Storage path for a file to translation in a subtask.
string input_path = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public TranslationFileMapping . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearOutputPath()
public TranslationFileMapping . Builder clearOutputPath ()
The Cloud Storage path to write back the corresponding input file to.
string output_path = 2;
Returns
clone()
public TranslationFileMapping . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public TranslationFileMapping getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public String getInputPath ()
The Cloud Storage path for a file to translation in a subtask.
string input_path = 1;
Returns
Type Description String The inputPath.
public ByteString getInputPathBytes ()
The Cloud Storage path for a file to translation in a subtask.
string input_path = 1;
Returns
getOutputPath()
public String getOutputPath ()
The Cloud Storage path to write back the corresponding input file to.
string output_path = 2;
Returns
Type Description String The outputPath.
getOutputPathBytes()
public ByteString getOutputPathBytes ()
The Cloud Storage path to write back the corresponding input file to.
string output_path = 2;
Returns
Type Description ByteString The bytes for outputPath.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(TranslationFileMapping other)
public TranslationFileMapping . Builder mergeFrom ( TranslationFileMapping other )
Parameter
Returns
public TranslationFileMapping . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TranslationFileMapping . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TranslationFileMapping . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public TranslationFileMapping . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public TranslationFileMapping . Builder setInputPath ( String value )
The Cloud Storage path for a file to translation in a subtask.
string input_path = 1;
Parameter
Name Description value String
The inputPath to set.
Returns
public TranslationFileMapping . Builder setInputPathBytes ( ByteString value )
The Cloud Storage path for a file to translation in a subtask.
string input_path = 1;
Parameter
Name Description value ByteString
The bytes for inputPath to set.
Returns
setOutputPath(String value)
public TranslationFileMapping . Builder setOutputPath ( String value )
The Cloud Storage path to write back the corresponding input file to.
string output_path = 2;
Parameter
Name Description value String
The outputPath to set.
Returns
setOutputPathBytes(ByteString value)
public TranslationFileMapping . Builder setOutputPathBytes ( ByteString value )
The Cloud Storage path to write back the corresponding input file to.
string output_path = 2;
Parameter
Name Description value ByteString
The bytes for outputPath to set.
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TranslationFileMapping . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TranslationFileMapping . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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-27 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-27 UTC."],[],[]]