Package com.google.cloud.clouddms.v1
Class ColumnEntity.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ColumnEntity.Builder>
-
- com.google.cloud.clouddms.v1.ColumnEntity.Builder
-
- All Implemented Interfaces:
ColumnEntityOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ColumnEntity
public static final class ColumnEntity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ColumnEntity.Builder> implements ColumnEntityOrBuilder
Column is not used as an independent entity, it is retrieved as part of a Table entity.
Protobuf typegoogle.cloud.clouddms.v1.ColumnEntity
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ColumnEntity.BuilderaddAllSetValues(Iterable<String> values)Specifies the list of values allowed in the column.ColumnEntity.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ColumnEntity.BuilderaddSetValues(String value)Specifies the list of values allowed in the column.ColumnEntity.BuilderaddSetValuesBytes(com.google.protobuf.ByteString value)Specifies the list of values allowed in the column.ColumnEntitybuild()ColumnEntitybuildPartial()ColumnEntity.Builderclear()ColumnEntity.BuilderclearArray()Is the column of array type.ColumnEntity.BuilderclearArrayLength()If the column is array, of which length.ColumnEntity.BuilderclearAutoGenerated()Is the column auto-generated/identity.ColumnEntity.BuilderclearCharset()Charset override - instead of table level charset.ColumnEntity.BuilderclearCollation()Collation override - instead of table level collation.ColumnEntity.BuilderclearComment()Comment associated with the column.ColumnEntity.BuilderclearCustomFeatures()Custom engine specific features.ColumnEntity.BuilderclearDataType()Column data type.ColumnEntity.BuilderclearDefaultValue()Default value of the column.ColumnEntity.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ColumnEntity.BuilderclearFractionalSecondsPrecision()Column fractional second precision - used for timestamp based datatypes.ColumnEntity.BuilderclearLength()Column length - e.g.ColumnEntity.BuilderclearName()Column name.ColumnEntity.BuilderclearNullable()Is the column nullable.ColumnEntity.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ColumnEntity.BuilderclearOrdinalPosition()Column order in the table.ColumnEntity.BuilderclearPrecision()Column precision - when relevant.ColumnEntity.BuilderclearScale()Column scale - when relevant.ColumnEntity.BuilderclearSetValues()Specifies the list of values allowed in the column.ColumnEntity.BuilderclearUdt()Is the column a UDT.ColumnEntity.Builderclone()booleangetArray()Is the column of array type.intgetArrayLength()If the column is array, of which length.booleangetAutoGenerated()Is the column auto-generated/identity.StringgetCharset()Charset override - instead of table level charset.com.google.protobuf.ByteStringgetCharsetBytes()Charset override - instead of table level charset.StringgetCollation()Collation override - instead of table level collation.com.google.protobuf.ByteStringgetCollationBytes()Collation override - instead of table level collation.StringgetComment()Comment associated with the column.com.google.protobuf.ByteStringgetCommentBytes()Comment associated with the column.com.google.protobuf.StructgetCustomFeatures()Custom engine specific features.com.google.protobuf.Struct.BuildergetCustomFeaturesBuilder()Custom engine specific features.com.google.protobuf.StructOrBuildergetCustomFeaturesOrBuilder()Custom engine specific features.StringgetDataType()Column data type.com.google.protobuf.ByteStringgetDataTypeBytes()Column data type.ColumnEntitygetDefaultInstanceForType()StringgetDefaultValue()Default value of the column.com.google.protobuf.ByteStringgetDefaultValueBytes()Default value of the column.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetFractionalSecondsPrecision()Column fractional second precision - used for timestamp based datatypes.longgetLength()Column length - e.g.StringgetName()Column name.com.google.protobuf.ByteStringgetNameBytes()Column name.booleangetNullable()Is the column nullable.intgetOrdinalPosition()Column order in the table.intgetPrecision()Column precision - when relevant.intgetScale()Column scale - when relevant.StringgetSetValues(int index)Specifies the list of values allowed in the column.com.google.protobuf.ByteStringgetSetValuesBytes(int index)Specifies the list of values allowed in the column.intgetSetValuesCount()Specifies the list of values allowed in the column.com.google.protobuf.ProtocolStringListgetSetValuesList()Specifies the list of values allowed in the column.booleangetUdt()Is the column a UDT.booleanhasCustomFeatures()Custom engine specific features.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ColumnEntity.BuildermergeCustomFeatures(com.google.protobuf.Struct value)Custom engine specific features.ColumnEntity.BuildermergeFrom(ColumnEntity other)ColumnEntity.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ColumnEntity.BuildermergeFrom(com.google.protobuf.Message other)ColumnEntity.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ColumnEntity.BuildersetArray(boolean value)Is the column of array type.ColumnEntity.BuildersetArrayLength(int value)If the column is array, of which length.ColumnEntity.BuildersetAutoGenerated(boolean value)Is the column auto-generated/identity.ColumnEntity.BuildersetCharset(String value)Charset override - instead of table level charset.ColumnEntity.BuildersetCharsetBytes(com.google.protobuf.ByteString value)Charset override - instead of table level charset.ColumnEntity.BuildersetCollation(String value)Collation override - instead of table level collation.ColumnEntity.BuildersetCollationBytes(com.google.protobuf.ByteString value)Collation override - instead of table level collation.ColumnEntity.BuildersetComment(String value)Comment associated with the column.ColumnEntity.BuildersetCommentBytes(com.google.protobuf.ByteString value)Comment associated with the column.ColumnEntity.BuildersetCustomFeatures(com.google.protobuf.Struct value)Custom engine specific features.ColumnEntity.BuildersetCustomFeatures(com.google.protobuf.Struct.Builder builderForValue)Custom engine specific features.ColumnEntity.BuildersetDataType(String value)Column data type.ColumnEntity.BuildersetDataTypeBytes(com.google.protobuf.ByteString value)Column data type.ColumnEntity.BuildersetDefaultValue(String value)Default value of the column.ColumnEntity.BuildersetDefaultValueBytes(com.google.protobuf.ByteString value)Default value of the column.ColumnEntity.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ColumnEntity.BuildersetFractionalSecondsPrecision(int value)Column fractional second precision - used for timestamp based datatypes.ColumnEntity.BuildersetLength(long value)Column length - e.g.ColumnEntity.BuildersetName(String value)Column name.ColumnEntity.BuildersetNameBytes(com.google.protobuf.ByteString value)Column name.ColumnEntity.BuildersetNullable(boolean value)Is the column nullable.ColumnEntity.BuildersetOrdinalPosition(int value)Column order in the table.ColumnEntity.BuildersetPrecision(int value)Column precision - when relevant.ColumnEntity.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ColumnEntity.BuildersetScale(int value)Column scale - when relevant.ColumnEntity.BuildersetSetValues(int index, String value)Specifies the list of values allowed in the column.ColumnEntity.BuildersetUdt(boolean value)Is the column a UDT.ColumnEntity.BuildersetUnknownFields(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, 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
-
-
-
-
Method Detail
-
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<ColumnEntity.Builder>
-
clear
public ColumnEntity.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<ColumnEntity.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<ColumnEntity.Builder>
-
getDefaultInstanceForType
public ColumnEntity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ColumnEntity build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ColumnEntity buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ColumnEntity.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<ColumnEntity.Builder>
-
setField
public ColumnEntity.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<ColumnEntity.Builder>
-
clearField
public ColumnEntity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnEntity.Builder>
-
clearOneof
public ColumnEntity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnEntity.Builder>
-
setRepeatedField
public ColumnEntity.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<ColumnEntity.Builder>
-
addRepeatedField
public ColumnEntity.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<ColumnEntity.Builder>
-
mergeFrom
public ColumnEntity.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ColumnEntity.Builder>
-
mergeFrom
public ColumnEntity.Builder mergeFrom(ColumnEntity other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnEntity.Builder>
-
mergeFrom
public ColumnEntity.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<ColumnEntity.Builder>- Throws:
IOException
-
getName
public String getName()
Column name.
string name = 1;- Specified by:
getNamein interfaceColumnEntityOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Column name.
string name = 1;- Specified by:
getNameBytesin interfaceColumnEntityOrBuilder- Returns:
- The bytes for name.
-
setName
public ColumnEntity.Builder setName(String value)
Column name.
string name = 1;- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public ColumnEntity.Builder clearName()
Column name.
string name = 1;- Returns:
- This builder for chaining.
-
setNameBytes
public ColumnEntity.Builder setNameBytes(com.google.protobuf.ByteString value)
Column name.
string name = 1;- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getDataType
public String getDataType()
Column data type.
string data_type = 2;- Specified by:
getDataTypein interfaceColumnEntityOrBuilder- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()
Column data type.
string data_type = 2;- Specified by:
getDataTypeBytesin interfaceColumnEntityOrBuilder- Returns:
- The bytes for dataType.
-
setDataType
public ColumnEntity.Builder setDataType(String value)
Column data type.
string data_type = 2;- Parameters:
value- The dataType to set.- Returns:
- This builder for chaining.
-
clearDataType
public ColumnEntity.Builder clearDataType()
Column data type.
string data_type = 2;- Returns:
- This builder for chaining.
-
setDataTypeBytes
public ColumnEntity.Builder setDataTypeBytes(com.google.protobuf.ByteString value)
Column data type.
string data_type = 2;- Parameters:
value- The bytes for dataType to set.- Returns:
- This builder for chaining.
-
getCharset
public String getCharset()
Charset override - instead of table level charset.
string charset = 3;- Specified by:
getCharsetin interfaceColumnEntityOrBuilder- Returns:
- The charset.
-
getCharsetBytes
public com.google.protobuf.ByteString getCharsetBytes()
Charset override - instead of table level charset.
string charset = 3;- Specified by:
getCharsetBytesin interfaceColumnEntityOrBuilder- Returns:
- The bytes for charset.
-
setCharset
public ColumnEntity.Builder setCharset(String value)
Charset override - instead of table level charset.
string charset = 3;- Parameters:
value- The charset to set.- Returns:
- This builder for chaining.
-
clearCharset
public ColumnEntity.Builder clearCharset()
Charset override - instead of table level charset.
string charset = 3;- Returns:
- This builder for chaining.
-
setCharsetBytes
public ColumnEntity.Builder setCharsetBytes(com.google.protobuf.ByteString value)
Charset override - instead of table level charset.
string charset = 3;- Parameters:
value- The bytes for charset to set.- Returns:
- This builder for chaining.
-
getCollation
public String getCollation()
Collation override - instead of table level collation.
string collation = 4;- Specified by:
getCollationin interfaceColumnEntityOrBuilder- Returns:
- The collation.
-
getCollationBytes
public com.google.protobuf.ByteString getCollationBytes()
Collation override - instead of table level collation.
string collation = 4;- Specified by:
getCollationBytesin interfaceColumnEntityOrBuilder- Returns:
- The bytes for collation.
-
setCollation
public ColumnEntity.Builder setCollation(String value)
Collation override - instead of table level collation.
string collation = 4;- Parameters:
value- The collation to set.- Returns:
- This builder for chaining.
-
clearCollation
public ColumnEntity.Builder clearCollation()
Collation override - instead of table level collation.
string collation = 4;- Returns:
- This builder for chaining.
-
setCollationBytes
public ColumnEntity.Builder setCollationBytes(com.google.protobuf.ByteString value)
Collation override - instead of table level collation.
string collation = 4;- Parameters:
value- The bytes for collation to set.- Returns:
- This builder for chaining.
-
getLength
public long getLength()
Column length - e.g. varchar (50).
int64 length = 5;- Specified by:
getLengthin interfaceColumnEntityOrBuilder- Returns:
- The length.
-
setLength
public ColumnEntity.Builder setLength(long value)
Column length - e.g. varchar (50).
int64 length = 5;- Parameters:
value- The length to set.- Returns:
- This builder for chaining.
-
clearLength
public ColumnEntity.Builder clearLength()
Column length - e.g. varchar (50).
int64 length = 5;- Returns:
- This builder for chaining.
-
getPrecision
public int getPrecision()
Column precision - when relevant.
int32 precision = 6;- Specified by:
getPrecisionin interfaceColumnEntityOrBuilder- Returns:
- The precision.
-
setPrecision
public ColumnEntity.Builder setPrecision(int value)
Column precision - when relevant.
int32 precision = 6;- Parameters:
value- The precision to set.- Returns:
- This builder for chaining.
-
clearPrecision
public ColumnEntity.Builder clearPrecision()
Column precision - when relevant.
int32 precision = 6;- Returns:
- This builder for chaining.
-
getScale
public int getScale()
Column scale - when relevant.
int32 scale = 7;- Specified by:
getScalein interfaceColumnEntityOrBuilder- Returns:
- The scale.
-
setScale
public ColumnEntity.Builder setScale(int value)
Column scale - when relevant.
int32 scale = 7;- Parameters:
value- The scale to set.- Returns:
- This builder for chaining.
-
clearScale
public ColumnEntity.Builder clearScale()
Column scale - when relevant.
int32 scale = 7;- Returns:
- This builder for chaining.
-
getFractionalSecondsPrecision
public int getFractionalSecondsPrecision()
Column fractional second precision - used for timestamp based datatypes.
int32 fractional_seconds_precision = 8;- Specified by:
getFractionalSecondsPrecisionin interfaceColumnEntityOrBuilder- Returns:
- The fractionalSecondsPrecision.
-
setFractionalSecondsPrecision
public ColumnEntity.Builder setFractionalSecondsPrecision(int value)
Column fractional second precision - used for timestamp based datatypes.
int32 fractional_seconds_precision = 8;- Parameters:
value- The fractionalSecondsPrecision to set.- Returns:
- This builder for chaining.
-
clearFractionalSecondsPrecision
public ColumnEntity.Builder clearFractionalSecondsPrecision()
Column fractional second precision - used for timestamp based datatypes.
int32 fractional_seconds_precision = 8;- Returns:
- This builder for chaining.
-
getArray
public boolean getArray()
Is the column of array type.
bool array = 9;- Specified by:
getArrayin interfaceColumnEntityOrBuilder- Returns:
- The array.
-
setArray
public ColumnEntity.Builder setArray(boolean value)
Is the column of array type.
bool array = 9;- Parameters:
value- The array to set.- Returns:
- This builder for chaining.
-
clearArray
public ColumnEntity.Builder clearArray()
Is the column of array type.
bool array = 9;- Returns:
- This builder for chaining.
-
getArrayLength
public int getArrayLength()
If the column is array, of which length.
int32 array_length = 10;- Specified by:
getArrayLengthin interfaceColumnEntityOrBuilder- Returns:
- The arrayLength.
-
setArrayLength
public ColumnEntity.Builder setArrayLength(int value)
If the column is array, of which length.
int32 array_length = 10;- Parameters:
value- The arrayLength to set.- Returns:
- This builder for chaining.
-
clearArrayLength
public ColumnEntity.Builder clearArrayLength()
If the column is array, of which length.
int32 array_length = 10;- Returns:
- This builder for chaining.
-
getNullable
public boolean getNullable()
Is the column nullable.
bool nullable = 11;- Specified by:
getNullablein interfaceColumnEntityOrBuilder- Returns:
- The nullable.
-
setNullable
public ColumnEntity.Builder setNullable(boolean value)
Is the column nullable.
bool nullable = 11;- Parameters:
value- The nullable to set.- Returns:
- This builder for chaining.
-
clearNullable
public ColumnEntity.Builder clearNullable()
Is the column nullable.
bool nullable = 11;- Returns:
- This builder for chaining.
-
getAutoGenerated
public boolean getAutoGenerated()
Is the column auto-generated/identity.
bool auto_generated = 12;- Specified by:
getAutoGeneratedin interfaceColumnEntityOrBuilder- Returns:
- The autoGenerated.
-
setAutoGenerated
public ColumnEntity.Builder setAutoGenerated(boolean value)
Is the column auto-generated/identity.
bool auto_generated = 12;- Parameters:
value- The autoGenerated to set.- Returns:
- This builder for chaining.
-
clearAutoGenerated
public ColumnEntity.Builder clearAutoGenerated()
Is the column auto-generated/identity.
bool auto_generated = 12;- Returns:
- This builder for chaining.
-
getUdt
public boolean getUdt()
Is the column a UDT.
bool udt = 13;- Specified by:
getUdtin interfaceColumnEntityOrBuilder- Returns:
- The udt.
-
setUdt
public ColumnEntity.Builder setUdt(boolean value)
Is the column a UDT.
bool udt = 13;- Parameters:
value- The udt to set.- Returns:
- This builder for chaining.
-
clearUdt
public ColumnEntity.Builder clearUdt()
Is the column a UDT.
bool udt = 13;- Returns:
- This builder for chaining.
-
hasCustomFeatures
public boolean hasCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;- Specified by:
hasCustomFeaturesin interfaceColumnEntityOrBuilder- Returns:
- Whether the customFeatures field is set.
-
getCustomFeatures
public com.google.protobuf.Struct getCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;- Specified by:
getCustomFeaturesin interfaceColumnEntityOrBuilder- Returns:
- The customFeatures.
-
setCustomFeatures
public ColumnEntity.Builder setCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;
-
setCustomFeatures
public ColumnEntity.Builder setCustomFeatures(com.google.protobuf.Struct.Builder builderForValue)
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;
-
mergeCustomFeatures
public ColumnEntity.Builder mergeCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;
-
clearCustomFeatures
public ColumnEntity.Builder clearCustomFeatures()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;
-
getCustomFeaturesBuilder
public com.google.protobuf.Struct.Builder getCustomFeaturesBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;
-
getCustomFeaturesOrBuilder
public com.google.protobuf.StructOrBuilder getCustomFeaturesOrBuilder()
Custom engine specific features.
.google.protobuf.Struct custom_features = 14;- Specified by:
getCustomFeaturesOrBuilderin interfaceColumnEntityOrBuilder
-
getSetValuesList
public com.google.protobuf.ProtocolStringList getSetValuesList()
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;- Specified by:
getSetValuesListin interfaceColumnEntityOrBuilder- Returns:
- A list containing the setValues.
-
getSetValuesCount
public int getSetValuesCount()
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;- Specified by:
getSetValuesCountin interfaceColumnEntityOrBuilder- Returns:
- The count of setValues.
-
getSetValues
public String getSetValues(int index)
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;- Specified by:
getSetValuesin interfaceColumnEntityOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The setValues at the given index.
-
getSetValuesBytes
public com.google.protobuf.ByteString getSetValuesBytes(int index)
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;- Specified by:
getSetValuesBytesin interfaceColumnEntityOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the setValues at the given index.
-
setSetValues
public ColumnEntity.Builder setSetValues(int index, String value)
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;- Parameters:
index- The index to set the value at.value- The setValues to set.- Returns:
- This builder for chaining.
-
addSetValues
public ColumnEntity.Builder addSetValues(String value)
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;- Parameters:
value- The setValues to add.- Returns:
- This builder for chaining.
-
addAllSetValues
public ColumnEntity.Builder addAllSetValues(Iterable<String> values)
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;- Parameters:
values- The setValues to add.- Returns:
- This builder for chaining.
-
clearSetValues
public ColumnEntity.Builder clearSetValues()
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;- Returns:
- This builder for chaining.
-
addSetValuesBytes
public ColumnEntity.Builder addSetValuesBytes(com.google.protobuf.ByteString value)
Specifies the list of values allowed in the column. Only used for set data type.
repeated string set_values = 15;- Parameters:
value- The bytes of the setValues to add.- Returns:
- This builder for chaining.
-
getComment
public String getComment()
Comment associated with the column.
string comment = 16;- Specified by:
getCommentin interfaceColumnEntityOrBuilder- Returns:
- The comment.
-
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()
Comment associated with the column.
string comment = 16;- Specified by:
getCommentBytesin interfaceColumnEntityOrBuilder- Returns:
- The bytes for comment.
-
setComment
public ColumnEntity.Builder setComment(String value)
Comment associated with the column.
string comment = 16;- Parameters:
value- The comment to set.- Returns:
- This builder for chaining.
-
clearComment
public ColumnEntity.Builder clearComment()
Comment associated with the column.
string comment = 16;- Returns:
- This builder for chaining.
-
setCommentBytes
public ColumnEntity.Builder setCommentBytes(com.google.protobuf.ByteString value)
Comment associated with the column.
string comment = 16;- Parameters:
value- The bytes for comment to set.- Returns:
- This builder for chaining.
-
getOrdinalPosition
public int getOrdinalPosition()
Column order in the table.
int32 ordinal_position = 17;- Specified by:
getOrdinalPositionin interfaceColumnEntityOrBuilder- Returns:
- The ordinalPosition.
-
setOrdinalPosition
public ColumnEntity.Builder setOrdinalPosition(int value)
Column order in the table.
int32 ordinal_position = 17;- Parameters:
value- The ordinalPosition to set.- Returns:
- This builder for chaining.
-
clearOrdinalPosition
public ColumnEntity.Builder clearOrdinalPosition()
Column order in the table.
int32 ordinal_position = 17;- Returns:
- This builder for chaining.
-
getDefaultValue
public String getDefaultValue()
Default value of the column.
string default_value = 18;- Specified by:
getDefaultValuein interfaceColumnEntityOrBuilder- Returns:
- The defaultValue.
-
getDefaultValueBytes
public com.google.protobuf.ByteString getDefaultValueBytes()
Default value of the column.
string default_value = 18;- Specified by:
getDefaultValueBytesin interfaceColumnEntityOrBuilder- Returns:
- The bytes for defaultValue.
-
setDefaultValue
public ColumnEntity.Builder setDefaultValue(String value)
Default value of the column.
string default_value = 18;- Parameters:
value- The defaultValue to set.- Returns:
- This builder for chaining.
-
clearDefaultValue
public ColumnEntity.Builder clearDefaultValue()
Default value of the column.
string default_value = 18;- Returns:
- This builder for chaining.
-
setDefaultValueBytes
public ColumnEntity.Builder setDefaultValueBytes(com.google.protobuf.ByteString value)
Default value of the column.
string default_value = 18;- Parameters:
value- The bytes for defaultValue to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ColumnEntity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnEntity.Builder>
-
mergeUnknownFields
public final ColumnEntity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnEntity.Builder>
-
-