- 1.82.0 (latest)
- 1.81.0
- 1.80.0
- 1.79.0
- 1.78.0
- 1.76.0
- 1.74.0
- 1.73.0
- 1.70.0
- 1.69.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.5
- 1.8.4
- 1.7.2
- 1.6.2
- 1.5.4
public static final class BigQueryDateShardedSpec.Builder extends GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder> implements BigQueryDateShardedSpecOrBuilder Specification for a group of BigQuery tables with the [prefix]YYYYMMDD name
pattern.
For more information, see Introduction to partitioned tables.
Protobuf type google.cloud.datacatalog.v1.BigQueryDateShardedSpec
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BigQueryDateShardedSpec.BuilderImplements
BigQueryDateShardedSpecOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BigQueryDateShardedSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
|
build()
public BigQueryDateShardedSpec build()| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec |
|
buildPartial()
public BigQueryDateShardedSpec buildPartial()| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec |
|
clear()
public BigQueryDateShardedSpec.Builder clear()| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
|
clearDataset()
public BigQueryDateShardedSpec.Builder clearDataset()Output only. The Data Catalog resource name of the dataset entry the current table belongs to. For example:
projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}.
string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BigQueryDateShardedSpec.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
|
clearLatestShardResource()
public BigQueryDateShardedSpec.Builder clearLatestShardResource()Output only. BigQuery resource name of the latest shard.
string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BigQueryDateShardedSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
|
clearShardCount()
public BigQueryDateShardedSpec.Builder clearShardCount()Output only. Total number of shards.
int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
This builder for chaining. |
clearTablePrefix()
public BigQueryDateShardedSpec.Builder clearTablePrefix()Output only. The table name prefix of the shards.
The name of any given shard is [table_prefix]YYYYMMDD.
For example, for the MyTable20180101 shard, the
table_prefix is MyTable.
string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
This builder for chaining. |
clone()
public BigQueryDateShardedSpec.Builder clone()| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
|
getDataset()
public String getDataset()Output only. The Data Catalog resource name of the dataset entry the current table belongs to. For example:
projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}.
string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The dataset. |
getDatasetBytes()
public ByteString getDatasetBytes()Output only. The Data Catalog resource name of the dataset entry the current table belongs to. For example:
projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}.
string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for dataset. |
getDefaultInstanceForType()
public BigQueryDateShardedSpec getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLatestShardResource()
public String getLatestShardResource()Output only. BigQuery resource name of the latest shard.
string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The latestShardResource. |
getLatestShardResourceBytes()
public ByteString getLatestShardResourceBytes()Output only. BigQuery resource name of the latest shard.
string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for latestShardResource. |
getShardCount()
public long getShardCount()Output only. Total number of shards.
int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
long |
The shardCount. |
getTablePrefix()
public String getTablePrefix()Output only. The table name prefix of the shards.
The name of any given shard is [table_prefix]YYYYMMDD.
For example, for the MyTable20180101 shard, the
table_prefix is MyTable.
string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The tablePrefix. |
getTablePrefixBytes()
public ByteString getTablePrefixBytes()Output only. The table name prefix of the shards.
The name of any given shard is [table_prefix]YYYYMMDD.
For example, for the MyTable20180101 shard, the
table_prefix is MyTable.
string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for tablePrefix. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(BigQueryDateShardedSpec other)
public BigQueryDateShardedSpec.Builder mergeFrom(BigQueryDateShardedSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
BigQueryDateShardedSpec |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BigQueryDateShardedSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public BigQueryDateShardedSpec.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryDateShardedSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
|
setDataset(String value)
public BigQueryDateShardedSpec.Builder setDataset(String value)Output only. The Data Catalog resource name of the dataset entry the current table belongs to. For example:
projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}.
string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe dataset to set. |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
This builder for chaining. |
setDatasetBytes(ByteString value)
public BigQueryDateShardedSpec.Builder setDatasetBytes(ByteString value)Output only. The Data Catalog resource name of the dataset entry the current table belongs to. For example:
projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}.
string dataset = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for dataset to set. |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BigQueryDateShardedSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
|
setLatestShardResource(String value)
public BigQueryDateShardedSpec.Builder setLatestShardResource(String value)Output only. BigQuery resource name of the latest shard.
string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe latestShardResource to set. |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
This builder for chaining. |
setLatestShardResourceBytes(ByteString value)
public BigQueryDateShardedSpec.Builder setLatestShardResourceBytes(ByteString value)Output only. BigQuery resource name of the latest shard.
string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for latestShardResource to set. |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BigQueryDateShardedSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
|
setShardCount(long value)
public BigQueryDateShardedSpec.Builder setShardCount(long value)Output only. Total number of shards.
int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
longThe shardCount to set. |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
This builder for chaining. |
setTablePrefix(String value)
public BigQueryDateShardedSpec.Builder setTablePrefix(String value)Output only. The table name prefix of the shards.
The name of any given shard is [table_prefix]YYYYMMDD.
For example, for the MyTable20180101 shard, the
table_prefix is MyTable.
string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe tablePrefix to set. |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
This builder for chaining. |
setTablePrefixBytes(ByteString value)
public BigQueryDateShardedSpec.Builder setTablePrefixBytes(ByteString value)Output only. The table name prefix of the shards.
The name of any given shard is [table_prefix]YYYYMMDD.
For example, for the MyTable20180101 shard, the
table_prefix is MyTable.
string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for tablePrefix to set. |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryDateShardedSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
BigQueryDateShardedSpec.Builder |
|