Package com.elide.model
Class TableFieldOptions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
com.elide.model.TableFieldOptions.Builder
- All Implemented Interfaces:
TableFieldOptionsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
TableFieldOptions
public static final class TableFieldOptions.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
implements TableFieldOptionsOrBuilder
Specifies options specific to storing this field in a tabular-style data engine.Protobuf type
elide.model.TableFieldOptions-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Overrides the BigQuery type associated with the exported form of this message field.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) clearId()Unique ID or path assigned to this field in a universally specified data model.Marks this field as ignored for serialization in tabular circumstances.Name of the field in columnar circumstances.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) Converts this field into a `REPEATED`-mode field in BigQuery.Marks this field as `REQUIRED` in tabular schemas.Size of the field.Overrides the Spanner type associated with the exported form of this message field.clone()Overrides the BigQuery type associated with the exported form of this message field.intOverrides the BigQuery type associated with the exported form of this message field.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetId()Unique ID or path assigned to this field in a universally specified data model.com.google.protobuf.ByteStringUnique ID or path assigned to this field in a universally specified data model.booleanMarks this field as ignored for serialization in tabular circumstances.getName()Name of the field in columnar circumstances.com.google.protobuf.ByteStringName of the field in columnar circumstances.booleanConverts this field into a `REPEATED`-mode field in BigQuery.booleanMarks this field as `REQUIRED` in tabular schemas.intgetSize()Size of the field.Overrides the Spanner type associated with the exported form of this message field.intOverrides the Spanner type associated with the exported form of this message field.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(TableFieldOptions other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Overrides the BigQuery type associated with the exported form of this message field.setBqtypeValue(int value) Overrides the BigQuery type associated with the exported form of this message field.Unique ID or path assigned to this field in a universally specified data model.setIdBytes(com.google.protobuf.ByteString value) Unique ID or path assigned to this field in a universally specified data model.setIgnore(boolean value) Marks this field as ignored for serialization in tabular circumstances.Name of the field in columnar circumstances.setNameBytes(com.google.protobuf.ByteString value) Name of the field in columnar circumstances.setRepeated(boolean value) Converts this field into a `REPEATED`-mode field in BigQuery.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setRequire(boolean value) Marks this field as `REQUIRED` in tabular schemas.setSize(int value) Size of the field.Overrides the Spanner type associated with the exported form of this message field.setSptypeValue(int value) Overrides the Spanner type associated with the exported form of this message field.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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
-
setField
public TableFieldOptions.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
-
setRepeatedField
public TableFieldOptions.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
-
addRepeatedField
public TableFieldOptions.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TableFieldOptions.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
-
mergeFrom
public TableFieldOptions.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TableFieldOptions.Builder>- Throws:
IOException
-
getRequire
public boolean getRequire()Marks this field as `REQUIRED` in tabular schemas.
bool require = 1 [json_name = "require"];- Specified by:
getRequirein interfaceTableFieldOptionsOrBuilder- Returns:
- The require.
-
setRequire
Marks this field as `REQUIRED` in tabular schemas.
bool require = 1 [json_name = "require"];- Parameters:
value- The require to set.- Returns:
- This builder for chaining.
-
clearRequire
Marks this field as `REQUIRED` in tabular schemas.
bool require = 1 [json_name = "require"];- Returns:
- This builder for chaining.
-
getIgnore
public boolean getIgnore()Marks this field as ignored for serialization in tabular circumstances.
bool ignore = 2 [json_name = "ignore"];- Specified by:
getIgnorein interfaceTableFieldOptionsOrBuilder- Returns:
- The ignore.
-
setIgnore
Marks this field as ignored for serialization in tabular circumstances.
bool ignore = 2 [json_name = "ignore"];- Parameters:
value- The ignore to set.- Returns:
- This builder for chaining.
-
clearIgnore
Marks this field as ignored for serialization in tabular circumstances.
bool ignore = 2 [json_name = "ignore"];- Returns:
- This builder for chaining.
-
getBqtypeValue
public int getBqtypeValue()Overrides the BigQuery type associated with the exported form of this message field.
.elide.model.BigQueryOptions.BigQueryType bqtype = 3 [json_name = "bqtype"];- Specified by:
getBqtypeValuein interfaceTableFieldOptionsOrBuilder- Returns:
- The enum numeric value on the wire for bqtype.
-
setBqtypeValue
Overrides the BigQuery type associated with the exported form of this message field.
.elide.model.BigQueryOptions.BigQueryType bqtype = 3 [json_name = "bqtype"];- Parameters:
value- The enum numeric value on the wire for bqtype to set.- Returns:
- This builder for chaining.
-
getBqtype
Overrides the BigQuery type associated with the exported form of this message field.
.elide.model.BigQueryOptions.BigQueryType bqtype = 3 [json_name = "bqtype"];- Specified by:
getBqtypein interfaceTableFieldOptionsOrBuilder- Returns:
- The bqtype.
-
setBqtype
Overrides the BigQuery type associated with the exported form of this message field.
.elide.model.BigQueryOptions.BigQueryType bqtype = 3 [json_name = "bqtype"];- Parameters:
value- The bqtype to set.- Returns:
- This builder for chaining.
-
clearBqtype
Overrides the BigQuery type associated with the exported form of this message field.
.elide.model.BigQueryOptions.BigQueryType bqtype = 3 [json_name = "bqtype"];- Returns:
- This builder for chaining.
-
getSptypeValue
public int getSptypeValue()Overrides the Spanner type associated with the exported form of this message field.
.elide.model.SpannerOptions.SpannerType sptype = 4 [json_name = "sptype"];- Specified by:
getSptypeValuein interfaceTableFieldOptionsOrBuilder- Returns:
- The enum numeric value on the wire for sptype.
-
setSptypeValue
Overrides the Spanner type associated with the exported form of this message field.
.elide.model.SpannerOptions.SpannerType sptype = 4 [json_name = "sptype"];- Parameters:
value- The enum numeric value on the wire for sptype to set.- Returns:
- This builder for chaining.
-
getSptype
Overrides the Spanner type associated with the exported form of this message field.
.elide.model.SpannerOptions.SpannerType sptype = 4 [json_name = "sptype"];- Specified by:
getSptypein interfaceTableFieldOptionsOrBuilder- Returns:
- The sptype.
-
setSptype
Overrides the Spanner type associated with the exported form of this message field.
.elide.model.SpannerOptions.SpannerType sptype = 4 [json_name = "sptype"];- Parameters:
value- The sptype to set.- Returns:
- This builder for chaining.
-
clearSptype
Overrides the Spanner type associated with the exported form of this message field.
.elide.model.SpannerOptions.SpannerType sptype = 4 [json_name = "sptype"];- Returns:
- This builder for chaining.
-
getRepeated
public boolean getRepeated()Converts this field into a `REPEATED`-mode field in BigQuery.
bool repeated = 5 [json_name = "repeated"];- Specified by:
getRepeatedin interfaceTableFieldOptionsOrBuilder- Returns:
- The repeated.
-
setRepeated
Converts this field into a `REPEATED`-mode field in BigQuery.
bool repeated = 5 [json_name = "repeated"];- Parameters:
value- The repeated to set.- Returns:
- This builder for chaining.
-
clearRepeated
Converts this field into a `REPEATED`-mode field in BigQuery.
bool repeated = 5 [json_name = "repeated"];- Returns:
- This builder for chaining.
-
getSize
public int getSize()Size of the field. Pass `0` (the default) for maximum width.
uint32 size = 6 [json_name = "size"];- Specified by:
getSizein interfaceTableFieldOptionsOrBuilder- Returns:
- The size.
-
setSize
Size of the field. Pass `0` (the default) for maximum width.
uint32 size = 6 [json_name = "size"];- Parameters:
value- The size to set.- Returns:
- This builder for chaining.
-
clearSize
Size of the field. Pass `0` (the default) for maximum width.
uint32 size = 6 [json_name = "size"];- Returns:
- This builder for chaining.
-
getName
Name of the field in columnar circumstances.
string name = 7 [json_name = "name"];- Specified by:
getNamein interfaceTableFieldOptionsOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()Name of the field in columnar circumstances.
string name = 7 [json_name = "name"];- Specified by:
getNameBytesin interfaceTableFieldOptionsOrBuilder- Returns:
- The bytes for name.
-
setName
Name of the field in columnar circumstances.
string name = 7 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
Name of the field in columnar circumstances.
string name = 7 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
Name of the field in columnar circumstances.
string name = 7 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getId
Unique ID or path assigned to this field in a universally specified data model.
string id = 8 [json_name = "id"];- Specified by:
getIdin interfaceTableFieldOptionsOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()Unique ID or path assigned to this field in a universally specified data model.
string id = 8 [json_name = "id"];- Specified by:
getIdBytesin interfaceTableFieldOptionsOrBuilder- Returns:
- The bytes for id.
-
setId
Unique ID or path assigned to this field in a universally specified data model.
string id = 8 [json_name = "id"];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
Unique ID or path assigned to this field in a universally specified data model.
string id = 8 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
Unique ID or path assigned to this field in a universally specified data model.
string id = 8 [json_name = "id"];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final TableFieldOptions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
-
mergeUnknownFields
public final TableFieldOptions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TableFieldOptions.Builder>
-