Class DataType.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<DataType.Builder>
com.google.cloud.automl.v1beta1.DataType.Builder
All Implemented Interfaces:
DataTypeOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
DataType

public static final class DataType.Builder extends com.google.protobuf.GeneratedMessage.Builder<DataType.Builder> implements DataTypeOrBuilder
 Indicated the type of data that can be stored in a structured data entity
 (e.g. a table).
 
Protobuf type google.cloud.automl.v1beta1.DataType
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
     
     
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY], then `list_element_type` is the type of the elements.
    If true, this DataType can also be `NULL`.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP] then `time_format` provides the format in which that time field is expressed.
    Required.
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    com.google.protobuf.Descriptors.Descriptor
     
     
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY], then `list_element_type` is the type of the elements.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY], then `list_element_type` is the type of the elements.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY], then `list_element_type` is the type of the elements.
    boolean
    If true, this DataType can also be `NULL`.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP] then `time_format` provides the format in which that time field is expressed.
    com.google.protobuf.ByteString
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP] then `time_format` provides the format in which that time field is expressed.
    Required.
    int
    Required.
    boolean
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY], then `list_element_type` is the type of the elements.
    boolean
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    boolean
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP] then `time_format` provides the format in which that time field is expressed.
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
    mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    mergeFrom(com.google.protobuf.Message other)
     
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY], then `list_element_type` is the type of the elements.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY], then `list_element_type` is the type of the elements.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY], then `list_element_type` is the type of the elements.
    setNullable(boolean value)
    If true, this DataType can also be `NULL`.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type` provides type information for the struct's fields.
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP] then `time_format` provides the format in which that time field is expressed.
    setTimeFormatBytes(com.google.protobuf.ByteString value)
    If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP] then `time_format` provides the format in which that time field is expressed.
    Required.
    setTypeCodeValue(int value)
    Required.

    Methods inherited from class com.google.protobuf.GeneratedMessage.Builder

    addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3

    Methods inherited from class com.google.protobuf.AbstractMessage.Builder

    findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

    addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.Message.Builder

    mergeDelimitedFrom, mergeDelimitedFrom

    Methods inherited from interface com.google.protobuf.MessageLite.Builder

    mergeFrom

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

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

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<DataType.Builder>
    • clear

      public DataType.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<DataType.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<DataType.Builder>
    • getDefaultInstanceForType

      public DataType getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public DataType build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public DataType buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public DataType.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataType.Builder>
    • mergeFrom

      public DataType.Builder mergeFrom(DataType other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<DataType.Builder>
    • mergeFrom

      public DataType.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<DataType.Builder>
      Throws:
      IOException
    • getDetailsCase

      public DataType.DetailsCase getDetailsCase()
      Specified by:
      getDetailsCase in interface DataTypeOrBuilder
    • clearDetails

      public DataType.Builder clearDetails()
    • hasListElementType

      public boolean hasListElementType()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY],
       then `list_element_type` is the type of the elements.
       
      .google.cloud.automl.v1beta1.DataType list_element_type = 2;
      Specified by:
      hasListElementType in interface DataTypeOrBuilder
      Returns:
      Whether the listElementType field is set.
    • getListElementType

      public DataType getListElementType()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY],
       then `list_element_type` is the type of the elements.
       
      .google.cloud.automl.v1beta1.DataType list_element_type = 2;
      Specified by:
      getListElementType in interface DataTypeOrBuilder
      Returns:
      The listElementType.
    • setListElementType

      public DataType.Builder setListElementType(DataType value)
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY],
       then `list_element_type` is the type of the elements.
       
      .google.cloud.automl.v1beta1.DataType list_element_type = 2;
    • setListElementType

      public DataType.Builder setListElementType(DataType.Builder builderForValue)
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY],
       then `list_element_type` is the type of the elements.
       
      .google.cloud.automl.v1beta1.DataType list_element_type = 2;
    • mergeListElementType

      public DataType.Builder mergeListElementType(DataType value)
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY],
       then `list_element_type` is the type of the elements.
       
      .google.cloud.automl.v1beta1.DataType list_element_type = 2;
    • clearListElementType

      public DataType.Builder clearListElementType()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY],
       then `list_element_type` is the type of the elements.
       
      .google.cloud.automl.v1beta1.DataType list_element_type = 2;
    • getListElementTypeBuilder

      public DataType.Builder getListElementTypeBuilder()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY],
       then `list_element_type` is the type of the elements.
       
      .google.cloud.automl.v1beta1.DataType list_element_type = 2;
    • getListElementTypeOrBuilder

      public DataTypeOrBuilder getListElementTypeOrBuilder()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY],
       then `list_element_type` is the type of the elements.
       
      .google.cloud.automl.v1beta1.DataType list_element_type = 2;
      Specified by:
      getListElementTypeOrBuilder in interface DataTypeOrBuilder
    • hasStructType

      public boolean hasStructType()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type`
       provides type information for the struct's fields.
       
      .google.cloud.automl.v1beta1.StructType struct_type = 3;
      Specified by:
      hasStructType in interface DataTypeOrBuilder
      Returns:
      Whether the structType field is set.
    • getStructType

      public StructType getStructType()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type`
       provides type information for the struct's fields.
       
      .google.cloud.automl.v1beta1.StructType struct_type = 3;
      Specified by:
      getStructType in interface DataTypeOrBuilder
      Returns:
      The structType.
    • setStructType

      public DataType.Builder setStructType(StructType value)
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type`
       provides type information for the struct's fields.
       
      .google.cloud.automl.v1beta1.StructType struct_type = 3;
    • setStructType

      public DataType.Builder setStructType(StructType.Builder builderForValue)
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type`
       provides type information for the struct's fields.
       
      .google.cloud.automl.v1beta1.StructType struct_type = 3;
    • mergeStructType

      public DataType.Builder mergeStructType(StructType value)
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type`
       provides type information for the struct's fields.
       
      .google.cloud.automl.v1beta1.StructType struct_type = 3;
    • clearStructType

      public DataType.Builder clearStructType()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type`
       provides type information for the struct's fields.
       
      .google.cloud.automl.v1beta1.StructType struct_type = 3;
    • getStructTypeBuilder

      public StructType.Builder getStructTypeBuilder()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type`
       provides type information for the struct's fields.
       
      .google.cloud.automl.v1beta1.StructType struct_type = 3;
    • getStructTypeOrBuilder

      public StructTypeOrBuilder getStructTypeOrBuilder()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT], then `struct_type`
       provides type information for the struct's fields.
       
      .google.cloud.automl.v1beta1.StructType struct_type = 3;
      Specified by:
      getStructTypeOrBuilder in interface DataTypeOrBuilder
    • hasTimeFormat

      public boolean hasTimeFormat()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP]
       then `time_format` provides the format in which that time field is
       expressed. The time_format must either be one of:
       * `UNIX_SECONDS`
       * `UNIX_MILLISECONDS`
       * `UNIX_MICROSECONDS`
       * `UNIX_NANOSECONDS`
       (for respectively number of seconds, milliseconds, microseconds and
       nanoseconds since start of the Unix epoch);
       or be written in `strftime` syntax. If time_format is not set, then the
       default format as described on the type_code is used.
       
      string time_format = 5;
      Specified by:
      hasTimeFormat in interface DataTypeOrBuilder
      Returns:
      Whether the timeFormat field is set.
    • getTimeFormat

      public String getTimeFormat()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP]
       then `time_format` provides the format in which that time field is
       expressed. The time_format must either be one of:
       * `UNIX_SECONDS`
       * `UNIX_MILLISECONDS`
       * `UNIX_MICROSECONDS`
       * `UNIX_NANOSECONDS`
       (for respectively number of seconds, milliseconds, microseconds and
       nanoseconds since start of the Unix epoch);
       or be written in `strftime` syntax. If time_format is not set, then the
       default format as described on the type_code is used.
       
      string time_format = 5;
      Specified by:
      getTimeFormat in interface DataTypeOrBuilder
      Returns:
      The timeFormat.
    • getTimeFormatBytes

      public com.google.protobuf.ByteString getTimeFormatBytes()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP]
       then `time_format` provides the format in which that time field is
       expressed. The time_format must either be one of:
       * `UNIX_SECONDS`
       * `UNIX_MILLISECONDS`
       * `UNIX_MICROSECONDS`
       * `UNIX_NANOSECONDS`
       (for respectively number of seconds, milliseconds, microseconds and
       nanoseconds since start of the Unix epoch);
       or be written in `strftime` syntax. If time_format is not set, then the
       default format as described on the type_code is used.
       
      string time_format = 5;
      Specified by:
      getTimeFormatBytes in interface DataTypeOrBuilder
      Returns:
      The bytes for timeFormat.
    • setTimeFormat

      public DataType.Builder setTimeFormat(String value)
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP]
       then `time_format` provides the format in which that time field is
       expressed. The time_format must either be one of:
       * `UNIX_SECONDS`
       * `UNIX_MILLISECONDS`
       * `UNIX_MICROSECONDS`
       * `UNIX_NANOSECONDS`
       (for respectively number of seconds, milliseconds, microseconds and
       nanoseconds since start of the Unix epoch);
       or be written in `strftime` syntax. If time_format is not set, then the
       default format as described on the type_code is used.
       
      string time_format = 5;
      Parameters:
      value - The timeFormat to set.
      Returns:
      This builder for chaining.
    • clearTimeFormat

      public DataType.Builder clearTimeFormat()
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP]
       then `time_format` provides the format in which that time field is
       expressed. The time_format must either be one of:
       * `UNIX_SECONDS`
       * `UNIX_MILLISECONDS`
       * `UNIX_MICROSECONDS`
       * `UNIX_NANOSECONDS`
       (for respectively number of seconds, milliseconds, microseconds and
       nanoseconds since start of the Unix epoch);
       or be written in `strftime` syntax. If time_format is not set, then the
       default format as described on the type_code is used.
       
      string time_format = 5;
      Returns:
      This builder for chaining.
    • setTimeFormatBytes

      public DataType.Builder setTimeFormatBytes(com.google.protobuf.ByteString value)
       If [type_code][google.cloud.automl.v1beta1.DataType.type_code] == [TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP]
       then `time_format` provides the format in which that time field is
       expressed. The time_format must either be one of:
       * `UNIX_SECONDS`
       * `UNIX_MILLISECONDS`
       * `UNIX_MICROSECONDS`
       * `UNIX_NANOSECONDS`
       (for respectively number of seconds, milliseconds, microseconds and
       nanoseconds since start of the Unix epoch);
       or be written in `strftime` syntax. If time_format is not set, then the
       default format as described on the type_code is used.
       
      string time_format = 5;
      Parameters:
      value - The bytes for timeFormat to set.
      Returns:
      This builder for chaining.
    • getTypeCodeValue

      public int getTypeCodeValue()
       Required. The [TypeCode][google.cloud.automl.v1beta1.TypeCode] for this type.
       
      .google.cloud.automl.v1beta1.TypeCode type_code = 1;
      Specified by:
      getTypeCodeValue in interface DataTypeOrBuilder
      Returns:
      The enum numeric value on the wire for typeCode.
    • setTypeCodeValue

      public DataType.Builder setTypeCodeValue(int value)
       Required. The [TypeCode][google.cloud.automl.v1beta1.TypeCode] for this type.
       
      .google.cloud.automl.v1beta1.TypeCode type_code = 1;
      Parameters:
      value - The enum numeric value on the wire for typeCode to set.
      Returns:
      This builder for chaining.
    • getTypeCode

      public TypeCode getTypeCode()
       Required. The [TypeCode][google.cloud.automl.v1beta1.TypeCode] for this type.
       
      .google.cloud.automl.v1beta1.TypeCode type_code = 1;
      Specified by:
      getTypeCode in interface DataTypeOrBuilder
      Returns:
      The typeCode.
    • setTypeCode

      public DataType.Builder setTypeCode(TypeCode value)
       Required. The [TypeCode][google.cloud.automl.v1beta1.TypeCode] for this type.
       
      .google.cloud.automl.v1beta1.TypeCode type_code = 1;
      Parameters:
      value - The typeCode to set.
      Returns:
      This builder for chaining.
    • clearTypeCode

      public DataType.Builder clearTypeCode()
       Required. The [TypeCode][google.cloud.automl.v1beta1.TypeCode] for this type.
       
      .google.cloud.automl.v1beta1.TypeCode type_code = 1;
      Returns:
      This builder for chaining.
    • getNullable

      public boolean getNullable()
       If true, this DataType can also be `NULL`. In .CSV files `NULL` value is
       expressed as an empty string.
       
      bool nullable = 4;
      Specified by:
      getNullable in interface DataTypeOrBuilder
      Returns:
      The nullable.
    • setNullable

      public DataType.Builder setNullable(boolean value)
       If true, this DataType can also be `NULL`. In .CSV files `NULL` value is
       expressed as an empty string.
       
      bool nullable = 4;
      Parameters:
      value - The nullable to set.
      Returns:
      This builder for chaining.
    • clearNullable

      public DataType.Builder clearNullable()
       If true, this DataType can also be `NULL`. In .CSV files `NULL` value is
       expressed as an empty string.
       
      bool nullable = 4;
      Returns:
      This builder for chaining.