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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BigQueryOptions.BuilderImplements
BigQueryOptionsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BigQueryOptions.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BigQueryOptions.Builder |
build()
public BigQueryOptions build()
Type | Description |
BigQueryOptions |
buildPartial()
public BigQueryOptions buildPartial()
Type | Description |
BigQueryOptions |
clear()
public BigQueryOptions.Builder clear()
Type | Description |
BigQueryOptions.Builder |
clearField(Descriptors.FieldDescriptor field)
public BigQueryOptions.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BigQueryOptions.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BigQueryOptions.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BigQueryOptions.Builder |
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];
Type | Description |
BigQueryOptions.Builder | This builder for chaining. |
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];
Type | Description |
BigQueryOptions.Builder | This builder for chaining. |
clone()
public BigQueryOptions.Builder clone()
Type | Description |
BigQueryOptions.Builder |
getDefaultInstanceForType()
public BigQueryOptions getDefaultInstanceForType()
Type | Description |
BigQueryOptions |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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];
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];
Type | Description |
boolean | The usesTimestampColumnPartitioning. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(BigQueryOptions other)
public BigQueryOptions.Builder mergeFrom(BigQueryOptions other)
Name | Description |
other | BigQueryOptions |
Type | Description |
BigQueryOptions.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BigQueryOptions.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BigQueryOptions.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BigQueryOptions.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BigQueryOptions.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryOptions.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BigQueryOptions.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BigQueryOptions.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BigQueryOptions.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BigQueryOptions.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BigQueryOptions.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BigQueryOptions.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BigQueryOptions.Builder |
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];
Name | Description |
value | boolean The usePartitionedTables to set. |
Type | Description |
BigQueryOptions.Builder | This builder for chaining. |
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];
Name | Description |
value | boolean The usesTimestampColumnPartitioning to set. |
Type | Description |
BigQueryOptions.Builder | This builder for chaining. |