public static final class InputConfig.Builder extends GeneratedMessageV3.Builder<InputConfig.Builder> implements InputConfigOrBuilder
   
   Input configuration for BatchTranslateText request.
 Protobuf type google.cloud.translation.v3.InputConfig
    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
  
  
  
  
    public static final Descriptors.Descriptor getDescriptor()
   
  
  Methods
  
  
  
  
    public InputConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  
  
    public InputConfig build()
   
  
  
  
  
    public InputConfig buildPartial()
   
  
  
  
  
    public InputConfig.Builder clear()
   
  
  Overrides
  
  
  
  
    public InputConfig.Builder clearField(Descriptors.FieldDescriptor field)
   
  
  
  Overrides
  
  
  
  
    public InputConfig.Builder clearGcsSource()
   
   Required. Google Cloud Storage location for the source input.
 This can be a single file (for example,
 gs://translation-test/input.tsv) or a wildcard (for example,
 gs://translation-test/*). If a file extension is .tsv, it can
 contain either one or two columns. The first column (optional) is the id
 of the text request. If the first column is missing, we use the row
 number (0-based) from the input file as the ID in the output file. The
 second column is the actual text to be
  translated. We recommend each row be <= 10K Unicode codepoints,
 otherwise an error might be returned.
 Note that the input tsv must be RFC 4180 compliant.
 You could use https://github.com/Clever/csvlint to check potential
 formatting errors in your tsv file.
 csvlint --delimiter='\t' your_input_file.tsv
 The other supported file extensions are .txt or .html, which is
 treated as a single large chunk of text.
 .google.cloud.translation.v3.GcsSource gcs_source = 2;
    public InputConfig.Builder clearMimeType()
   
   Optional. Can be "text/plain" or "text/html".
 For .tsv, "text/html" is used if mime_type is missing.
 For .html, this field must be "text/html" or empty.
 For .txt, this field must be "text/plain" or empty.
 string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];
    public InputConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  
  
  Overrides
  
  
  
  
    public InputConfig.Builder clearSource()
   
  
  
  
  
    public InputConfig.Builder clone()
   
  
  Overrides
  
  
  
  
    public InputConfig getDefaultInstanceForType()
   
  
  
  
  
    public Descriptors.Descriptor getDescriptorForType()
   
  
  Overrides
  
  
  
  
    public GcsSource getGcsSource()
   
   Required. Google Cloud Storage location for the source input.
 This can be a single file (for example,
 gs://translation-test/input.tsv) or a wildcard (for example,
 gs://translation-test/*). If a file extension is .tsv, it can
 contain either one or two columns. The first column (optional) is the id
 of the text request. If the first column is missing, we use the row
 number (0-based) from the input file as the ID in the output file. The
 second column is the actual text to be
  translated. We recommend each row be <= 10K Unicode codepoints,
 otherwise an error might be returned.
 Note that the input tsv must be RFC 4180 compliant.
 You could use https://github.com/Clever/csvlint to check potential
 formatting errors in your tsv file.
 csvlint --delimiter='\t' your_input_file.tsv
 The other supported file extensions are .txt or .html, which is
 treated as a single large chunk of text.
 .google.cloud.translation.v3.GcsSource gcs_source = 2;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | GcsSource | The gcsSource. | 
    
  
  
  
  
    public GcsSource.Builder getGcsSourceBuilder()
   
   Required. Google Cloud Storage location for the source input.
 This can be a single file (for example,
 gs://translation-test/input.tsv) or a wildcard (for example,
 gs://translation-test/*). If a file extension is .tsv, it can
 contain either one or two columns. The first column (optional) is the id
 of the text request. If the first column is missing, we use the row
 number (0-based) from the input file as the ID in the output file. The
 second column is the actual text to be
  translated. We recommend each row be <= 10K Unicode codepoints,
 otherwise an error might be returned.
 Note that the input tsv must be RFC 4180 compliant.
 You could use https://github.com/Clever/csvlint to check potential
 formatting errors in your tsv file.
 csvlint --delimiter='\t' your_input_file.tsv
 The other supported file extensions are .txt or .html, which is
 treated as a single large chunk of text.
 .google.cloud.translation.v3.GcsSource gcs_source = 2;
    public GcsSourceOrBuilder getGcsSourceOrBuilder()
   
   Required. Google Cloud Storage location for the source input.
 This can be a single file (for example,
 gs://translation-test/input.tsv) or a wildcard (for example,
 gs://translation-test/*). If a file extension is .tsv, it can
 contain either one or two columns. The first column (optional) is the id
 of the text request. If the first column is missing, we use the row
 number (0-based) from the input file as the ID in the output file. The
 second column is the actual text to be
  translated. We recommend each row be <= 10K Unicode codepoints,
 otherwise an error might be returned.
 Note that the input tsv must be RFC 4180 compliant.
 You could use https://github.com/Clever/csvlint to check potential
 formatting errors in your tsv file.
 csvlint --delimiter='\t' your_input_file.tsv
 The other supported file extensions are .txt or .html, which is
 treated as a single large chunk of text.
 .google.cloud.translation.v3.GcsSource gcs_source = 2;
    public String getMimeType()
   
   Optional. Can be "text/plain" or "text/html".
 For .tsv, "text/html" is used if mime_type is missing.
 For .html, this field must be "text/html" or empty.
 For .txt, this field must be "text/plain" or empty.
 string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | String | The mimeType. | 
    
  
  
  
  
    public ByteString getMimeTypeBytes()
   
   Optional. Can be "text/plain" or "text/html".
 For .tsv, "text/html" is used if mime_type is missing.
 For .html, this field must be "text/html" or empty.
 For .txt, this field must be "text/plain" or empty.
 string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        | Returns | 
      
        | Type | Description | 
      
        | ByteString | The bytes for mimeType. | 
    
  
  
  
  
    public InputConfig.SourceCase getSourceCase()
   
  
  
  
  
    public boolean hasGcsSource()
   
   Required. Google Cloud Storage location for the source input.
 This can be a single file (for example,
 gs://translation-test/input.tsv) or a wildcard (for example,
 gs://translation-test/*). If a file extension is .tsv, it can
 contain either one or two columns. The first column (optional) is the id
 of the text request. If the first column is missing, we use the row
 number (0-based) from the input file as the ID in the output file. The
 second column is the actual text to be
  translated. We recommend each row be <= 10K Unicode codepoints,
 otherwise an error might be returned.
 Note that the input tsv must be RFC 4180 compliant.
 You could use https://github.com/Clever/csvlint to check potential
 formatting errors in your tsv file.
 csvlint --delimiter='\t' your_input_file.tsv
 The other supported file extensions are .txt or .html, which is
 treated as a single large chunk of text.
 .google.cloud.translation.v3.GcsSource gcs_source = 2;
    
      
        | Returns | 
      
        | Type | Description | 
      
        | boolean | Whether the gcsSource field is set. | 
    
  
  
  
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  
  Overrides
  
  
  
  
    public final boolean isInitialized()
   
  
  Overrides
  
  
  
  
    public InputConfig.Builder mergeFrom(InputConfig other)
   
  
  
  
  
  
    public InputConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  
  
  Overrides
  
  
  
  
  
    public InputConfig.Builder mergeFrom(Message other)
   
  
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | other | Message
 | 
    
  
  
  Overrides
  
  
  
  
    public InputConfig.Builder mergeGcsSource(GcsSource value)
   
   Required. Google Cloud Storage location for the source input.
 This can be a single file (for example,
 gs://translation-test/input.tsv) or a wildcard (for example,
 gs://translation-test/*). If a file extension is .tsv, it can
 contain either one or two columns. The first column (optional) is the id
 of the text request. If the first column is missing, we use the row
 number (0-based) from the input file as the ID in the output file. The
 second column is the actual text to be
  translated. We recommend each row be <= 10K Unicode codepoints,
 otherwise an error might be returned.
 Note that the input tsv must be RFC 4180 compliant.
 You could use https://github.com/Clever/csvlint to check potential
 formatting errors in your tsv file.
 csvlint --delimiter='\t' your_input_file.tsv
 The other supported file extensions are .txt or .html, which is
 treated as a single large chunk of text.
 .google.cloud.translation.v3.GcsSource gcs_source = 2;
    public final InputConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides
  
  
  
  
    public InputConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  
  
  Overrides
  
  
  
  
    public InputConfig.Builder setGcsSource(GcsSource value)
   
   Required. Google Cloud Storage location for the source input.
 This can be a single file (for example,
 gs://translation-test/input.tsv) or a wildcard (for example,
 gs://translation-test/*). If a file extension is .tsv, it can
 contain either one or two columns. The first column (optional) is the id
 of the text request. If the first column is missing, we use the row
 number (0-based) from the input file as the ID in the output file. The
 second column is the actual text to be
  translated. We recommend each row be <= 10K Unicode codepoints,
 otherwise an error might be returned.
 Note that the input tsv must be RFC 4180 compliant.
 You could use https://github.com/Clever/csvlint to check potential
 formatting errors in your tsv file.
 csvlint --delimiter='\t' your_input_file.tsv
 The other supported file extensions are .txt or .html, which is
 treated as a single large chunk of text.
 .google.cloud.translation.v3.GcsSource gcs_source = 2;
    public InputConfig.Builder setGcsSource(GcsSource.Builder builderForValue)
   
   Required. Google Cloud Storage location for the source input.
 This can be a single file (for example,
 gs://translation-test/input.tsv) or a wildcard (for example,
 gs://translation-test/*). If a file extension is .tsv, it can
 contain either one or two columns. The first column (optional) is the id
 of the text request. If the first column is missing, we use the row
 number (0-based) from the input file as the ID in the output file. The
 second column is the actual text to be
  translated. We recommend each row be <= 10K Unicode codepoints,
 otherwise an error might be returned.
 Note that the input tsv must be RFC 4180 compliant.
 You could use https://github.com/Clever/csvlint to check potential
 formatting errors in your tsv file.
 csvlint --delimiter='\t' your_input_file.tsv
 The other supported file extensions are .txt or .html, which is
 treated as a single large chunk of text.
 .google.cloud.translation.v3.GcsSource gcs_source = 2;
    public InputConfig.Builder setMimeType(String value)
   
   Optional. Can be "text/plain" or "text/html".
 For .tsv, "text/html" is used if mime_type is missing.
 For .html, this field must be "text/html" or empty.
 For .txt, this field must be "text/plain" or empty.
 string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | value | String
 The mimeType to set. | 
    
  
  
  
  
  
    public InputConfig.Builder setMimeTypeBytes(ByteString value)
   
   Optional. Can be "text/plain" or "text/html".
 For .tsv, "text/html" is used if mime_type is missing.
 For .html, this field must be "text/html" or empty.
 For .txt, this field must be "text/plain" or empty.
 string mime_type = 1 [(.google.api.field_behavior) = OPTIONAL];
    
      
        | Parameter | 
      
        | Name | Description | 
      
        | value | ByteString
 The bytes for mimeType to set. | 
    
  
  
  
  
  
    public InputConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  
  
  Overrides
  
  
  
  
    public final InputConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  
  
  Overrides