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.Builder
addAllSetValues(Iterable<String> values)
Specifies the list of values allowed in the column.ColumnEntity.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ColumnEntity.Builder
addSetValues(String value)
Specifies the list of values allowed in the column.ColumnEntity.Builder
addSetValuesBytes(com.google.protobuf.ByteString value)
Specifies the list of values allowed in the column.ColumnEntity
build()
ColumnEntity
buildPartial()
ColumnEntity.Builder
clear()
ColumnEntity.Builder
clearArray()
Is the column of array type.ColumnEntity.Builder
clearArrayLength()
If the column is array, of which length.ColumnEntity.Builder
clearAutoGenerated()
Is the column auto-generated/identity.ColumnEntity.Builder
clearCharset()
Charset override - instead of table level charset.ColumnEntity.Builder
clearCollation()
Collation override - instead of table level collation.ColumnEntity.Builder
clearComment()
Comment associated with the column.ColumnEntity.Builder
clearCustomFeatures()
Custom engine specific features.ColumnEntity.Builder
clearDataType()
Column data type.ColumnEntity.Builder
clearDefaultValue()
Default value of the column.ColumnEntity.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ColumnEntity.Builder
clearFractionalSecondsPrecision()
Column fractional second precision - used for timestamp based datatypes.ColumnEntity.Builder
clearLength()
Column length - e.g.ColumnEntity.Builder
clearName()
Column name.ColumnEntity.Builder
clearNullable()
Is the column nullable.ColumnEntity.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ColumnEntity.Builder
clearOrdinalPosition()
Column order in the table.ColumnEntity.Builder
clearPrecision()
Column precision - when relevant.ColumnEntity.Builder
clearScale()
Column scale - when relevant.ColumnEntity.Builder
clearSetValues()
Specifies the list of values allowed in the column.ColumnEntity.Builder
clearUdt()
Is the column a UDT.ColumnEntity.Builder
clone()
boolean
getArray()
Is the column of array type.int
getArrayLength()
If the column is array, of which length.boolean
getAutoGenerated()
Is the column auto-generated/identity.String
getCharset()
Charset override - instead of table level charset.com.google.protobuf.ByteString
getCharsetBytes()
Charset override - instead of table level charset.String
getCollation()
Collation override - instead of table level collation.com.google.protobuf.ByteString
getCollationBytes()
Collation override - instead of table level collation.String
getComment()
Comment associated with the column.com.google.protobuf.ByteString
getCommentBytes()
Comment associated with the column.com.google.protobuf.Struct
getCustomFeatures()
Custom engine specific features.com.google.protobuf.Struct.Builder
getCustomFeaturesBuilder()
Custom engine specific features.com.google.protobuf.StructOrBuilder
getCustomFeaturesOrBuilder()
Custom engine specific features.String
getDataType()
Column data type.com.google.protobuf.ByteString
getDataTypeBytes()
Column data type.ColumnEntity
getDefaultInstanceForType()
String
getDefaultValue()
Default value of the column.com.google.protobuf.ByteString
getDefaultValueBytes()
Default value of the column.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getFractionalSecondsPrecision()
Column fractional second precision - used for timestamp based datatypes.long
getLength()
Column length - e.g.String
getName()
Column name.com.google.protobuf.ByteString
getNameBytes()
Column name.boolean
getNullable()
Is the column nullable.int
getOrdinalPosition()
Column order in the table.int
getPrecision()
Column precision - when relevant.int
getScale()
Column scale - when relevant.String
getSetValues(int index)
Specifies the list of values allowed in the column.com.google.protobuf.ByteString
getSetValuesBytes(int index)
Specifies the list of values allowed in the column.int
getSetValuesCount()
Specifies the list of values allowed in the column.com.google.protobuf.ProtocolStringList
getSetValuesList()
Specifies the list of values allowed in the column.boolean
getUdt()
Is the column a UDT.boolean
hasCustomFeatures()
Custom engine specific features.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ColumnEntity.Builder
mergeCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.ColumnEntity.Builder
mergeFrom(ColumnEntity other)
ColumnEntity.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ColumnEntity.Builder
mergeFrom(com.google.protobuf.Message other)
ColumnEntity.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ColumnEntity.Builder
setArray(boolean value)
Is the column of array type.ColumnEntity.Builder
setArrayLength(int value)
If the column is array, of which length.ColumnEntity.Builder
setAutoGenerated(boolean value)
Is the column auto-generated/identity.ColumnEntity.Builder
setCharset(String value)
Charset override - instead of table level charset.ColumnEntity.Builder
setCharsetBytes(com.google.protobuf.ByteString value)
Charset override - instead of table level charset.ColumnEntity.Builder
setCollation(String value)
Collation override - instead of table level collation.ColumnEntity.Builder
setCollationBytes(com.google.protobuf.ByteString value)
Collation override - instead of table level collation.ColumnEntity.Builder
setComment(String value)
Comment associated with the column.ColumnEntity.Builder
setCommentBytes(com.google.protobuf.ByteString value)
Comment associated with the column.ColumnEntity.Builder
setCustomFeatures(com.google.protobuf.Struct value)
Custom engine specific features.ColumnEntity.Builder
setCustomFeatures(com.google.protobuf.Struct.Builder builderForValue)
Custom engine specific features.ColumnEntity.Builder
setDataType(String value)
Column data type.ColumnEntity.Builder
setDataTypeBytes(com.google.protobuf.ByteString value)
Column data type.ColumnEntity.Builder
setDefaultValue(String value)
Default value of the column.ColumnEntity.Builder
setDefaultValueBytes(com.google.protobuf.ByteString value)
Default value of the column.ColumnEntity.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ColumnEntity.Builder
setFractionalSecondsPrecision(int value)
Column fractional second precision - used for timestamp based datatypes.ColumnEntity.Builder
setLength(long value)
Column length - e.g.ColumnEntity.Builder
setName(String value)
Column name.ColumnEntity.Builder
setNameBytes(com.google.protobuf.ByteString value)
Column name.ColumnEntity.Builder
setNullable(boolean value)
Is the column nullable.ColumnEntity.Builder
setOrdinalPosition(int value)
Column order in the table.ColumnEntity.Builder
setPrecision(int value)
Column precision - when relevant.ColumnEntity.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ColumnEntity.Builder
setScale(int value)
Column scale - when relevant.ColumnEntity.Builder
setSetValues(int index, String value)
Specifies the list of values allowed in the column.ColumnEntity.Builder
setUdt(boolean value)
Is the column a UDT.ColumnEntity.Builder
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, 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnEntity.Builder>
-
clear
public ColumnEntity.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<ColumnEntity.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<ColumnEntity.Builder>
-
getDefaultInstanceForType
public ColumnEntity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ColumnEntity build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ColumnEntity buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ColumnEntity.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<ColumnEntity.Builder>
-
setField
public ColumnEntity.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<ColumnEntity.Builder>
-
clearField
public ColumnEntity.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<ColumnEntity.Builder>
-
clearOneof
public ColumnEntity.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<ColumnEntity.Builder>
-
setRepeatedField
public ColumnEntity.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<ColumnEntity.Builder>
-
addRepeatedField
public ColumnEntity.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<ColumnEntity.Builder>
-
mergeFrom
public ColumnEntity.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ColumnEntity.Builder>
-
mergeFrom
public ColumnEntity.Builder mergeFrom(ColumnEntity other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ColumnEntity.Builder>
- Throws:
IOException
-
getName
public String getName()
Column name.
string name = 1;
- Specified by:
getName
in interfaceColumnEntityOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Column name.
string name = 1;
- Specified by:
getNameBytes
in 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:
getDataType
in interfaceColumnEntityOrBuilder
- Returns:
- The dataType.
-
getDataTypeBytes
public com.google.protobuf.ByteString getDataTypeBytes()
Column data type.
string data_type = 2;
- Specified by:
getDataTypeBytes
in 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:
getCharset
in interfaceColumnEntityOrBuilder
- Returns:
- The charset.
-
getCharsetBytes
public com.google.protobuf.ByteString getCharsetBytes()
Charset override - instead of table level charset.
string charset = 3;
- Specified by:
getCharsetBytes
in 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:
getCollation
in interfaceColumnEntityOrBuilder
- Returns:
- The collation.
-
getCollationBytes
public com.google.protobuf.ByteString getCollationBytes()
Collation override - instead of table level collation.
string collation = 4;
- Specified by:
getCollationBytes
in 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:
getLength
in 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:
getPrecision
in 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:
getScale
in 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:
getFractionalSecondsPrecision
in 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:
getArray
in 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:
getArrayLength
in 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:
getNullable
in 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:
getAutoGenerated
in 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:
getUdt
in 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:
hasCustomFeatures
in 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:
getCustomFeatures
in 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:
getCustomFeaturesOrBuilder
in 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:
getSetValuesList
in 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:
getSetValuesCount
in 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:
getSetValues
in 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:
getSetValuesBytes
in 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:
getComment
in interfaceColumnEntityOrBuilder
- Returns:
- The comment.
-
getCommentBytes
public com.google.protobuf.ByteString getCommentBytes()
Comment associated with the column.
string comment = 16;
- Specified by:
getCommentBytes
in 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:
getOrdinalPosition
in 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:
getDefaultValue
in interfaceColumnEntityOrBuilder
- Returns:
- The defaultValue.
-
getDefaultValueBytes
public com.google.protobuf.ByteString getDefaultValueBytes()
Default value of the column.
string default_value = 18;
- Specified by:
getDefaultValueBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnEntity.Builder>
-
mergeUnknownFields
public final ColumnEntity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ColumnEntity.Builder>
-
-