public static final class BigQueryDateShardedSpec.Builder extends GeneratedMessageV3.Builder<BigQueryDateShardedSpec.Builder> implements BigQueryDateShardedSpecOrBuilder
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BigQueryDateShardedSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BigQueryDateShardedSpec build()
buildPartial()
public BigQueryDateShardedSpec buildPartial()
clear()
public BigQueryDateShardedSpec.Builder clear()
Overrides
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) = { ... }
clearField(Descriptors.FieldDescriptor field)
public BigQueryDateShardedSpec.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BigQueryDateShardedSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearShardCount()
public BigQueryDateShardedSpec.Builder clearShardCount()
Output only. Total number of shards.
int64 shard_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 shard MyTable20180101
, the
table_prefix
is MyTable
.
string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
clone()
public BigQueryDateShardedSpec.Builder clone()
Overrides
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 shard MyTable20180101
, 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 shard MyTable20180101
, 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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BigQueryDateShardedSpec other)
public BigQueryDateShardedSpec.Builder mergeFrom(BigQueryDateShardedSpec other)
public BigQueryDateShardedSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BigQueryDateShardedSpec.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryDateShardedSpec.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 | String
The dataset to set.
|
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 | ByteString
The bytes for dataset to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public BigQueryDateShardedSpec.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BigQueryDateShardedSpec.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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 | long
The shardCount to set.
|
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 shard MyTable20180101
, the
table_prefix
is MyTable
.
string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | String
The tablePrefix to set.
|
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 shard MyTable20180101
, the
table_prefix
is MyTable
.
string table_prefix = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for tablePrefix to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryDateShardedSpec.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides