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
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 BigQueryOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BigQueryOptions build()
buildPartial()
public BigQueryOptions buildPartial()
clear()
public BigQueryOptions.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BigQueryOptions.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BigQueryOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
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];
clone()
public BigQueryOptions.Builder clone()
Overrides
getDefaultInstanceForType()
public BigQueryOptions getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BigQueryOptions other)
public BigQueryOptions.Builder mergeFrom(BigQueryOptions other)
public BigQueryOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BigQueryOptions.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BigQueryOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BigQueryOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|