public static final class MysqlColumn.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MysqlColumn.Builder> implements MysqlColumnOrBuilder
MySQL Column.Protobuf type
google.cloud.datastream.v1.MysqlColumn| Modifier and Type | Method and Description |
|---|---|
MysqlColumn.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MysqlColumn |
build() |
MysqlColumn |
buildPartial() |
MysqlColumn.Builder |
clear() |
MysqlColumn.Builder |
clearCollation()
Column collation.
|
MysqlColumn.Builder |
clearColumn()
Column name.
|
MysqlColumn.Builder |
clearDataType()
The MySQL data type.
|
MysqlColumn.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MysqlColumn.Builder |
clearLength()
Column length.
|
MysqlColumn.Builder |
clearNullable()
Whether or not the column can accept a null value.
|
MysqlColumn.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MysqlColumn.Builder |
clearOrdinalPosition()
The ordinal position of the column in the table.
|
MysqlColumn.Builder |
clearPrimaryKey()
Whether or not the column represents a primary key.
|
MysqlColumn.Builder |
clone() |
String |
getCollation()
Column collation.
|
com.google.protobuf.ByteString |
getCollationBytes()
Column collation.
|
String |
getColumn()
Column name.
|
com.google.protobuf.ByteString |
getColumnBytes()
Column name.
|
String |
getDataType()
The MySQL data type.
|
com.google.protobuf.ByteString |
getDataTypeBytes()
The MySQL data type.
|
MysqlColumn |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getLength()
Column length.
|
boolean |
getNullable()
Whether or not the column can accept a null value.
|
int |
getOrdinalPosition()
The ordinal position of the column in the table.
|
boolean |
getPrimaryKey()
Whether or not the column represents a primary key.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MysqlColumn.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MysqlColumn.Builder |
mergeFrom(com.google.protobuf.Message other) |
MysqlColumn.Builder |
mergeFrom(MysqlColumn other) |
MysqlColumn.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MysqlColumn.Builder |
setCollation(String value)
Column collation.
|
MysqlColumn.Builder |
setCollationBytes(com.google.protobuf.ByteString value)
Column collation.
|
MysqlColumn.Builder |
setColumn(String value)
Column name.
|
MysqlColumn.Builder |
setColumnBytes(com.google.protobuf.ByteString value)
Column name.
|
MysqlColumn.Builder |
setDataType(String value)
The MySQL data type.
|
MysqlColumn.Builder |
setDataTypeBytes(com.google.protobuf.ByteString value)
The MySQL data type.
|
MysqlColumn.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MysqlColumn.Builder |
setLength(int value)
Column length.
|
MysqlColumn.Builder |
setNullable(boolean value)
Whether or not the column can accept a null value.
|
MysqlColumn.Builder |
setOrdinalPosition(int value)
The ordinal position of the column in the table.
|
MysqlColumn.Builder |
setPrimaryKey(boolean value)
Whether or not the column represents a primary key.
|
MysqlColumn.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MysqlColumn.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlColumn.Builder>public MysqlColumn.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlColumn.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlColumn.Builder>public MysqlColumn getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MysqlColumn build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MysqlColumn buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MysqlColumn.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlColumn.Builder>public MysqlColumn.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlColumn.Builder>public MysqlColumn.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlColumn.Builder>public MysqlColumn.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlColumn.Builder>public MysqlColumn.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlColumn.Builder>public MysqlColumn.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlColumn.Builder>public MysqlColumn.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MysqlColumn.Builder>public MysqlColumn.Builder mergeFrom(MysqlColumn other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlColumn.Builder>public MysqlColumn.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MysqlColumn.Builder>IOExceptionpublic String getColumn()
Column name.
string column = 1;getColumn in interface MysqlColumnOrBuilderpublic com.google.protobuf.ByteString getColumnBytes()
Column name.
string column = 1;getColumnBytes in interface MysqlColumnOrBuilderpublic MysqlColumn.Builder setColumn(String value)
Column name.
string column = 1;value - The column to set.public MysqlColumn.Builder clearColumn()
Column name.
string column = 1;public MysqlColumn.Builder setColumnBytes(com.google.protobuf.ByteString value)
Column name.
string column = 1;value - The bytes for column to set.public String getDataType()
The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;getDataType in interface MysqlColumnOrBuilderpublic com.google.protobuf.ByteString getDataTypeBytes()
The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;getDataTypeBytes in interface MysqlColumnOrBuilderpublic MysqlColumn.Builder setDataType(String value)
The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;value - The dataType to set.public MysqlColumn.Builder clearDataType()
The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;public MysqlColumn.Builder setDataTypeBytes(com.google.protobuf.ByteString value)
The MySQL data type. Full data types list can be found here: https://dev.mysql.com/doc/refman/8.0/en/data-types.html
string data_type = 2;value - The bytes for dataType to set.public int getLength()
Column length.
int32 length = 3;getLength in interface MysqlColumnOrBuilderpublic MysqlColumn.Builder setLength(int value)
Column length.
int32 length = 3;value - The length to set.public MysqlColumn.Builder clearLength()
Column length.
int32 length = 3;public String getCollation()
Column collation.
string collation = 4;getCollation in interface MysqlColumnOrBuilderpublic com.google.protobuf.ByteString getCollationBytes()
Column collation.
string collation = 4;getCollationBytes in interface MysqlColumnOrBuilderpublic MysqlColumn.Builder setCollation(String value)
Column collation.
string collation = 4;value - The collation to set.public MysqlColumn.Builder clearCollation()
Column collation.
string collation = 4;public MysqlColumn.Builder setCollationBytes(com.google.protobuf.ByteString value)
Column collation.
string collation = 4;value - The bytes for collation to set.public boolean getPrimaryKey()
Whether or not the column represents a primary key.
bool primary_key = 5;getPrimaryKey in interface MysqlColumnOrBuilderpublic MysqlColumn.Builder setPrimaryKey(boolean value)
Whether or not the column represents a primary key.
bool primary_key = 5;value - The primaryKey to set.public MysqlColumn.Builder clearPrimaryKey()
Whether or not the column represents a primary key.
bool primary_key = 5;public boolean getNullable()
Whether or not the column can accept a null value.
bool nullable = 6;getNullable in interface MysqlColumnOrBuilderpublic MysqlColumn.Builder setNullable(boolean value)
Whether or not the column can accept a null value.
bool nullable = 6;value - The nullable to set.public MysqlColumn.Builder clearNullable()
Whether or not the column can accept a null value.
bool nullable = 6;public int getOrdinalPosition()
The ordinal position of the column in the table.
int32 ordinal_position = 7;getOrdinalPosition in interface MysqlColumnOrBuilderpublic MysqlColumn.Builder setOrdinalPosition(int value)
The ordinal position of the column in the table.
int32 ordinal_position = 7;value - The ordinalPosition to set.public MysqlColumn.Builder clearOrdinalPosition()
The ordinal position of the column in the table.
int32 ordinal_position = 7;public final MysqlColumn.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlColumn.Builder>public final MysqlColumn.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MysqlColumn.Builder>Copyright © 2022 Google LLC. All rights reserved.