Documentation
¶
Index ¶
- Variables
- type FieldOptions
- func (m *FieldOptions) CloneMessageVT() proto.Message
- func (m *FieldOptions) CloneVT() *FieldOptions
- func (*FieldOptions) Descriptor() ([]byte, []int)deprecated
- func (this *FieldOptions) EqualMessageVT(thatMsg proto.Message) bool
- func (this *FieldOptions) EqualVT(that *FieldOptions) bool
- func (x *FieldOptions) GetLoadFromFile() bool
- func (x *FieldOptions) GetZipFromFolder() bool
- func (m *FieldOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
- func (m *FieldOptions) MarshalToVT(dAtA []byte) (int, error)
- func (m *FieldOptions) MarshalVT() (dAtA []byte, err error)
- func (*FieldOptions) ProtoMessage()
- func (x *FieldOptions) ProtoReflect() protoreflect.Message
- func (x *FieldOptions) Reset()
- func (m *FieldOptions) SizeVT() (n int)
- func (x *FieldOptions) String() string
- func (m *FieldOptions) UnmarshalVT(dAtA []byte) error
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) CloneMessageVT ¶ added in v1.18.0
func (m *FieldOptions) CloneMessageVT() proto.Message
func (*FieldOptions) CloneVT ¶ added in v1.18.0
func (m *FieldOptions) CloneVT() *FieldOptions
func (*FieldOptions) Descriptor
deprecated
func (*FieldOptions) Descriptor() ([]byte, []int)
Deprecated: Use FieldOptions.ProtoReflect.Descriptor instead.
func (*FieldOptions) EqualMessageVT ¶ added in v1.18.0
func (this *FieldOptions) EqualMessageVT(thatMsg proto.Message) bool
func (*FieldOptions) EqualVT ¶ added in v1.18.0
func (this *FieldOptions) EqualVT(that *FieldOptions) bool
func (*FieldOptions) GetLoadFromFile ¶
func (x *FieldOptions) GetLoadFromFile() bool
func (*FieldOptions) GetZipFromFolder ¶
func (x *FieldOptions) GetZipFromFolder() bool
func (*FieldOptions) MarshalToSizedBufferVT ¶ added in v1.18.0
func (m *FieldOptions) MarshalToSizedBufferVT(dAtA []byte) (int, error)
func (*FieldOptions) MarshalToVT ¶ added in v1.18.0
func (m *FieldOptions) MarshalToVT(dAtA []byte) (int, error)
func (*FieldOptions) MarshalVT ¶ added in v1.18.0
func (m *FieldOptions) MarshalVT() (dAtA []byte, err error)
func (*FieldOptions) ProtoMessage ¶
func (*FieldOptions) ProtoMessage()
func (*FieldOptions) ProtoReflect ¶
func (x *FieldOptions) ProtoReflect() protoreflect.Message
func (*FieldOptions) Reset ¶
func (x *FieldOptions) Reset()
func (*FieldOptions) SizeVT ¶ added in v1.18.0
func (m *FieldOptions) SizeVT() (n int)
func (*FieldOptions) String ¶
func (x *FieldOptions) String() string
func (*FieldOptions) UnmarshalVT ¶ added in v1.18.0
func (m *FieldOptions) UnmarshalVT(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.