Class OracleColumn (1.39.0)

public final class OracleColumn extends GeneratedMessageV3 implements OracleColumnOrBuilder

Oracle Column.

Protobuf type google.cloud.datastream.v1.OracleColumn

Static Fields

COLUMN_FIELD_NUMBER

public static final int COLUMN_FIELD_NUMBER
Field Value
TypeDescription
int

DATA_TYPE_FIELD_NUMBER

public static final int DATA_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

ENCODING_FIELD_NUMBER

public static final int ENCODING_FIELD_NUMBER
Field Value
TypeDescription
int

LENGTH_FIELD_NUMBER

public static final int LENGTH_FIELD_NUMBER
Field Value
TypeDescription
int

NULLABLE_FIELD_NUMBER

public static final int NULLABLE_FIELD_NUMBER
Field Value
TypeDescription
int

ORDINAL_POSITION_FIELD_NUMBER

public static final int ORDINAL_POSITION_FIELD_NUMBER
Field Value
TypeDescription
int

PRECISION_FIELD_NUMBER

public static final int PRECISION_FIELD_NUMBER
Field Value
TypeDescription
int

PRIMARY_KEY_FIELD_NUMBER

public static final int PRIMARY_KEY_FIELD_NUMBER
Field Value
TypeDescription
int

SCALE_FIELD_NUMBER

public static final int SCALE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OracleColumn getDefaultInstance()
Returns
TypeDescription
OracleColumn

getDescriptor()

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

newBuilder()

public static OracleColumn.Builder newBuilder()
Returns
TypeDescription
OracleColumn.Builder

newBuilder(OracleColumn prototype)

public static OracleColumn.Builder newBuilder(OracleColumn prototype)
Parameter
NameDescription
prototypeOracleColumn
Returns
TypeDescription
OracleColumn.Builder

parseDelimitedFrom(InputStream input)

public static OracleColumn parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OracleColumn
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OracleColumn parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleColumn
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OracleColumn parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OracleColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OracleColumn parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OracleColumn parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OracleColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OracleColumn parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OracleColumn parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OracleColumn
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OracleColumn parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleColumn
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static OracleColumn parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OracleColumn
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OracleColumn parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleColumn
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static OracleColumn parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OracleColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OracleColumn parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OracleColumn
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<OracleColumn> parser()
Returns
TypeDescription
Parser<OracleColumn>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

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.

getParserForType()

public Parser<OracleColumn> getParserForType()
Returns
TypeDescription
Parser<OracleColumn>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public OracleColumn.Builder newBuilderForType()
Returns
TypeDescription
OracleColumn.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OracleColumn.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OracleColumn.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public OracleColumn.Builder toBuilder()
Returns
TypeDescription
OracleColumn.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException