Package org.apache.drill.exec.proto
Class UserProtos.ColumnMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
org.apache.drill.exec.proto.UserProtos.ColumnMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,UserProtos.ColumnMetadataOrBuilder
- Enclosing class:
- UserProtos.ColumnMetadata
public static final class UserProtos.ColumnMetadata.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
implements UserProtos.ColumnMetadataOrBuilder
Message encapsulating metadata for a Column.Protobuf type
exec.user.ColumnMetadata
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
optional string catalog_name = 1;
optional int32 char_max_length = 9;
optional int32 char_octet_length = 10;
optional string column_name = 4;
optional int32 column_size = 17;
optional string data_type = 8;
optional int32 date_time_precision = 14;
optional string default_value = 6;
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) optional int32 interval_precision = 16;
optional string interval_type = 15;
optional bool is_nullable = 7;
optional int32 numeric_precision = 11;
optional int32 numeric_precision_radix = 12;
optional int32 numeric_scale = 13;
clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) optional int32 ordinal_position = 5;
optional string schema_name = 2;
optional string table_name = 3;
clone()
optional string catalog_name = 1;
com.google.protobuf.ByteString
optional string catalog_name = 1;
int
optional int32 char_max_length = 9;
int
optional int32 char_octet_length = 10;
optional string column_name = 4;
com.google.protobuf.ByteString
optional string column_name = 4;
int
optional int32 column_size = 17;
optional string data_type = 8;
com.google.protobuf.ByteString
optional string data_type = 8;
int
optional int32 date_time_precision = 14;
optional string default_value = 6;
com.google.protobuf.ByteString
optional string default_value = 6;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
optional int32 interval_precision = 16;
optional string interval_type = 15;
com.google.protobuf.ByteString
optional string interval_type = 15;
boolean
optional bool is_nullable = 7;
int
optional int32 numeric_precision = 11;
int
optional int32 numeric_precision_radix = 12;
int
optional int32 numeric_scale = 13;
int
optional int32 ordinal_position = 5;
optional string schema_name = 2;
com.google.protobuf.ByteString
optional string schema_name = 2;
optional string table_name = 3;
com.google.protobuf.ByteString
optional string table_name = 3;
boolean
optional string catalog_name = 1;
boolean
optional int32 char_max_length = 9;
boolean
optional int32 char_octet_length = 10;
boolean
optional string column_name = 4;
boolean
optional int32 column_size = 17;
boolean
optional string data_type = 8;
boolean
optional int32 date_time_precision = 14;
boolean
optional string default_value = 6;
boolean
optional int32 interval_precision = 16;
boolean
optional string interval_type = 15;
boolean
optional bool is_nullable = 7;
boolean
optional int32 numeric_precision = 11;
boolean
optional int32 numeric_precision_radix = 12;
boolean
optional int32 numeric_scale = 13;
boolean
optional int32 ordinal_position = 5;
boolean
optional string schema_name = 2;
boolean
optional string table_name = 3;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setCatalogName
(String value) optional string catalog_name = 1;
setCatalogNameBytes
(com.google.protobuf.ByteString value) optional string catalog_name = 1;
setCharMaxLength
(int value) optional int32 char_max_length = 9;
setCharOctetLength
(int value) optional int32 char_octet_length = 10;
setColumnName
(String value) optional string column_name = 4;
setColumnNameBytes
(com.google.protobuf.ByteString value) optional string column_name = 4;
setColumnSize
(int value) optional int32 column_size = 17;
setDataType
(String value) optional string data_type = 8;
setDataTypeBytes
(com.google.protobuf.ByteString value) optional string data_type = 8;
setDateTimePrecision
(int value) optional int32 date_time_precision = 14;
setDefaultValue
(String value) optional string default_value = 6;
setDefaultValueBytes
(com.google.protobuf.ByteString value) optional string default_value = 6;
setIntervalPrecision
(int value) optional int32 interval_precision = 16;
setIntervalType
(String value) optional string interval_type = 15;
setIntervalTypeBytes
(com.google.protobuf.ByteString value) optional string interval_type = 15;
setIsNullable
(boolean value) optional bool is_nullable = 7;
setNumericPrecision
(int value) optional int32 numeric_precision = 11;
setNumericPrecisionRadix
(int value) optional int32 numeric_precision_radix = 12;
setNumericScale
(int value) optional int32 numeric_scale = 13;
setOrdinalPosition
(int value) optional int32 ordinal_position = 5;
setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setSchemaName
(String value) optional string schema_name = 2;
setSchemaNameBytes
(com.google.protobuf.ByteString value) optional string schema_name = 2;
setTableName
(String value) optional string table_name = 3;
setTableNameBytes
(com.google.protobuf.ByteString value) optional string table_name = 3;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, 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.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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
-
setField
public UserProtos.ColumnMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
-
clearField
public UserProtos.ColumnMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
-
clearOneof
public UserProtos.ColumnMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
-
setRepeatedField
public UserProtos.ColumnMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
-
addRepeatedField
public UserProtos.ColumnMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserProtos.ColumnMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
-
mergeFrom
public UserProtos.ColumnMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<UserProtos.ColumnMetadata.Builder>
- Throws:
IOException
-
hasCatalogName
public boolean hasCatalogName()optional string catalog_name = 1;
- Specified by:
hasCatalogName
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the catalogName field is set.
-
getCatalogName
optional string catalog_name = 1;
- Specified by:
getCatalogName
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The catalogName.
-
getCatalogNameBytes
public com.google.protobuf.ByteString getCatalogNameBytes()optional string catalog_name = 1;
- Specified by:
getCatalogNameBytes
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The bytes for catalogName.
-
setCatalogName
optional string catalog_name = 1;
- Parameters:
value
- The catalogName to set.- Returns:
- This builder for chaining.
-
clearCatalogName
optional string catalog_name = 1;
- Returns:
- This builder for chaining.
-
setCatalogNameBytes
optional string catalog_name = 1;
- Parameters:
value
- The bytes for catalogName to set.- Returns:
- This builder for chaining.
-
hasSchemaName
public boolean hasSchemaName()optional string schema_name = 2;
- Specified by:
hasSchemaName
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the schemaName field is set.
-
getSchemaName
optional string schema_name = 2;
- Specified by:
getSchemaName
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The schemaName.
-
getSchemaNameBytes
public com.google.protobuf.ByteString getSchemaNameBytes()optional string schema_name = 2;
- Specified by:
getSchemaNameBytes
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The bytes for schemaName.
-
setSchemaName
optional string schema_name = 2;
- Parameters:
value
- The schemaName to set.- Returns:
- This builder for chaining.
-
clearSchemaName
optional string schema_name = 2;
- Returns:
- This builder for chaining.
-
setSchemaNameBytes
optional string schema_name = 2;
- Parameters:
value
- The bytes for schemaName to set.- Returns:
- This builder for chaining.
-
hasTableName
public boolean hasTableName()optional string table_name = 3;
- Specified by:
hasTableName
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the tableName field is set.
-
getTableName
optional string table_name = 3;
- Specified by:
getTableName
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The tableName.
-
getTableNameBytes
public com.google.protobuf.ByteString getTableNameBytes()optional string table_name = 3;
- Specified by:
getTableNameBytes
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The bytes for tableName.
-
setTableName
optional string table_name = 3;
- Parameters:
value
- The tableName to set.- Returns:
- This builder for chaining.
-
clearTableName
optional string table_name = 3;
- Returns:
- This builder for chaining.
-
setTableNameBytes
optional string table_name = 3;
- Parameters:
value
- The bytes for tableName to set.- Returns:
- This builder for chaining.
-
hasColumnName
public boolean hasColumnName()optional string column_name = 4;
- Specified by:
hasColumnName
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the columnName field is set.
-
getColumnName
optional string column_name = 4;
- Specified by:
getColumnName
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The columnName.
-
getColumnNameBytes
public com.google.protobuf.ByteString getColumnNameBytes()optional string column_name = 4;
- Specified by:
getColumnNameBytes
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The bytes for columnName.
-
setColumnName
optional string column_name = 4;
- Parameters:
value
- The columnName to set.- Returns:
- This builder for chaining.
-
clearColumnName
optional string column_name = 4;
- Returns:
- This builder for chaining.
-
setColumnNameBytes
optional string column_name = 4;
- Parameters:
value
- The bytes for columnName to set.- Returns:
- This builder for chaining.
-
hasOrdinalPosition
public boolean hasOrdinalPosition()optional int32 ordinal_position = 5;
- Specified by:
hasOrdinalPosition
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the ordinalPosition field is set.
-
getOrdinalPosition
public int getOrdinalPosition()optional int32 ordinal_position = 5;
- Specified by:
getOrdinalPosition
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The ordinalPosition.
-
setOrdinalPosition
optional int32 ordinal_position = 5;
- Parameters:
value
- The ordinalPosition to set.- Returns:
- This builder for chaining.
-
clearOrdinalPosition
optional int32 ordinal_position = 5;
- Returns:
- This builder for chaining.
-
hasDefaultValue
public boolean hasDefaultValue()optional string default_value = 6;
- Specified by:
hasDefaultValue
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the defaultValue field is set.
-
getDefaultValue
optional string default_value = 6;
- Specified by:
getDefaultValue
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The defaultValue.
-
getDefaultValueBytes
public com.google.protobuf.ByteString getDefaultValueBytes()optional string default_value = 6;
- Specified by:
getDefaultValueBytes
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The bytes for defaultValue.
-
setDefaultValue
optional string default_value = 6;
- Parameters:
value
- The defaultValue to set.- Returns:
- This builder for chaining.
-
clearDefaultValue
optional string default_value = 6;
- Returns:
- This builder for chaining.
-
setDefaultValueBytes
optional string default_value = 6;
- Parameters:
value
- The bytes for defaultValue to set.- Returns:
- This builder for chaining.
-
hasIsNullable
public boolean hasIsNullable()optional bool is_nullable = 7;
- Specified by:
hasIsNullable
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the isNullable field is set.
-
getIsNullable
public boolean getIsNullable()optional bool is_nullable = 7;
- Specified by:
getIsNullable
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The isNullable.
-
setIsNullable
optional bool is_nullable = 7;
- Parameters:
value
- The isNullable to set.- Returns:
- This builder for chaining.
-
clearIsNullable
optional bool is_nullable = 7;
- Returns:
- This builder for chaining.
-
hasDataType
public boolean hasDataType()optional string data_type = 8;
- Specified by:
hasDataType
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the dataType field is set.
-
getDataType
optional string data_type = 8;
- Specified by:
getDataType
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()optional string data_type = 8;
- Specified by:
getDataTypeBytes
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The bytes for dataType.
-
setDataType
optional string data_type = 8;
- Parameters:
value
- The dataType to set.- Returns:
- This builder for chaining.
-
clearDataType
optional string data_type = 8;
- Returns:
- This builder for chaining.
-
setDataTypeBytes
optional string data_type = 8;
- Parameters:
value
- The bytes for dataType to set.- Returns:
- This builder for chaining.
-
hasCharMaxLength
public boolean hasCharMaxLength()optional int32 char_max_length = 9;
- Specified by:
hasCharMaxLength
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the charMaxLength field is set.
-
getCharMaxLength
public int getCharMaxLength()optional int32 char_max_length = 9;
- Specified by:
getCharMaxLength
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The charMaxLength.
-
setCharMaxLength
optional int32 char_max_length = 9;
- Parameters:
value
- The charMaxLength to set.- Returns:
- This builder for chaining.
-
clearCharMaxLength
optional int32 char_max_length = 9;
- Returns:
- This builder for chaining.
-
hasCharOctetLength
public boolean hasCharOctetLength()optional int32 char_octet_length = 10;
- Specified by:
hasCharOctetLength
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the charOctetLength field is set.
-
getCharOctetLength
public int getCharOctetLength()optional int32 char_octet_length = 10;
- Specified by:
getCharOctetLength
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The charOctetLength.
-
setCharOctetLength
optional int32 char_octet_length = 10;
- Parameters:
value
- The charOctetLength to set.- Returns:
- This builder for chaining.
-
clearCharOctetLength
optional int32 char_octet_length = 10;
- Returns:
- This builder for chaining.
-
hasNumericPrecision
public boolean hasNumericPrecision()optional int32 numeric_precision = 11;
- Specified by:
hasNumericPrecision
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the numericPrecision field is set.
-
getNumericPrecision
public int getNumericPrecision()optional int32 numeric_precision = 11;
- Specified by:
getNumericPrecision
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The numericPrecision.
-
setNumericPrecision
optional int32 numeric_precision = 11;
- Parameters:
value
- The numericPrecision to set.- Returns:
- This builder for chaining.
-
clearNumericPrecision
optional int32 numeric_precision = 11;
- Returns:
- This builder for chaining.
-
hasNumericPrecisionRadix
public boolean hasNumericPrecisionRadix()optional int32 numeric_precision_radix = 12;
- Specified by:
hasNumericPrecisionRadix
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the numericPrecisionRadix field is set.
-
getNumericPrecisionRadix
public int getNumericPrecisionRadix()optional int32 numeric_precision_radix = 12;
- Specified by:
getNumericPrecisionRadix
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The numericPrecisionRadix.
-
setNumericPrecisionRadix
optional int32 numeric_precision_radix = 12;
- Parameters:
value
- The numericPrecisionRadix to set.- Returns:
- This builder for chaining.
-
clearNumericPrecisionRadix
optional int32 numeric_precision_radix = 12;
- Returns:
- This builder for chaining.
-
hasNumericScale
public boolean hasNumericScale()optional int32 numeric_scale = 13;
- Specified by:
hasNumericScale
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the numericScale field is set.
-
getNumericScale
public int getNumericScale()optional int32 numeric_scale = 13;
- Specified by:
getNumericScale
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The numericScale.
-
setNumericScale
optional int32 numeric_scale = 13;
- Parameters:
value
- The numericScale to set.- Returns:
- This builder for chaining.
-
clearNumericScale
optional int32 numeric_scale = 13;
- Returns:
- This builder for chaining.
-
hasDateTimePrecision
public boolean hasDateTimePrecision()optional int32 date_time_precision = 14;
- Specified by:
hasDateTimePrecision
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the dateTimePrecision field is set.
-
getDateTimePrecision
public int getDateTimePrecision()optional int32 date_time_precision = 14;
- Specified by:
getDateTimePrecision
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The dateTimePrecision.
-
setDateTimePrecision
optional int32 date_time_precision = 14;
- Parameters:
value
- The dateTimePrecision to set.- Returns:
- This builder for chaining.
-
clearDateTimePrecision
optional int32 date_time_precision = 14;
- Returns:
- This builder for chaining.
-
hasIntervalType
public boolean hasIntervalType()optional string interval_type = 15;
- Specified by:
hasIntervalType
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the intervalType field is set.
-
getIntervalType
optional string interval_type = 15;
- Specified by:
getIntervalType
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The intervalType.
-
getIntervalTypeBytes
public com.google.protobuf.ByteString getIntervalTypeBytes()optional string interval_type = 15;
- Specified by:
getIntervalTypeBytes
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The bytes for intervalType.
-
setIntervalType
optional string interval_type = 15;
- Parameters:
value
- The intervalType to set.- Returns:
- This builder for chaining.
-
clearIntervalType
optional string interval_type = 15;
- Returns:
- This builder for chaining.
-
setIntervalTypeBytes
optional string interval_type = 15;
- Parameters:
value
- The bytes for intervalType to set.- Returns:
- This builder for chaining.
-
hasIntervalPrecision
public boolean hasIntervalPrecision()optional int32 interval_precision = 16;
- Specified by:
hasIntervalPrecision
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the intervalPrecision field is set.
-
getIntervalPrecision
public int getIntervalPrecision()optional int32 interval_precision = 16;
- Specified by:
getIntervalPrecision
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The intervalPrecision.
-
setIntervalPrecision
optional int32 interval_precision = 16;
- Parameters:
value
- The intervalPrecision to set.- Returns:
- This builder for chaining.
-
clearIntervalPrecision
optional int32 interval_precision = 16;
- Returns:
- This builder for chaining.
-
hasColumnSize
public boolean hasColumnSize()optional int32 column_size = 17;
- Specified by:
hasColumnSize
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- Whether the columnSize field is set.
-
getColumnSize
public int getColumnSize()optional int32 column_size = 17;
- Specified by:
getColumnSize
in interfaceUserProtos.ColumnMetadataOrBuilder
- Returns:
- The columnSize.
-
setColumnSize
optional int32 column_size = 17;
- Parameters:
value
- The columnSize to set.- Returns:
- This builder for chaining.
-
clearColumnSize
optional int32 column_size = 17;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final UserProtos.ColumnMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
-
mergeUnknownFields
public final UserProtos.ColumnMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<UserProtos.ColumnMetadata.Builder>
-