public static final class BigQueryDateShardedSpec.Builder extends com.google.protobuf.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] (https://cloud.google.com/bigquery/docs/partitioned-tables#partitioning_versus_sharding).Protobuf type
google.cloud.datacatalog.v1.BigQueryDateShardedSpecgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder>public BigQueryDateShardedSpec.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder>public BigQueryDateShardedSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BigQueryDateShardedSpec build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BigQueryDateShardedSpec buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BigQueryDateShardedSpec.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder>public BigQueryDateShardedSpec.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder>public BigQueryDateShardedSpec.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder>public BigQueryDateShardedSpec.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder>public BigQueryDateShardedSpec.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder>public BigQueryDateShardedSpec.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder>public BigQueryDateShardedSpec.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BigQueryDateShardedSpec.Builder>public BigQueryDateShardedSpec.Builder mergeFrom(BigQueryDateShardedSpec other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder>public BigQueryDateShardedSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BigQueryDateShardedSpec.Builder>IOExceptionpublic 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) = { ... }
getDataset in interface BigQueryDateShardedSpecOrBuilderpublic com.google.protobuf.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) = { ... }
getDatasetBytes in interface BigQueryDateShardedSpecOrBuilderpublic 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) = { ... }
value - The dataset to set.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) = { ... }
public BigQueryDateShardedSpec.Builder setDatasetBytes(com.google.protobuf.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) = { ... }
value - The bytes for dataset to set.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];getTablePrefix in interface BigQueryDateShardedSpecOrBuilderpublic com.google.protobuf.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];getTablePrefixBytes in interface BigQueryDateShardedSpecOrBuilderpublic 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];value - The tablePrefix to set.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];public BigQueryDateShardedSpec.Builder setTablePrefixBytes(com.google.protobuf.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];value - The bytes for tablePrefix to set.public long getShardCount()
Output only. Total number of shards.
int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getShardCount in interface BigQueryDateShardedSpecOrBuilderpublic BigQueryDateShardedSpec.Builder setShardCount(long value)
Output only. Total number of shards.
int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The shardCount to set.public BigQueryDateShardedSpec.Builder clearShardCount()
Output only. Total number of shards.
int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public String getLatestShardResource()
Output only. BigQuery resource name of the latest shard.
string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getLatestShardResource in interface BigQueryDateShardedSpecOrBuilderpublic com.google.protobuf.ByteString getLatestShardResourceBytes()
Output only. BigQuery resource name of the latest shard.
string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getLatestShardResourceBytes in interface BigQueryDateShardedSpecOrBuilderpublic 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];value - The latestShardResource to set.public BigQueryDateShardedSpec.Builder clearLatestShardResource()
Output only. BigQuery resource name of the latest shard.
string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public BigQueryDateShardedSpec.Builder setLatestShardResourceBytes(com.google.protobuf.ByteString value)
Output only. BigQuery resource name of the latest shard.
string latest_shard_resource = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for latestShardResource to set.public final BigQueryDateShardedSpec.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder>public final BigQueryDateShardedSpec.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder>Copyright © 2023 Google LLC. All rights reserved.