Documentation ¶
Index ¶
- Variables
- type FieldOptions
- func (*FieldOptions) Descriptor() ([]byte, []int)deprecated
- func (x *FieldOptions) GetLoadFromFile() bool
- func (x *FieldOptions) GetZipFromFolder() bool
- func (*FieldOptions) ProtoMessage()
- func (x *FieldOptions) ProtoReflect() protoreflect.Message
- func (x *FieldOptions) Reset()
- func (x *FieldOptions) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// optional sf.substreams.FieldOptions options = 2200;
E_Options = &file_sf_substreams_options_proto_extTypes[0]
)
Extension fields to descriptorpb.FieldOptions.
View Source
var File_sf_substreams_options_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type FieldOptions ¶
type FieldOptions struct { // this option informs the `substreams pack` command that it should treat the corresponding manifest value as a path to a file, putting its content as bytes in this field. // must be applied to a `bytes` or `string` field LoadFromFile bool `protobuf:"varint,1,opt,name=load_from_file,json=loadFromFile,proto3" json:"load_from_file,omitempty"` // this option informs the `substreams pack` command that it should treat the corresponding manifest value as a path to a folder, zipping its content and putting the zip content as bytes in this field. // must be applied to a `bytes` field ZipFromFolder bool `protobuf:"varint,2,opt,name=zip_from_folder,json=zipFromFolder,proto3" json:"zip_from_folder,omitempty"` // contains filtered or unexported fields }
func (*FieldOptions) Descriptor
deprecated
func (*FieldOptions) Descriptor() ([]byte, []int)
Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead.
func (*FieldOptions) GetLoadFromFile ¶
func (x *FieldOptions) GetLoadFromFile() bool
func (*FieldOptions) GetZipFromFolder ¶
func (x *FieldOptions) GetZipFromFolder() bool
func (*FieldOptions) ProtoMessage ¶
func (*FieldOptions) ProtoMessage()
func (*FieldOptions) ProtoReflect ¶
func (x *FieldOptions) ProtoReflect() protoreflect.Message
func (*FieldOptions) Reset ¶
func (x *FieldOptions) Reset()
func (*FieldOptions) String ¶
func (x *FieldOptions) String() string
Click to show internal directories.
Click to hide internal directories.