Documentation ¶
Index ¶
- Variables
- type CSVFieldOptions
- func (*CSVFieldOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CSVFieldOptions) GetBase() int32
- func (x *CSVFieldOptions) GetBitSize() int32
- func (x *CSVFieldOptions) GetFormat() string
- func (x *CSVFieldOptions) GetIgnore() bool
- func (x *CSVFieldOptions) GetName() string
- func (x *CSVFieldOptions) GetRequire() bool
- func (x *CSVFieldOptions) GetTypeOverride() string
- func (*CSVFieldOptions) ProtoMessage()
- func (x *CSVFieldOptions) ProtoReflect() protoreflect.Message
- func (x *CSVFieldOptions) Reset()
- func (x *CSVFieldOptions) String() string
- type CSVFileOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CSV field schema generation options. // // optional gen_bq_schema.CSVFieldOptions csv = 7777; E_Csv = &file_csv_field_proto_extTypes[0] )
Extension fields to descriptorpb.FieldOptions.
View Source
var ( // CSV file generation options. // // optional gen_bq_schema.CSVFileOptions csv_opts = 7776; E_CsvOpts = &file_csv_file_proto_extTypes[0] )
Extension fields to descriptorpb.FieldOptions.
View Source
var File_csv_field_proto protoreflect.FileDescriptor
View Source
var File_csv_file_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CSVFieldOptions ¶
type CSVFieldOptions struct { // Flag to specify that a field should be marked as 'REQUIRED' when used to generate schema for CSV. Require bool `protobuf:"varint,1,opt,name=require,proto3" json:"require,omitempty"` // Optionally omit a field from CSV schema. Ignore bool `protobuf:"varint,2,opt,name=ignore,proto3" json:"ignore,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,3,opt,name=type_override,json=typeOverride,proto3" json:"type_override,omitempty"` // Optionally set a format string for parsing the value, eg timestamp format Format string `protobuf:"bytes,4,opt,name=format,proto3" json:"format,omitempty"` // Optional setting for parsing int, float, and complex numbers BitSize int32 `protobuf:"varint,5,opt,name=bit_size,json=bitSize,proto3" json:"bit_size,omitempty"` // Optional setting for parsing int, float, and complex numbers Base int32 `protobuf:"varint,6,opt,name=base,proto3" json:"base,omitempty"` // Customize the name of the field in the CSV schema. // If this is not set we use the name of the field in the proto instead. Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
Message containing options related to CSV schema generation and management via Protobuf.
func (*CSVFieldOptions) Descriptor
deprecated
func (*CSVFieldOptions) Descriptor() ([]byte, []int)
Deprecated: Use CSVFieldOptions.ProtoReflect.Descriptor instead.
func (*CSVFieldOptions) GetBase ¶
func (x *CSVFieldOptions) GetBase() int32
func (*CSVFieldOptions) GetBitSize ¶
func (x *CSVFieldOptions) GetBitSize() int32
func (*CSVFieldOptions) GetFormat ¶
func (x *CSVFieldOptions) GetFormat() string
func (*CSVFieldOptions) GetIgnore ¶
func (x *CSVFieldOptions) GetIgnore() bool
func (*CSVFieldOptions) GetName ¶
func (x *CSVFieldOptions) GetName() string
func (*CSVFieldOptions) GetRequire ¶
func (x *CSVFieldOptions) GetRequire() bool
func (*CSVFieldOptions) GetTypeOverride ¶
func (x *CSVFieldOptions) GetTypeOverride() string
func (*CSVFieldOptions) ProtoMessage ¶
func (*CSVFieldOptions) ProtoMessage()
func (*CSVFieldOptions) ProtoReflect ¶
func (x *CSVFieldOptions) ProtoReflect() protoreflect.Message
func (*CSVFieldOptions) Reset ¶
func (x *CSVFieldOptions) Reset()
func (*CSVFieldOptions) String ¶
func (x *CSVFieldOptions) String() string
type CSVFileOptions ¶
type CSVFileOptions struct {
// contains filtered or unexported fields
}
Message containing options related to CSV schema generation and management via Protobuf.
func (*CSVFileOptions) Descriptor
deprecated
func (*CSVFileOptions) Descriptor() ([]byte, []int)
Deprecated: Use CSVFileOptions.ProtoReflect.Descriptor instead.
func (*CSVFileOptions) ProtoMessage ¶
func (*CSVFileOptions) ProtoMessage()
func (*CSVFileOptions) ProtoReflect ¶
func (x *CSVFileOptions) ProtoReflect() protoreflect.Message
func (*CSVFileOptions) Reset ¶
func (x *CSVFileOptions) Reset()
func (*CSVFileOptions) String ¶
func (x *CSVFileOptions) String() string
Click to show internal directories.
Click to hide internal directories.