public static final class BigQueryClustering.Builder extends GeneratedMessage.Builder<BigQueryClustering.Builder> implements BigQueryClusteringOrBuilderBigQuery clustering configuration.
Protobuf type google.cloud.datastream.v1.BigQueryClustering
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > BigQueryClustering.BuilderImplements
BigQueryClusteringOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllColumns(Iterable<String> values)
public BigQueryClustering.Builder addAllColumns(Iterable<String> values)Required. Column names to set as clustering columns.
repeated string columns = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The columns to add. |
| Returns | |
|---|---|
| Type | Description |
BigQueryClustering.Builder |
This builder for chaining. |
addColumns(String value)
public BigQueryClustering.Builder addColumns(String value)Required. Column names to set as clustering columns.
repeated string columns = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe columns to add. |
| Returns | |
|---|---|
| Type | Description |
BigQueryClustering.Builder |
This builder for chaining. |
addColumnsBytes(ByteString value)
public BigQueryClustering.Builder addColumnsBytes(ByteString value)Required. Column names to set as clustering columns.
repeated string columns = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the columns to add. |
| Returns | |
|---|---|
| Type | Description |
BigQueryClustering.Builder |
This builder for chaining. |
build()
public BigQueryClustering build()| Returns | |
|---|---|
| Type | Description |
BigQueryClustering |
|
buildPartial()
public BigQueryClustering buildPartial()| Returns | |
|---|---|
| Type | Description |
BigQueryClustering |
|
clear()
public BigQueryClustering.Builder clear()| Returns | |
|---|---|
| Type | Description |
BigQueryClustering.Builder |
|
clearColumns()
public BigQueryClustering.Builder clearColumns()Required. Column names to set as clustering columns.
repeated string columns = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
BigQueryClustering.Builder |
This builder for chaining. |
getColumns(int index)
public String getColumns(int index)Required. Column names to set as clustering columns.
repeated string columns = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The columns at the given index. |
getColumnsBytes(int index)
public ByteString getColumnsBytes(int index)Required. Column names to set as clustering columns.
repeated string columns = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the columns at the given index. |
getColumnsCount()
public int getColumnsCount()Required. Column names to set as clustering columns.
repeated string columns = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The count of columns. |
getColumnsList()
public ProtocolStringList getColumnsList()Required. Column names to set as clustering columns.
repeated string columns = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the columns. |
getDefaultInstanceForType()
public BigQueryClustering getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BigQueryClustering |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BigQueryClustering other)
public BigQueryClustering.Builder mergeFrom(BigQueryClustering other)| Parameter | |
|---|---|
| Name | Description |
other |
BigQueryClustering |
| Returns | |
|---|---|
| Type | Description |
BigQueryClustering.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BigQueryClustering.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BigQueryClustering.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BigQueryClustering.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BigQueryClustering.Builder |
|
setColumns(int index, String value)
public BigQueryClustering.Builder setColumns(int index, String value)Required. Column names to set as clustering columns.
repeated string columns = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe columns to set. |
| Returns | |
|---|---|
| Type | Description |
BigQueryClustering.Builder |
This builder for chaining. |