- 1.47.0 (latest)
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.2
- 1.1.1
- 1.0.0
- 0.4.2
public static final class PostgresqlColumn.Builder extends GeneratedMessageV3.Builder<PostgresqlColumn.Builder> implements PostgresqlColumnOrBuilder
PostgreSQL Column.
Protobuf type google.cloud.datastream.v1.PostgresqlColumn
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PostgresqlColumn.BuilderImplements
PostgresqlColumnOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PostgresqlColumn.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
build()
public PostgresqlColumn build()
Returns | |
---|---|
Type | Description |
PostgresqlColumn |
buildPartial()
public PostgresqlColumn buildPartial()
Returns | |
---|---|
Type | Description |
PostgresqlColumn |
clear()
public PostgresqlColumn.Builder clear()
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
clearColumn()
public PostgresqlColumn.Builder clearColumn()
Column name.
string column = 1;
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
clearDataType()
public PostgresqlColumn.Builder clearDataType()
The PostgreSQL data type.
string data_type = 2;
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PostgresqlColumn.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
clearLength()
public PostgresqlColumn.Builder clearLength()
Column length.
int32 length = 3;
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
clearNullable()
public PostgresqlColumn.Builder clearNullable()
Whether or not the column can accept a null value.
bool nullable = 8;
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public PostgresqlColumn.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
clearOrdinalPosition()
public PostgresqlColumn.Builder clearOrdinalPosition()
The ordinal position of the column in the table.
int32 ordinal_position = 9;
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
clearPrecision()
public PostgresqlColumn.Builder clearPrecision()
Column precision.
int32 precision = 4;
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
clearPrimaryKey()
public PostgresqlColumn.Builder clearPrimaryKey()
Whether or not the column represents a primary key.
bool primary_key = 7;
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
clearScale()
public PostgresqlColumn.Builder clearScale()
Column scale.
int32 scale = 5;
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
clone()
public PostgresqlColumn.Builder clone()
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
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 PostgreSQL data type.
string data_type = 2;
Returns | |
---|---|
Type | Description |
String |
The dataType. |
getDataTypeBytes()
public ByteString getDataTypeBytes()
The PostgreSQL data type.
string data_type = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for dataType. |
getDefaultInstanceForType()
public PostgresqlColumn getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PostgresqlColumn |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 = 8;
Returns | |
---|---|
Type | Description |
boolean |
The nullable. |
getOrdinalPosition()
public int getOrdinalPosition()
The ordinal position of the column in the table.
int32 ordinal_position = 9;
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 = 7;
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PostgresqlColumn other)
public PostgresqlColumn.Builder mergeFrom(PostgresqlColumn other)
Parameter | |
---|---|
Name | Description |
other |
PostgresqlColumn |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PostgresqlColumn.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PostgresqlColumn.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PostgresqlColumn.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
setColumn(String value)
public PostgresqlColumn.Builder setColumn(String value)
Column name.
string column = 1;
Parameter | |
---|---|
Name | Description |
value |
String The column to set. |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
setColumnBytes(ByteString value)
public PostgresqlColumn.Builder setColumnBytes(ByteString value)
Column name.
string column = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for column to set. |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
setDataType(String value)
public PostgresqlColumn.Builder setDataType(String value)
The PostgreSQL data type.
string data_type = 2;
Parameter | |
---|---|
Name | Description |
value |
String The dataType to set. |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
setDataTypeBytes(ByteString value)
public PostgresqlColumn.Builder setDataTypeBytes(ByteString value)
The PostgreSQL data type.
string data_type = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for dataType to set. |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PostgresqlColumn.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
setLength(int value)
public PostgresqlColumn.Builder setLength(int value)
Column length.
int32 length = 3;
Parameter | |
---|---|
Name | Description |
value |
int The length to set. |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
setNullable(boolean value)
public PostgresqlColumn.Builder setNullable(boolean value)
Whether or not the column can accept a null value.
bool nullable = 8;
Parameter | |
---|---|
Name | Description |
value |
boolean The nullable to set. |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
setOrdinalPosition(int value)
public PostgresqlColumn.Builder setOrdinalPosition(int value)
The ordinal position of the column in the table.
int32 ordinal_position = 9;
Parameter | |
---|---|
Name | Description |
value |
int The ordinalPosition to set. |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
setPrecision(int value)
public PostgresqlColumn.Builder setPrecision(int value)
Column precision.
int32 precision = 4;
Parameter | |
---|---|
Name | Description |
value |
int The precision to set. |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
setPrimaryKey(boolean value)
public PostgresqlColumn.Builder setPrimaryKey(boolean value)
Whether or not the column represents a primary key.
bool primary_key = 7;
Parameter | |
---|---|
Name | Description |
value |
boolean The primaryKey to set. |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PostgresqlColumn.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
setScale(int value)
public PostgresqlColumn.Builder setScale(int value)
Column scale.
int32 scale = 5;
Parameter | |
---|---|
Name | Description |
value |
int The scale to set. |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PostgresqlColumn.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PostgresqlColumn.Builder |