protooptions

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: May 21, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// mask_mapping is an option which tags a field with the expected field mask
	// used by a companion proto if applied on the field this option is for.
	// The value of this option should be for the field name itself and not for
	// the json name.
	//
	// optional controller.custom_options.v1.MaskMapping mask_mapping = 85464;
	E_MaskMapping = &file_controller_custom_options_v1_options_proto_extTypes[0]
	// generate_sdk_option is a directive used when generating the SDK to
	// indicate that an option should be created for the field
	//
	// optional bool generate_sdk_option = 85412;
	E_GenerateSdkOption = &file_controller_custom_options_v1_options_proto_extTypes[1]
)

Extension fields to descriptorpb.FieldOptions.

View Source
var File_controller_custom_options_v1_options_proto protoreflect.FileDescriptor
View Source
var File_controller_custom_options_v1_testing_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type MaskMapping

type MaskMapping struct {
	This string `protobuf:"bytes,1,opt,name=this,proto3" json:"this,omitempty"`
	That string `protobuf:"bytes,2,opt,name=that,proto3" json:"that,omitempty"`
	// contains filtered or unexported fields
}

func (*MaskMapping) Descriptor deprecated

func (*MaskMapping) Descriptor() ([]byte, []int)

Deprecated: Use MaskMapping.ProtoReflect.Descriptor instead.

func (*MaskMapping) GetThat

func (x *MaskMapping) GetThat() string

func (*MaskMapping) GetThis

func (x *MaskMapping) GetThis() string

func (*MaskMapping) ProtoMessage

func (*MaskMapping) ProtoMessage()

func (*MaskMapping) ProtoReflect

func (x *MaskMapping) ProtoReflect() protoreflect.Message

func (*MaskMapping) Reset

func (x *MaskMapping) Reset()

func (*MaskMapping) String

func (x *MaskMapping) String() string

type TestBase

type TestBase struct {
	FirstField                 string `protobuf:"bytes,1,opt,name=first_field,json=firstField,proto3" json:"first_field,omitempty"`
	StrangeFormatField         string `protobuf:"bytes,2,opt,name=StrangeFormatField,proto3" json:"StrangeFormatField,omitempty"`
	FieldWithDifferentJsonName string `` /* 128-byte string literal not displayed */
	ExtraField                 string `protobuf:"bytes,4,opt,name=extra_field,json=extraField,proto3" json:"extra_field,omitempty"`
	// contains filtered or unexported fields
}

func (*TestBase) Descriptor deprecated

func (*TestBase) Descriptor() ([]byte, []int)

Deprecated: Use TestBase.ProtoReflect.Descriptor instead.

func (*TestBase) GetExtraField

func (x *TestBase) GetExtraField() string

func (*TestBase) GetFieldWithDifferentJsonName

func (x *TestBase) GetFieldWithDifferentJsonName() string

func (*TestBase) GetFirstField

func (x *TestBase) GetFirstField() string

func (*TestBase) GetStrangeFormatField

func (x *TestBase) GetStrangeFormatField() string

func (*TestBase) ProtoMessage

func (*TestBase) ProtoMessage()

func (*TestBase) ProtoReflect

func (x *TestBase) ProtoReflect() protoreflect.Message

func (*TestBase) Reset

func (x *TestBase) Reset()

func (*TestBase) String

func (x *TestBase) String() string

type TestBaseSplit1

type TestBaseSplit1 struct {
	FirstField                 string `protobuf:"bytes,1,opt,name=first_field,json=firstField,proto3" json:"first_field,omitempty"`
	FieldWithDifferentJsonName string `` /* 128-byte string literal not displayed */
	ExtraField                 string `protobuf:"bytes,3,opt,name=extra_field,json=extraField,proto3" json:"extra_field,omitempty"`
	// contains filtered or unexported fields
}

func (*TestBaseSplit1) Descriptor deprecated

func (*TestBaseSplit1) Descriptor() ([]byte, []int)

Deprecated: Use TestBaseSplit1.ProtoReflect.Descriptor instead.

func (*TestBaseSplit1) GetExtraField

func (x *TestBaseSplit1) GetExtraField() string

func (*TestBaseSplit1) GetFieldWithDifferentJsonName

func (x *TestBaseSplit1) GetFieldWithDifferentJsonName() string

func (*TestBaseSplit1) GetFirstField

func (x *TestBaseSplit1) GetFirstField() string

func (*TestBaseSplit1) ProtoMessage

func (*TestBaseSplit1) ProtoMessage()

func (*TestBaseSplit1) ProtoReflect

func (x *TestBaseSplit1) ProtoReflect() protoreflect.Message

func (*TestBaseSplit1) Reset

func (x *TestBaseSplit1) Reset()

func (*TestBaseSplit1) String

func (x *TestBaseSplit1) String() string

type TestBaseSplit2

type TestBaseSplit2 struct {
	SplitField1 string `protobuf:"bytes,1,opt,name=split_field1,json=splitField1,proto3" json:"split_field1,omitempty"`
	// contains filtered or unexported fields
}

func (*TestBaseSplit2) Descriptor deprecated

func (*TestBaseSplit2) Descriptor() ([]byte, []int)

Deprecated: Use TestBaseSplit2.ProtoReflect.Descriptor instead.

func (*TestBaseSplit2) GetSplitField1

func (x *TestBaseSplit2) GetSplitField1() string

func (*TestBaseSplit2) ProtoMessage

func (*TestBaseSplit2) ProtoMessage()

func (*TestBaseSplit2) ProtoReflect

func (x *TestBaseSplit2) ProtoReflect() protoreflect.Message

func (*TestBaseSplit2) Reset

func (x *TestBaseSplit2) Reset()

func (*TestBaseSplit2) String

func (x *TestBaseSplit2) String() string

type TestManyToOneMappings

type TestManyToOneMappings struct {
	OtherFirstField  string `protobuf:"bytes,1,opt,name=other_first_field,json=otherFirstField,proto3" json:"other_first_field,omitempty"`
	OtherSecondField string `protobuf:"bytes,2,opt,name=other_second_field,json=otherSecondField,proto3" json:"other_second_field,omitempty"`
	OtherThirdField  string `protobuf:"bytes,3,opt,name=other_third_field,json=otherThirdField,proto3" json:"other_third_field,omitempty"`
	// this field maps to the first_field like 'other_first_field'
	ExtraField string `protobuf:"bytes,4,opt,name=extra_field,json=extraField,proto3" json:"extra_field,omitempty"`
	// contains filtered or unexported fields
}

func (*TestManyToOneMappings) Descriptor deprecated

func (*TestManyToOneMappings) Descriptor() ([]byte, []int)

Deprecated: Use TestManyToOneMappings.ProtoReflect.Descriptor instead.

func (*TestManyToOneMappings) GetExtraField

func (x *TestManyToOneMappings) GetExtraField() string

func (*TestManyToOneMappings) GetOtherFirstField

func (x *TestManyToOneMappings) GetOtherFirstField() string

func (*TestManyToOneMappings) GetOtherSecondField

func (x *TestManyToOneMappings) GetOtherSecondField() string

func (*TestManyToOneMappings) GetOtherThirdField

func (x *TestManyToOneMappings) GetOtherThirdField() string

func (*TestManyToOneMappings) ProtoMessage

func (*TestManyToOneMappings) ProtoMessage()

func (*TestManyToOneMappings) ProtoReflect

func (x *TestManyToOneMappings) ProtoReflect() protoreflect.Message

func (*TestManyToOneMappings) Reset

func (x *TestManyToOneMappings) Reset()

func (*TestManyToOneMappings) String

func (x *TestManyToOneMappings) String() string

type TestNameDoesntMap

type TestNameDoesntMap struct {
	FirstDoesntMap    string `protobuf:"bytes,1,opt,name=first_doesnt_map,json=firstDoesntMap,proto3" json:"first_doesnt_map,omitempty"`
	SecondDoesntMap   string `protobuf:"bytes,2,opt,name=second_doesnt_map,json=secondDoesntMap,proto3" json:"second_doesnt_map,omitempty"`
	ThirdDoesntMap    string `protobuf:"bytes,3,opt,name=third_doesnt_map,json=thirdDoesntMap,proto3" json:"third_doesnt_map,omitempty"`
	AnotherExtraField string `protobuf:"bytes,4,opt,name=another_extra_field,json=anotherExtraField,proto3" json:"another_extra_field,omitempty"`
	// contains filtered or unexported fields
}

func (*TestNameDoesntMap) Descriptor deprecated

func (*TestNameDoesntMap) Descriptor() ([]byte, []int)

Deprecated: Use TestNameDoesntMap.ProtoReflect.Descriptor instead.

func (*TestNameDoesntMap) GetAnotherExtraField

func (x *TestNameDoesntMap) GetAnotherExtraField() string

func (*TestNameDoesntMap) GetFirstDoesntMap

func (x *TestNameDoesntMap) GetFirstDoesntMap() string

func (*TestNameDoesntMap) GetSecondDoesntMap

func (x *TestNameDoesntMap) GetSecondDoesntMap() string

func (*TestNameDoesntMap) GetThirdDoesntMap

func (x *TestNameDoesntMap) GetThirdDoesntMap() string

func (*TestNameDoesntMap) ProtoMessage

func (*TestNameDoesntMap) ProtoMessage()

func (*TestNameDoesntMap) ProtoReflect

func (x *TestNameDoesntMap) ProtoReflect() protoreflect.Message

func (*TestNameDoesntMap) Reset

func (x *TestNameDoesntMap) Reset()

func (*TestNameDoesntMap) String

func (x *TestNameDoesntMap) String() string

type TestNotEnoughFields

type TestNotEnoughFields struct {
	OtherFirstField  string `protobuf:"bytes,1,opt,name=other_first_field,json=otherFirstField,proto3" json:"other_first_field,omitempty"`
	OtherSecondField string `protobuf:"bytes,2,opt,name=other_second_field,json=otherSecondField,proto3" json:"other_second_field,omitempty"`
	// contains filtered or unexported fields
}

func (*TestNotEnoughFields) Descriptor deprecated

func (*TestNotEnoughFields) Descriptor() ([]byte, []int)

Deprecated: Use TestNotEnoughFields.ProtoReflect.Descriptor instead.

func (*TestNotEnoughFields) GetOtherFirstField

func (x *TestNotEnoughFields) GetOtherFirstField() string

func (*TestNotEnoughFields) GetOtherSecondField

func (x *TestNotEnoughFields) GetOtherSecondField() string

func (*TestNotEnoughFields) ProtoMessage

func (*TestNotEnoughFields) ProtoMessage()

func (*TestNotEnoughFields) ProtoReflect

func (x *TestNotEnoughFields) ProtoReflect() protoreflect.Message

func (*TestNotEnoughFields) Reset

func (x *TestNotEnoughFields) Reset()

func (*TestNotEnoughFields) String

func (x *TestNotEnoughFields) String() string

type TestProperlyNamedFields

type TestProperlyNamedFields struct {
	OtherFirstField   string `protobuf:"bytes,1,opt,name=other_first_field,json=otherFirstField,proto3" json:"other_first_field,omitempty"`
	OtherSecondField  string `protobuf:"bytes,2,opt,name=other_second_field,json=otherSecondField,proto3" json:"other_second_field,omitempty"`
	OtherThirdField   string `protobuf:"bytes,3,opt,name=other_third_field,proto3" json:"other_third_field,omitempty"`
	AnotherExtraField string `protobuf:"bytes,4,opt,name=another_extra_field,json=anotherExtraField,proto3" json:"another_extra_field,omitempty"`
	// contains filtered or unexported fields
}

func (*TestProperlyNamedFields) Descriptor deprecated

func (*TestProperlyNamedFields) Descriptor() ([]byte, []int)

Deprecated: Use TestProperlyNamedFields.ProtoReflect.Descriptor instead.

func (*TestProperlyNamedFields) GetAnotherExtraField

func (x *TestProperlyNamedFields) GetAnotherExtraField() string

func (*TestProperlyNamedFields) GetOtherFirstField

func (x *TestProperlyNamedFields) GetOtherFirstField() string

func (*TestProperlyNamedFields) GetOtherSecondField

func (x *TestProperlyNamedFields) GetOtherSecondField() string

func (*TestProperlyNamedFields) GetOtherThirdField

func (x *TestProperlyNamedFields) GetOtherThirdField() string

func (*TestProperlyNamedFields) ProtoMessage

func (*TestProperlyNamedFields) ProtoMessage()

func (*TestProperlyNamedFields) ProtoReflect

func (x *TestProperlyNamedFields) ProtoReflect() protoreflect.Message

func (*TestProperlyNamedFields) Reset

func (x *TestProperlyNamedFields) Reset()

func (*TestProperlyNamedFields) String

func (x *TestProperlyNamedFields) String() string

Jump to

Keyboard shortcuts

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