Class SqlServerColumn.Builder (1.54.0)

public static final class SqlServerColumn.Builder extends GeneratedMessageV3.Builder<SqlServerColumn.Builder> implements SqlServerColumnOrBuilder

SQLServer Column.

Protobuf type google.cloud.datastream.v1.SqlServerColumn

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SqlServerColumn.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SqlServerColumn.Builder
Overrides

build()

public SqlServerColumn build()
Returns
Type Description
SqlServerColumn

buildPartial()

public SqlServerColumn buildPartial()
Returns
Type Description
SqlServerColumn

clear()

public SqlServerColumn.Builder clear()
Returns
Type Description
SqlServerColumn.Builder
Overrides

clearColumn()

public SqlServerColumn.Builder clearColumn()

Column name.

string column = 1;

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

clearDataType()

public SqlServerColumn.Builder clearDataType()

The SQLServer data type.

string data_type = 2;

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SqlServerColumn.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SqlServerColumn.Builder
Overrides

clearLength()

public SqlServerColumn.Builder clearLength()

Column length.

int32 length = 3;

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

clearNullable()

public SqlServerColumn.Builder clearNullable()

Whether or not the column can accept a null value.

bool nullable = 7;

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SqlServerColumn.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SqlServerColumn.Builder
Overrides

clearOrdinalPosition()

public SqlServerColumn.Builder clearOrdinalPosition()

The ordinal position of the column in the table.

int32 ordinal_position = 8;

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

clearPrecision()

public SqlServerColumn.Builder clearPrecision()

Column precision.

int32 precision = 4;

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

clearPrimaryKey()

public SqlServerColumn.Builder clearPrimaryKey()

Whether or not the column represents a primary key.

bool primary_key = 6;

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

clearScale()

public SqlServerColumn.Builder clearScale()

Column scale.

int32 scale = 5;

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

clone()

public SqlServerColumn.Builder clone()
Returns
Type Description
SqlServerColumn.Builder
Overrides

getColumn()

public String getColumn()

Column name.

string column = 1;

Returns
Type Description
String

The column.

getColumnBytes()

public ByteString getColumnBytes()

Column name.

string column = 1;

Returns
Type Description
ByteString

The bytes for column.

getDataType()

public String getDataType()

The SQLServer data type.

string data_type = 2;

Returns
Type Description
String

The dataType.

getDataTypeBytes()

public ByteString getDataTypeBytes()

The SQLServer data type.

string data_type = 2;

Returns
Type Description
ByteString

The bytes for dataType.

getDefaultInstanceForType()

public SqlServerColumn getDefaultInstanceForType()
Returns
Type Description
SqlServerColumn

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLength()

public int getLength()

Column length.

int32 length = 3;

Returns
Type Description
int

The length.

getNullable()

public boolean getNullable()

Whether or not the column can accept a null value.

bool nullable = 7;

Returns
Type Description
boolean

The nullable.

getOrdinalPosition()

public int getOrdinalPosition()

The ordinal position of the column in the table.

int32 ordinal_position = 8;

Returns
Type Description
int

The ordinalPosition.

getPrecision()

public int getPrecision()

Column precision.

int32 precision = 4;

Returns
Type Description
int

The precision.

getPrimaryKey()

public boolean getPrimaryKey()

Whether or not the column represents a primary key.

bool primary_key = 6;

Returns
Type Description
boolean

The primaryKey.

getScale()

public int getScale()

Column scale.

int32 scale = 5;

Returns
Type Description
int

The scale.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SqlServerColumn other)

public SqlServerColumn.Builder mergeFrom(SqlServerColumn other)
Parameter
Name Description
other SqlServerColumn
Returns
Type Description
SqlServerColumn.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SqlServerColumn.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SqlServerColumn.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SqlServerColumn.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SqlServerColumn.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SqlServerColumn.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SqlServerColumn.Builder
Overrides

setColumn(String value)

public SqlServerColumn.Builder setColumn(String value)

Column name.

string column = 1;

Parameter
Name Description
value String

The column to set.

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

setColumnBytes(ByteString value)

public SqlServerColumn.Builder setColumnBytes(ByteString value)

Column name.

string column = 1;

Parameter
Name Description
value ByteString

The bytes for column to set.

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

setDataType(String value)

public SqlServerColumn.Builder setDataType(String value)

The SQLServer data type.

string data_type = 2;

Parameter
Name Description
value String

The dataType to set.

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

setDataTypeBytes(ByteString value)

public SqlServerColumn.Builder setDataTypeBytes(ByteString value)

The SQLServer data type.

string data_type = 2;

Parameter
Name Description
value ByteString

The bytes for dataType to set.

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public SqlServerColumn.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SqlServerColumn.Builder
Overrides

setLength(int value)

public SqlServerColumn.Builder setLength(int value)

Column length.

int32 length = 3;

Parameter
Name Description
value int

The length to set.

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

setNullable(boolean value)

public SqlServerColumn.Builder setNullable(boolean value)

Whether or not the column can accept a null value.

bool nullable = 7;

Parameter
Name Description
value boolean

The nullable to set.

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

setOrdinalPosition(int value)

public SqlServerColumn.Builder setOrdinalPosition(int value)

The ordinal position of the column in the table.

int32 ordinal_position = 8;

Parameter
Name Description
value int

The ordinalPosition to set.

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

setPrecision(int value)

public SqlServerColumn.Builder setPrecision(int value)

Column precision.

int32 precision = 4;

Parameter
Name Description
value int

The precision to set.

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

setPrimaryKey(boolean value)

public SqlServerColumn.Builder setPrimaryKey(boolean value)

Whether or not the column represents a primary key.

bool primary_key = 6;

Parameter
Name Description
value boolean

The primaryKey to set.

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public SqlServerColumn.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SqlServerColumn.Builder
Overrides

setScale(int value)

public SqlServerColumn.Builder setScale(int value)

Column scale.

int32 scale = 5;

Parameter
Name Description
value int

The scale to set.

Returns
Type Description
SqlServerColumn.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SqlServerColumn.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SqlServerColumn.Builder
Overrides