Documentation ¶
Index ¶
- Variables
- type BigQueryFieldOptions
- func (*BigQueryFieldOptions) Descriptor() ([]byte, []int)
- func (m *BigQueryFieldOptions) GetDescription() string
- func (m *BigQueryFieldOptions) GetIgnore() bool
- func (m *BigQueryFieldOptions) GetName() string
- func (m *BigQueryFieldOptions) GetRequire() bool
- func (m *BigQueryFieldOptions) GetTypeOverride() string
- func (*BigQueryFieldOptions) ProtoMessage()
- func (m *BigQueryFieldOptions) Reset()
- func (m *BigQueryFieldOptions) String() string
- func (m *BigQueryFieldOptions) XXX_DiscardUnknown()
- func (m *BigQueryFieldOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BigQueryFieldOptions) XXX_Merge(src proto.Message)
- func (m *BigQueryFieldOptions) XXX_Size() int
- func (m *BigQueryFieldOptions) XXX_Unmarshal(b []byte) error
- type BigQueryMessageOptions
- func (*BigQueryMessageOptions) Descriptor() ([]byte, []int)
- func (m *BigQueryMessageOptions) GetTableName() string
- func (m *BigQueryMessageOptions) GetUseJsonNames() bool
- func (*BigQueryMessageOptions) ProtoMessage()
- func (m *BigQueryMessageOptions) Reset()
- func (m *BigQueryMessageOptions) String() string
- func (m *BigQueryMessageOptions) XXX_DiscardUnknown()
- func (m *BigQueryMessageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BigQueryMessageOptions) XXX_Merge(src proto.Message)
- func (m *BigQueryMessageOptions) XXX_Size() int
- func (m *BigQueryMessageOptions) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var E_Bigquery = &proto.ExtensionDesc{ ExtendedType: (*descriptor.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_BigqueryOpts = &proto.ExtensionDesc{ ExtendedType: (*descriptor.MessageOptions)(nil), ExtensionType: (*BigQueryMessageOptions)(nil), Field: 1021, Name: "gen_bq_schema.bigquery_opts", Tag: "bytes,1021,opt,name=bigquery_opts", 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,proto3" 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,proto3" json:"type_override,omitempty"` // Optionally omit a field from BigQuery schema. Ignore bool `protobuf:"varint,3,opt,name=ignore,proto3" json:"ignore,omitempty"` // Set the description for a field in BigQuery schema. Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Customize the name of the field in the BigQuery schema. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
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) GetName ¶
func (m *BigQueryFieldOptions) GetName() string
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
func (*BigQueryFieldOptions) XXX_DiscardUnknown ¶
func (m *BigQueryFieldOptions) XXX_DiscardUnknown()
func (*BigQueryFieldOptions) XXX_Marshal ¶
func (m *BigQueryFieldOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BigQueryFieldOptions) XXX_Merge ¶
func (m *BigQueryFieldOptions) XXX_Merge(src proto.Message)
func (*BigQueryFieldOptions) XXX_Size ¶
func (m *BigQueryFieldOptions) XXX_Size() int
func (*BigQueryFieldOptions) XXX_Unmarshal ¶
func (m *BigQueryFieldOptions) XXX_Unmarshal(b []byte) error
type BigQueryMessageOptions ¶
type BigQueryMessageOptions struct { // Specifies a name of table in BigQuery for the message. // // If not blank, indicates the message is a type of record to be stored into BigQuery. TableName string `protobuf:"bytes,1,opt,name=table_name,json=tableName,proto3" json:"table_name,omitempty"` // If true, BigQuery field names will default to a field's JSON name, // not its original/proto field name. UseJsonNames bool `protobuf:"varint,2,opt,name=use_json_names,json=useJsonNames,proto3" json:"use_json_names,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BigQueryMessageOptions) Descriptor ¶
func (*BigQueryMessageOptions) Descriptor() ([]byte, []int)
func (*BigQueryMessageOptions) GetTableName ¶
func (m *BigQueryMessageOptions) GetTableName() string
func (*BigQueryMessageOptions) GetUseJsonNames ¶
func (m *BigQueryMessageOptions) GetUseJsonNames() bool
func (*BigQueryMessageOptions) ProtoMessage ¶
func (*BigQueryMessageOptions) ProtoMessage()
func (*BigQueryMessageOptions) Reset ¶
func (m *BigQueryMessageOptions) Reset()
func (*BigQueryMessageOptions) String ¶
func (m *BigQueryMessageOptions) String() string
func (*BigQueryMessageOptions) XXX_DiscardUnknown ¶
func (m *BigQueryMessageOptions) XXX_DiscardUnknown()
func (*BigQueryMessageOptions) XXX_Marshal ¶
func (m *BigQueryMessageOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BigQueryMessageOptions) XXX_Merge ¶
func (m *BigQueryMessageOptions) XXX_Merge(src proto.Message)
func (*BigQueryMessageOptions) XXX_Size ¶
func (m *BigQueryMessageOptions) XXX_Size() int
func (*BigQueryMessageOptions) XXX_Unmarshal ¶
func (m *BigQueryMessageOptions) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.