public static final class TableMetadata.Builder extends GeneratedMessage.Builder<TableMetadata.Builder> implements TableMetadataOrBuilderMetadata about a table used in a query.
Protobuf type google.cloud.chronicle.v1.TableMetadata
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TableMetadata.BuilderImplements
TableMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public TableMetadata build()| Returns | |
|---|---|
| Type | Description |
TableMetadata |
|
buildPartial()
public TableMetadata buildPartial()| Returns | |
|---|---|
| Type | Description |
TableMetadata |
|
clear()
public TableMetadata.Builder clear()| Returns | |
|---|---|
| Type | Description |
TableMetadata.Builder |
|
clearDataSource()
public TableMetadata.Builder clearDataSource()The type of data source.
.google.cloud.chronicle.v1.TableMetadata.DataSource data_source = 2;
| Returns | |
|---|---|
| Type | Description |
TableMetadata.Builder |
This builder for chaining. |
clearIndex()
public TableMetadata.Builder clearIndex()The index of the table in the query.
int32 index = 3;
| Returns | |
|---|---|
| Type | Description |
TableMetadata.Builder |
This builder for chaining. |
clearTable()
public TableMetadata.Builder clearTable()The alias of the table in the query.
string table = 1;
| Returns | |
|---|---|
| Type | Description |
TableMetadata.Builder |
This builder for chaining. |
getDataSource()
public TableMetadata.DataSource getDataSource()The type of data source.
.google.cloud.chronicle.v1.TableMetadata.DataSource data_source = 2;
| Returns | |
|---|---|
| Type | Description |
TableMetadata.DataSource |
The dataSource. |
getDataSourceValue()
public int getDataSourceValue()The type of data source.
.google.cloud.chronicle.v1.TableMetadata.DataSource data_source = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for dataSource. |
getDefaultInstanceForType()
public TableMetadata getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TableMetadata |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIndex()
public int getIndex()The index of the table in the query.
int32 index = 3;
| Returns | |
|---|---|
| Type | Description |
int |
The index. |
getTable()
public String getTable()The alias of the table in the query.
string table = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The table. |
getTableBytes()
public ByteString getTableBytes()The alias of the table in the query.
string table = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for table. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(TableMetadata other)
public TableMetadata.Builder mergeFrom(TableMetadata other)| Parameter | |
|---|---|
| Name | Description |
other |
TableMetadata |
| Returns | |
|---|---|
| Type | Description |
TableMetadata.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TableMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
TableMetadata.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TableMetadata.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TableMetadata.Builder |
|
setDataSource(TableMetadata.DataSource value)
public TableMetadata.Builder setDataSource(TableMetadata.DataSource value)The type of data source.
.google.cloud.chronicle.v1.TableMetadata.DataSource data_source = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
TableMetadata.DataSourceThe dataSource to set. |
| Returns | |
|---|---|
| Type | Description |
TableMetadata.Builder |
This builder for chaining. |
setDataSourceValue(int value)
public TableMetadata.Builder setDataSourceValue(int value)The type of data source.
.google.cloud.chronicle.v1.TableMetadata.DataSource data_source = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for dataSource to set. |
| Returns | |
|---|---|
| Type | Description |
TableMetadata.Builder |
This builder for chaining. |
setIndex(int value)
public TableMetadata.Builder setIndex(int value)The index of the table in the query.
int32 index = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe index to set. |
| Returns | |
|---|---|
| Type | Description |
TableMetadata.Builder |
This builder for chaining. |
setTable(String value)
public TableMetadata.Builder setTable(String value)The alias of the table in the query.
string table = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe table to set. |
| Returns | |
|---|---|
| Type | Description |
TableMetadata.Builder |
This builder for chaining. |
setTableBytes(ByteString value)
public TableMetadata.Builder setTableBytes(ByteString value)The alias of the table in the query.
string table = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for table to set. |
| Returns | |
|---|---|
| Type | Description |
TableMetadata.Builder |
This builder for chaining. |