public final class SpannerColumn extends GeneratedMessage implements SpannerColumnOrBuilderSpanner column.
Protobuf type google.cloud.datastream.v1.SpannerColumn
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > SpannerColumnImplements
SpannerColumnOrBuilderStatic Fields
COLUMN_FIELD_NUMBER
public static final int COLUMN_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
DATA_TYPE_FIELD_NUMBER
public static final int DATA_TYPE_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
IS_PRIMARY_KEY_FIELD_NUMBER
public static final int IS_PRIMARY_KEY_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
ORDINAL_POSITION_FIELD_NUMBER
public static final int ORDINAL_POSITION_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static SpannerColumn getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static SpannerColumn.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
SpannerColumn.Builder |
|
newBuilder(SpannerColumn prototype)
public static SpannerColumn.Builder newBuilder(SpannerColumn prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
SpannerColumn |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn.Builder |
|
parseDelimitedFrom(InputStream input)
public static SpannerColumn parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SpannerColumn parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static SpannerColumn parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SpannerColumn parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static SpannerColumn parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SpannerColumn parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static SpannerColumn parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SpannerColumn parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static SpannerColumn parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static SpannerColumn parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static SpannerColumn parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SpannerColumn parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<SpannerColumn> parser()| Returns | |
|---|---|
| Type | Description |
Parser<SpannerColumn> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getColumn()
public String getColumn()Required. The column name.
string column = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The column. |
getColumnBytes()
public ByteString getColumnBytes()Required. The column name.
string column = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for column. |
getDataType()
public String getDataType()Optional. Spanner data type.
string data_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The dataType. |
getDataTypeBytes()
public ByteString getDataTypeBytes()Optional. Spanner data type.
string data_type = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataType. |
getDefaultInstanceForType()
public SpannerColumn getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SpannerColumn |
|
getIsPrimaryKey()
public boolean getIsPrimaryKey()Optional. Whether or not the column is a primary key.
bool is_primary_key = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The isPrimaryKey. |
getOrdinalPosition()
public long getOrdinalPosition()Optional. The ordinal position of the column in the table.
int64 ordinal_position = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The ordinalPosition. |
getParserForType()
public Parser<SpannerColumn> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<SpannerColumn> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public SpannerColumn.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
SpannerColumn.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected SpannerColumn.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
SpannerColumn.Builder |
|
toBuilder()
public SpannerColumn.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
SpannerColumn.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|