- 1.61.0 (latest)
- 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
BigQueryDateShardedSpecOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BigQueryDateShardedSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BigQueryDateShardedSpec.Builder |
build()
public BigQueryDateShardedSpec build()
Type | Description |
BigQueryDateShardedSpec |
buildPartial()
public BigQueryDateShardedSpec buildPartial()
Type | Description |
BigQueryDateShardedSpec |
clear()
public BigQueryDateShardedSpec.Builder clear()
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) = { ... }
Type | Description |
BigQueryDateShardedSpec.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BigQueryDateShardedSpec.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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];
Type | Description |
BigQueryDateShardedSpec.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public BigQueryDateShardedSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
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];
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];
Type | Description |
BigQueryDateShardedSpec.Builder | This builder for chaining. |
clone()
public BigQueryDateShardedSpec.Builder clone()
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) = { ... }
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) = { ... }
Type | Description |
ByteString | The bytes for dataset. |
getDefaultInstanceForType()
public BigQueryDateShardedSpec getDefaultInstanceForType()
Type | Description |
BigQueryDateShardedSpec |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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];
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];
Type | Description |
ByteString | The bytes for tablePrefix. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(BigQueryDateShardedSpec other)
public BigQueryDateShardedSpec.Builder mergeFrom(BigQueryDateShardedSpec other)
Name | Description |
other | BigQueryDateShardedSpec |
Type | Description |
BigQueryDateShardedSpec.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BigQueryDateShardedSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BigQueryDateShardedSpec.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BigQueryDateShardedSpec.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BigQueryDateShardedSpec.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryDateShardedSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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) = { ... }
Name | Description |
value | String The dataset to set. |
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) = { ... }
Name | Description |
value | ByteString The bytes for dataset to set. |
Type | Description |
BigQueryDateShardedSpec.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BigQueryDateShardedSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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];
Name | Description |
value | String The latestShardResource to set. |
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];
Name | Description |
value | ByteString The bytes for latestShardResource to set. |
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)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
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];
Name | Description |
value | long The shardCount to set. |
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];
Name | Description |
value | String The tablePrefix to set. |
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];
Name | Description |
value | ByteString The bytes for tablePrefix to set. |
Type | Description |
BigQueryDateShardedSpec.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryDateShardedSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BigQueryDateShardedSpec.Builder |