public final class BigQueryOptions extends GeneratedMessageV3 implements BigQueryOptionsOrBuilder
Options that change functionality of a sink exporting data to BigQuery.
Protobuf type google.logging.v2.BigQueryOptions
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BigQueryOptionsImplements
BigQueryOptionsOrBuilderStatic Fields
USES_TIMESTAMP_COLUMN_PARTITIONING_FIELD_NUMBER
public static final int USES_TIMESTAMP_COLUMN_PARTITIONING_FIELD_NUMBER
Type | Description |
int |
USE_PARTITIONED_TABLES_FIELD_NUMBER
public static final int USE_PARTITIONED_TABLES_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static BigQueryOptions getDefaultInstance()
Type | Description |
BigQueryOptions |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static BigQueryOptions.Builder newBuilder()
Type | Description |
BigQueryOptions.Builder |
newBuilder(BigQueryOptions prototype)
public static BigQueryOptions.Builder newBuilder(BigQueryOptions prototype)
Name | Description |
prototype | BigQueryOptions |
Type | Description |
BigQueryOptions.Builder |
parseDelimitedFrom(InputStream input)
public static BigQueryOptions parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
BigQueryOptions |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BigQueryOptions parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BigQueryOptions |
Type | Description |
IOException |
parseFrom(byte[] data)
public static BigQueryOptions parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
BigQueryOptions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BigQueryOptions parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BigQueryOptions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static BigQueryOptions parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
BigQueryOptions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BigQueryOptions parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BigQueryOptions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static BigQueryOptions parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
BigQueryOptions |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BigQueryOptions parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BigQueryOptions |
Type | Description |
IOException |
parseFrom(InputStream input)
public static BigQueryOptions parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
BigQueryOptions |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BigQueryOptions parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BigQueryOptions |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static BigQueryOptions parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
BigQueryOptions |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BigQueryOptions parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BigQueryOptions |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<BigQueryOptions> parser()
Type | Description |
Parser<BigQueryOptions> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public BigQueryOptions getDefaultInstanceForType()
Type | Description |
BigQueryOptions |
getParserForType()
public Parser<BigQueryOptions> getParserForType()
Type | Description |
Parser<BigQueryOptions> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
getUsePartitionedTables()
public boolean getUsePartitionedTables()
Optional. Whether to use BigQuery's partition tables. By default, 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. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public BigQueryOptions.Builder newBuilderForType()
Type | Description |
BigQueryOptions.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BigQueryOptions.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
BigQueryOptions.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public BigQueryOptions.Builder toBuilder()
Type | Description |
BigQueryOptions.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |