Interface TableFieldSchemaOrBuilder

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

    public interface TableFieldSchemaOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getName

        String getName()
         Required. The field name. The name must contain only letters (a-z, A-Z),
         numbers (0-9), or underscores (_), and must start with a letter or
         underscore. The maximum length is 128 characters.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. The field name. The name must contain only letters (a-z, A-Z),
         numbers (0-9), or underscores (_), and must start with a letter or
         underscore. The maximum length is 128 characters.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The bytes for name.
      • getTypeValue

        int getTypeValue()
         Required. The field data type.
         
        .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The enum numeric value on the wire for type.
      • getType

        TableFieldSchema.Type getType()
         Required. The field data type.
         
        .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Type type = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The type.
      • getModeValue

        int getModeValue()
         Optional. The field mode. The default value is NULLABLE.
         
        .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The enum numeric value on the wire for mode.
      • getMode

        TableFieldSchema.Mode getMode()
         Optional. The field mode. The default value is NULLABLE.
         
        .google.cloud.bigquery.storage.v1beta2.TableFieldSchema.Mode mode = 3 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The mode.
      • getFieldsList

        List<TableFieldSchema> getFieldsList()
         Optional. Describes the nested schema fields if the type property is set to STRUCT.
         
        repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getFields

        TableFieldSchema getFields​(int index)
         Optional. Describes the nested schema fields if the type property is set to STRUCT.
         
        repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getFieldsCount

        int getFieldsCount()
         Optional. Describes the nested schema fields if the type property is set to STRUCT.
         
        repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getFieldsOrBuilderList

        List<? extends TableFieldSchemaOrBuilder> getFieldsOrBuilderList()
         Optional. Describes the nested schema fields if the type property is set to STRUCT.
         
        repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getFieldsOrBuilder

        TableFieldSchemaOrBuilder getFieldsOrBuilder​(int index)
         Optional. Describes the nested schema fields if the type property is set to STRUCT.
         
        repeated .google.cloud.bigquery.storage.v1beta2.TableFieldSchema fields = 4 [(.google.api.field_behavior) = OPTIONAL];
      • getDescription

        String getDescription()
         Optional. The field description. The maximum length is 1,024 characters.
         
        string description = 6 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         Optional. The field description. The maximum length is 1,024 characters.
         
        string description = 6 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The bytes for description.