Documentation ¶
Index ¶
- Variables
- type Avro
- func (*Avro) Descriptor() ([]byte, []int)
- func (m *Avro) GetSchema() []byte
- func (*Avro) ProtoMessage()
- func (m *Avro) Reset()
- func (m *Avro) String() string
- func (m *Avro) XXX_DiscardUnknown()
- func (m *Avro) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Avro) XXX_Merge(src proto.Message)
- func (m *Avro) XXX_Size() int
- func (m *Avro) XXX_Unmarshal(b []byte) error
- type JSONSchema
- func (*JSONSchema) Descriptor() ([]byte, []int)
- func (*JSONSchema) ProtoMessage()
- func (m *JSONSchema) Reset()
- func (m *JSONSchema) String() string
- func (m *JSONSchema) XXX_DiscardUnknown()
- func (m *JSONSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *JSONSchema) XXX_Merge(src proto.Message)
- func (m *JSONSchema) XXX_Size() int
- func (m *JSONSchema) XXX_Unmarshal(b []byte) error
- type Options
- func (*Options) Descriptor() ([]byte, []int)
- func (m *Options) GetAvro() *Avro
- func (m *Options) GetEncoding() isOptions_Encoding
- func (m *Options) GetJsonSchema() *JSONSchema
- func (m *Options) GetProtobuf() *Protobuf
- func (m *Options) GetType() Type
- func (*Options) ProtoMessage()
- func (m *Options) Reset()
- func (m *Options) String() string
- func (m *Options) XXX_DiscardUnknown()
- func (m *Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Options) XXX_Merge(src proto.Message)
- func (*Options) XXX_OneofWrappers() []interface{}
- func (m *Options) XXX_Size() int
- func (m *Options) XXX_Unmarshal(b []byte) error
- type Options_Avro
- type Options_JsonSchema
- type Options_Protobuf
- type Protobuf
- func (*Protobuf) Descriptor() ([]byte, []int)
- func (m *Protobuf) GetRootType() string
- func (m *Protobuf) GetZipArchive() []byte
- func (*Protobuf) ProtoMessage()
- func (m *Protobuf) Reset()
- func (m *Protobuf) String() string
- func (m *Protobuf) XXX_DiscardUnknown()
- func (m *Protobuf) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Protobuf) XXX_Merge(src proto.Message)
- func (m *Protobuf) XXX_Size() int
- func (m *Protobuf) XXX_Unmarshal(b []byte) error
- type Type
Constants ¶
This section is empty.
Variables ¶
View Source
var Type_name = map[int32]string{
0: "NONE",
1: "JSON",
2: "JSON_SCHEMA",
3: "PROTOBUF",
4: "AVRO",
}
View Source
var Type_value = map[string]int32{
"NONE": 0,
"JSON": 1,
"JSON_SCHEMA": 2,
"PROTOBUF": 3,
"AVRO": 4,
}
Functions ¶
This section is empty.
Types ¶
type Avro ¶
type Avro struct { Schema []byte `protobuf:"bytes,1,opt,name=Schema,proto3" json:"Schema,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Avro) Descriptor ¶
func (*Avro) ProtoMessage ¶
func (*Avro) ProtoMessage()
func (*Avro) XXX_DiscardUnknown ¶
func (m *Avro) XXX_DiscardUnknown()
func (*Avro) XXX_Unmarshal ¶
type JSONSchema ¶
type JSONSchema struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*JSONSchema) Descriptor ¶
func (*JSONSchema) Descriptor() ([]byte, []int)
func (*JSONSchema) ProtoMessage ¶
func (*JSONSchema) ProtoMessage()
func (*JSONSchema) Reset ¶
func (m *JSONSchema) Reset()
func (*JSONSchema) String ¶
func (m *JSONSchema) String() string
func (*JSONSchema) XXX_DiscardUnknown ¶
func (m *JSONSchema) XXX_DiscardUnknown()
func (*JSONSchema) XXX_Marshal ¶
func (m *JSONSchema) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*JSONSchema) XXX_Merge ¶
func (m *JSONSchema) XXX_Merge(src proto.Message)
func (*JSONSchema) XXX_Size ¶
func (m *JSONSchema) XXX_Size() int
func (*JSONSchema) XXX_Unmarshal ¶
func (m *JSONSchema) XXX_Unmarshal(b []byte) error
type Options ¶
type Options struct { Type Type `protobuf:"varint,1,opt,name=type,proto3,enum=protos.encoding.Type" json:"type,omitempty"` // Only filled out if "type" is not NONE or JSON // // Types that are valid to be assigned to Encoding: // *Options_Protobuf // *Options_Avro // *Options_JsonSchema Encoding isOptions_Encoding `protobuf_oneof:"Encoding"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Options) Descriptor ¶
func (*Options) GetEncoding ¶
func (m *Options) GetEncoding() isOptions_Encoding
func (*Options) GetJsonSchema ¶
func (m *Options) GetJsonSchema() *JSONSchema
func (*Options) GetProtobuf ¶
func (*Options) ProtoMessage ¶
func (*Options) ProtoMessage()
func (*Options) XXX_DiscardUnknown ¶
func (m *Options) XXX_DiscardUnknown()
func (*Options) XXX_Marshal ¶
func (*Options) XXX_OneofWrappers ¶
func (*Options) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Options) XXX_Unmarshal ¶
type Options_Avro ¶
type Options_Avro struct {
Avro *Avro `protobuf:"bytes,102,opt,name=avro,proto3,oneof"`
}
type Options_JsonSchema ¶
type Options_JsonSchema struct {
JsonSchema *JSONSchema `protobuf:"bytes,101,opt,name=json_schema,json=jsonSchema,proto3,oneof"`
}
type Options_Protobuf ¶
type Options_Protobuf struct {
Protobuf *Protobuf `protobuf:"bytes,100,opt,name=protobuf,proto3,oneof"`
}
type Protobuf ¶
type Protobuf struct { RootType string `protobuf:"bytes,1,opt,name=root_type,json=rootType,proto3" json:"root_type,omitempty"` ZipArchive []byte `protobuf:"bytes,2,opt,name=zip_archive,json=zipArchive,proto3" json:"zip_archive,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Protobuf) Descriptor ¶
func (*Protobuf) GetRootType ¶
func (*Protobuf) GetZipArchive ¶
func (*Protobuf) ProtoMessage ¶
func (*Protobuf) ProtoMessage()
func (*Protobuf) XXX_DiscardUnknown ¶
func (m *Protobuf) XXX_DiscardUnknown()
func (*Protobuf) XXX_Marshal ¶
func (*Protobuf) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.