public static final class BigQueryOptions.Builder extends GeneratedMessageV3.Builder<BigQueryOptions.Builder> implements BigQueryOptionsOrBuilder
Options that change functionality of a sink exporting data to BigQuery.
Protobuf type google.logging.v2.BigQueryOptions
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BigQueryOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BigQueryOptions build()
Returns
buildPartial()
public BigQueryOptions buildPartial()
Returns
clear()
public BigQueryOptions.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BigQueryOptions.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BigQueryOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUsePartitionedTables()
public BigQueryOptions.Builder clearUsePartitionedTables()
Optional. Whether to use BigQuery's partition
tables. By
default, Cloud Logging creates dated tables based on the log entries'
timestamps, e.g. syslog_20170523. With partitioned tables the date suffix
is no longer present and special query
syntax
has to be used instead. In both cases, tables are sharded based on UTC
timezone.
bool use_partitioned_tables = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
clearUsesTimestampColumnPartitioning()
public BigQueryOptions.Builder clearUsesTimestampColumnPartitioning()
Output only. True if new timestamp column based partitioning is in use, false if legacy
ingestion-time partitioning is in use.
All new sinks will have this field set true and will use timestamp column
based partitioning. If use_partitioned_tables is false, this value has no
meaning and will be false. Legacy sinks using partitioned tables will have
this field set to false.
bool uses_timestamp_column_partitioning = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
clone()
public BigQueryOptions.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BigQueryOptions getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getUsePartitionedTables()
public boolean getUsePartitionedTables()
Optional. Whether to use BigQuery's partition
tables. By
default, Cloud Logging creates dated tables based on the log entries'
timestamps, e.g. syslog_20170523. With partitioned tables the date suffix
is no longer present and special query
syntax
has to be used instead. In both cases, tables are sharded based on UTC
timezone.
bool use_partitioned_tables = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type | Description |
boolean | The usePartitionedTables.
|
getUsesTimestampColumnPartitioning()
public boolean getUsesTimestampColumnPartitioning()
Output only. True if new timestamp column based partitioning is in use, false if legacy
ingestion-time partitioning is in use.
All new sinks will have this field set true and will use timestamp column
based partitioning. If use_partitioned_tables is false, this value has no
meaning and will be false. Legacy sinks using partitioned tables will have
this field set to false.
bool uses_timestamp_column_partitioning = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type | Description |
boolean | The usesTimestampColumnPartitioning.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BigQueryOptions other)
public BigQueryOptions.Builder mergeFrom(BigQueryOptions other)
Parameter
Returns
public BigQueryOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BigQueryOptions.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BigQueryOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BigQueryOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUsePartitionedTables(boolean value)
public BigQueryOptions.Builder setUsePartitionedTables(boolean value)
Optional. Whether to use BigQuery's partition
tables. By
default, Cloud Logging creates dated tables based on the log entries'
timestamps, e.g. syslog_20170523. With partitioned tables the date suffix
is no longer present and special query
syntax
has to be used instead. In both cases, tables are sharded based on UTC
timezone.
bool use_partitioned_tables = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name | Description |
value | boolean
The usePartitionedTables to set.
|
Returns
setUsesTimestampColumnPartitioning(boolean value)
public BigQueryOptions.Builder setUsesTimestampColumnPartitioning(boolean value)
Output only. True if new timestamp column based partitioning is in use, false if legacy
ingestion-time partitioning is in use.
All new sinks will have this field set true and will use timestamp column
based partitioning. If use_partitioned_tables is false, this value has no
meaning and will be false. Legacy sinks using partitioned tables will have
this field set to false.
bool uses_timestamp_column_partitioning = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter
Name | Description |
value | boolean
The usesTimestampColumnPartitioning to set.
|
Returns