protos

package
v0.0.0-...-53bc41b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package protos is a generated protocol buffer package.

It is generated from these files:

bq_table.proto
bq_field.proto

It has these top-level messages:

BigQueryFieldOptions

Index

Constants

This section is empty.

Variables

View Source
var E_Bigquery = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.FieldOptions)(nil),
	ExtensionType: (*BigQueryFieldOptions)(nil),
	Field:         1021,
	Name:          "gen_bq_schema.bigquery",
	Tag:           "bytes,1021,opt,name=bigquery",
	Filename:      "bq_field.proto",
}
View Source
var E_FormatJson = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.MessageOptions)(nil),
	ExtensionType: (*bool)(nil),
	Field:         1027,
	Name:          "gen_bq_schema.format_json",
	Tag:           "varint,1027,opt,name=format_json,json=formatJson",
	Filename:      "bq_table.proto",
}
View Source
var E_TableDescription = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.MessageOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         1026,
	Name:          "gen_bq_schema.table_description",
	Tag:           "bytes,1026,opt,name=table_description,json=tableDescription",
	Filename:      "bq_table.proto",
}
View Source
var E_TableName = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.MessageOptions)(nil),
	ExtensionType: (*string)(nil),
	Field:         1021,
	Name:          "gen_bq_schema.table_name",
	Tag:           "bytes,1021,opt,name=table_name,json=tableName",
	Filename:      "bq_table.proto",
}

Functions

This section is empty.

Types

type BigQueryFieldOptions

type BigQueryFieldOptions struct {
	// Flag to specify that a field should be marked as 'REQUIRED' when
	// used to generate schema for BigQuery.
	Require bool `protobuf:"varint,1,opt,name=require" json:"require,omitempty"`
	// Optionally override whatever type is resolved by the schema
	// generator. This is useful, for example, to store epoch timestamps
	// with the underlying 'TIMESTAMP' type, when normally, they would
	// be structured as 'INTEGER' fields.
	TypeOverride string `protobuf:"bytes,2,opt,name=type_override,json=typeOverride" json:"type_override,omitempty"`
	// Optionally omit a field from BigQuery schema.
	Ignore bool `protobuf:"varint,3,opt,name=ignore" json:"ignore,omitempty"`
	// Set the description for a field in BigQuery schema.
	Description string `protobuf:"bytes,4,opt,name=description" json:"description,omitempty"`
}

Message containing options related to BigQuery schema generation and management via Protobuf.

func (*BigQueryFieldOptions) Descriptor

func (*BigQueryFieldOptions) Descriptor() ([]byte, []int)

func (*BigQueryFieldOptions) GetDescription

func (m *BigQueryFieldOptions) GetDescription() string

func (*BigQueryFieldOptions) GetIgnore

func (m *BigQueryFieldOptions) GetIgnore() bool

func (*BigQueryFieldOptions) GetRequire

func (m *BigQueryFieldOptions) GetRequire() bool

func (*BigQueryFieldOptions) GetTypeOverride

func (m *BigQueryFieldOptions) GetTypeOverride() string

func (*BigQueryFieldOptions) ProtoMessage

func (*BigQueryFieldOptions) ProtoMessage()

func (*BigQueryFieldOptions) Reset

func (m *BigQueryFieldOptions) Reset()

func (*BigQueryFieldOptions) String

func (m *BigQueryFieldOptions) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL