Interface BigQueryMessageOptionsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
BigQueryMessageOptions, BigQueryMessageOptions.Builder

public interface BigQueryMessageOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getExtraFields(int index)
    If set, adds defined extra fields to a JSON representation of the message.
    com.google.protobuf.ByteString
    If set, adds defined extra fields to a JSON representation of the message.
    int
    If set, adds defined extra fields to a JSON representation of the message.
    If set, adds defined extra fields to a JSON representation of the message.
    Specifies a name of table in BigQuery for the message.
    com.google.protobuf.ByteString
    Specifies a name of table in BigQuery for the message.
    boolean
    If true, BigQuery field names will default to a field's JSON name, not its original/proto field name.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getTableName

      String getTableName()
       Specifies a name of table in BigQuery for the message.
      
       If not blank, indicates the message is a type of record to be stored into BigQuery.
       
      string table_name = 1 [json_name = "tableName"];
      Returns:
      The tableName.
    • getTableNameBytes

      com.google.protobuf.ByteString getTableNameBytes()
       Specifies a name of table in BigQuery for the message.
      
       If not blank, indicates the message is a type of record to be stored into BigQuery.
       
      string table_name = 1 [json_name = "tableName"];
      Returns:
      The bytes for tableName.
    • getUseJsonNames

      boolean getUseJsonNames()
       If true, BigQuery field names will default to a field's JSON name,
       not its original/proto field name.
       
      bool use_json_names = 2 [json_name = "useJsonNames"];
      Returns:
      The useJsonNames.
    • getExtraFieldsList

      List<String> getExtraFieldsList()
       If set, adds defined extra fields to a JSON representation of the message.
       Value format: "<field name>:<BigQuery field type>" for basic types
       or "<field name>:RECORD:<protobuf type>" for message types.
       "NULLABLE" by default, different mode may be set via optional suffix ":<mode>"
       
      repeated string extra_fields = 3 [json_name = "extraFields"];
      Returns:
      A list containing the extraFields.
    • getExtraFieldsCount

      int getExtraFieldsCount()
       If set, adds defined extra fields to a JSON representation of the message.
       Value format: "<field name>:<BigQuery field type>" for basic types
       or "<field name>:RECORD:<protobuf type>" for message types.
       "NULLABLE" by default, different mode may be set via optional suffix ":<mode>"
       
      repeated string extra_fields = 3 [json_name = "extraFields"];
      Returns:
      The count of extraFields.
    • getExtraFields

      String getExtraFields(int index)
       If set, adds defined extra fields to a JSON representation of the message.
       Value format: "<field name>:<BigQuery field type>" for basic types
       or "<field name>:RECORD:<protobuf type>" for message types.
       "NULLABLE" by default, different mode may be set via optional suffix ":<mode>"
       
      repeated string extra_fields = 3 [json_name = "extraFields"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The extraFields at the given index.
    • getExtraFieldsBytes

      com.google.protobuf.ByteString getExtraFieldsBytes(int index)
       If set, adds defined extra fields to a JSON representation of the message.
       Value format: "<field name>:<BigQuery field type>" for basic types
       or "<field name>:RECORD:<protobuf type>" for message types.
       "NULLABLE" by default, different mode may be set via optional suffix ":<mode>"
       
      repeated string extra_fields = 3 [json_name = "extraFields"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the extraFields at the given index.