pbsubstreams

package
v1.5.6 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

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

Directories

Path Synopsis
index
v1
intern
v2
rpc
v2
sink
v1

Jump to

Keyboard shortcuts

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