Class OracleColumn.Builder (1.15.0)

public static final class OracleColumn.Builder extends GeneratedMessageV3.Builder<OracleColumn.Builder> implements OracleColumnOrBuilder

Oracle Column.

Protobuf type google.cloud.datastream.v1.OracleColumn

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OracleColumn.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OracleColumn.Builder
Overrides

build()

public OracleColumn build()
Returns
TypeDescription
OracleColumn

buildPartial()

public OracleColumn buildPartial()
Returns
TypeDescription
OracleColumn

clear()

public OracleColumn.Builder clear()
Returns
TypeDescription
OracleColumn.Builder
Overrides

clearColumn()

public OracleColumn.Builder clearColumn()

Column name.

string column = 1;

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

clearDataType()

public OracleColumn.Builder clearDataType()

The Oracle data type.

string data_type = 2;

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

clearEncoding()

public OracleColumn.Builder clearEncoding()

Column encoding.

string encoding = 6;

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OracleColumn.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
OracleColumn.Builder
Overrides

clearLength()

public OracleColumn.Builder clearLength()

Column length.

int32 length = 3;

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

clearNullable()

public OracleColumn.Builder clearNullable()

Whether or not the column can accept a null value.

bool nullable = 8;

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public OracleColumn.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
OracleColumn.Builder
Overrides

clearOrdinalPosition()

public OracleColumn.Builder clearOrdinalPosition()

The ordinal position of the column in the table.

int32 ordinal_position = 9;

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

clearPrecision()

public OracleColumn.Builder clearPrecision()

Column precision.

int32 precision = 4;

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

clearPrimaryKey()

public OracleColumn.Builder clearPrimaryKey()

Whether or not the column represents a primary key.

bool primary_key = 7;

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

clearScale()

public OracleColumn.Builder clearScale()

Column scale.

int32 scale = 5;

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

clone()

public OracleColumn.Builder clone()
Returns
TypeDescription
OracleColumn.Builder
Overrides

getColumn()

public String getColumn()

Column name.

string column = 1;

Returns
TypeDescription
String

The column.

getColumnBytes()

public ByteString getColumnBytes()

Column name.

string column = 1;

Returns
TypeDescription
ByteString

The bytes for column.

getDataType()

public String getDataType()

The Oracle data type.

string data_type = 2;

Returns
TypeDescription
String

The dataType.

getDataTypeBytes()

public ByteString getDataTypeBytes()

The Oracle data type.

string data_type = 2;

Returns
TypeDescription
ByteString

The bytes for dataType.

getDefaultInstanceForType()

public OracleColumn getDefaultInstanceForType()
Returns
TypeDescription
OracleColumn

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEncoding()

public String getEncoding()

Column encoding.

string encoding = 6;

Returns
TypeDescription
String

The encoding.

getEncodingBytes()

public ByteString getEncodingBytes()

Column encoding.

string encoding = 6;

Returns
TypeDescription
ByteString

The bytes for encoding.

getLength()

public int getLength()

Column length.

int32 length = 3;

Returns
TypeDescription
int

The length.

getNullable()

public boolean getNullable()

Whether or not the column can accept a null value.

bool nullable = 8;

Returns
TypeDescription
boolean

The nullable.

getOrdinalPosition()

public int getOrdinalPosition()

The ordinal position of the column in the table.

int32 ordinal_position = 9;

Returns
TypeDescription
int

The ordinalPosition.

getPrecision()

public int getPrecision()

Column precision.

int32 precision = 4;

Returns
TypeDescription
int

The precision.

getPrimaryKey()

public boolean getPrimaryKey()

Whether or not the column represents a primary key.

bool primary_key = 7;

Returns
TypeDescription
boolean

The primaryKey.

getScale()

public int getScale()

Column scale.

int32 scale = 5;

Returns
TypeDescription
int

The scale.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(OracleColumn other)

public OracleColumn.Builder mergeFrom(OracleColumn other)
Parameter
NameDescription
otherOracleColumn
Returns
TypeDescription
OracleColumn.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OracleColumn.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleColumn.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OracleColumn.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
OracleColumn.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OracleColumn.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OracleColumn.Builder
Overrides

setColumn(String value)

public OracleColumn.Builder setColumn(String value)

Column name.

string column = 1;

Parameter
NameDescription
valueString

The column to set.

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

setColumnBytes(ByteString value)

public OracleColumn.Builder setColumnBytes(ByteString value)

Column name.

string column = 1;

Parameter
NameDescription
valueByteString

The bytes for column to set.

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

setDataType(String value)

public OracleColumn.Builder setDataType(String value)

The Oracle data type.

string data_type = 2;

Parameter
NameDescription
valueString

The dataType to set.

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

setDataTypeBytes(ByteString value)

public OracleColumn.Builder setDataTypeBytes(ByteString value)

The Oracle data type.

string data_type = 2;

Parameter
NameDescription
valueByteString

The bytes for dataType to set.

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

setEncoding(String value)

public OracleColumn.Builder setEncoding(String value)

Column encoding.

string encoding = 6;

Parameter
NameDescription
valueString

The encoding to set.

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

setEncodingBytes(ByteString value)

public OracleColumn.Builder setEncodingBytes(ByteString value)

Column encoding.

string encoding = 6;

Parameter
NameDescription
valueByteString

The bytes for encoding to set.

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OracleColumn.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OracleColumn.Builder
Overrides

setLength(int value)

public OracleColumn.Builder setLength(int value)

Column length.

int32 length = 3;

Parameter
NameDescription
valueint

The length to set.

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

setNullable(boolean value)

public OracleColumn.Builder setNullable(boolean value)

Whether or not the column can accept a null value.

bool nullable = 8;

Parameter
NameDescription
valueboolean

The nullable to set.

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

setOrdinalPosition(int value)

public OracleColumn.Builder setOrdinalPosition(int value)

The ordinal position of the column in the table.

int32 ordinal_position = 9;

Parameter
NameDescription
valueint

The ordinalPosition to set.

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

setPrecision(int value)

public OracleColumn.Builder setPrecision(int value)

Column precision.

int32 precision = 4;

Parameter
NameDescription
valueint

The precision to set.

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

setPrimaryKey(boolean value)

public OracleColumn.Builder setPrimaryKey(boolean value)

Whether or not the column represents a primary key.

bool primary_key = 7;

Parameter
NameDescription
valueboolean

The primaryKey to set.

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

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

public OracleColumn.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OracleColumn.Builder
Overrides

setScale(int value)

public OracleColumn.Builder setScale(int value)

Column scale.

int32 scale = 5;

Parameter
NameDescription
valueint

The scale to set.

Returns
TypeDescription
OracleColumn.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final OracleColumn.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OracleColumn.Builder
Overrides