options

package
v0.0.0-...-9c7b1c4 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2019 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package options is a generated protocol buffer package.

It is generated from these files:

github.com/infobloxopen/protoc-gen-atlas-validate/options/atlas_validate.proto

It has these top-level messages:

AtlasValidateFileOption
AtlasValidateMethodOption
AtlasValidateServiceOption
AtlasValidateFieldOption

Index

Constants

This section is empty.

Variables

View Source
var AtlasValidateFieldOption_Operation_name = map[int32]string{
	0: "create",
	1: "update",
	2: "replace",
}
View Source
var AtlasValidateFieldOption_Operation_value = map[string]int32{
	"create":  0,
	"update":  1,
	"replace": 2,
}
View Source
var E_Field = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.FieldOptions)(nil),
	ExtensionType: (*AtlasValidateFieldOption)(nil),
	Field:         52219,
	Name:          "atlas_validate.field",
	Tag:           "bytes,52219,opt,name=field",
	Filename:      "github.com/infobloxopen/protoc-gen-atlas-validate/options/atlas_validate.proto",
}
View Source
var E_File = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.FileOptions)(nil),
	ExtensionType: (*AtlasValidateFileOption)(nil),
	Field:         52219,
	Name:          "atlas_validate.file",
	Tag:           "bytes,52219,opt,name=file",
	Filename:      "github.com/infobloxopen/protoc-gen-atlas-validate/options/atlas_validate.proto",
}
View Source
var E_Method = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.MethodOptions)(nil),
	ExtensionType: (*AtlasValidateMethodOption)(nil),
	Field:         52219,
	Name:          "atlas_validate.method",
	Tag:           "bytes,52219,opt,name=method",
	Filename:      "github.com/infobloxopen/protoc-gen-atlas-validate/options/atlas_validate.proto",
}
View Source
var E_Service = &proto.ExtensionDesc{
	ExtendedType:  (*google_protobuf.ServiceOptions)(nil),
	ExtensionType: (*AtlasValidateServiceOption)(nil),
	Field:         52219,
	Name:          "atlas_validate.service",
	Tag:           "bytes,52219,opt,name=service",
	Filename:      "github.com/infobloxopen/protoc-gen-atlas-validate/options/atlas_validate.proto",
}

Functions

This section is empty.

Types

type AtlasValidateFieldOption

type AtlasValidateFieldOption struct {
	Deny     []AtlasValidateFieldOption_Operation `protobuf:"varint,1,rep,packed,name=deny,enum=atlas_validate.AtlasValidateFieldOption_Operation" json:"deny,omitempty"`
	Required []AtlasValidateFieldOption_Operation `protobuf:"varint,2,rep,packed,name=required,enum=atlas_validate.AtlasValidateFieldOption_Operation" json:"required,omitempty"`
}

func (*AtlasValidateFieldOption) Descriptor

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

func (*AtlasValidateFieldOption) GetDeny

func (*AtlasValidateFieldOption) GetRequired

func (*AtlasValidateFieldOption) ProtoMessage

func (*AtlasValidateFieldOption) ProtoMessage()

func (*AtlasValidateFieldOption) Reset

func (m *AtlasValidateFieldOption) Reset()

func (*AtlasValidateFieldOption) String

func (m *AtlasValidateFieldOption) String() string

type AtlasValidateFieldOption_Operation

type AtlasValidateFieldOption_Operation int32
const (
	// Field allow only on create operation
	AtlasValidateFieldOption_create AtlasValidateFieldOption_Operation = 0
	// Field allow only on update operation
	AtlasValidateFieldOption_update AtlasValidateFieldOption_Operation = 1
	// Field allow only on replace operation
	AtlasValidateFieldOption_replace AtlasValidateFieldOption_Operation = 2
)

func (AtlasValidateFieldOption_Operation) EnumDescriptor

func (AtlasValidateFieldOption_Operation) EnumDescriptor() ([]byte, []int)

func (AtlasValidateFieldOption_Operation) String

type AtlasValidateFileOption

type AtlasValidateFileOption struct {
	AllowUnknownFields bool `protobuf:"varint,1,opt,name=allow_unknown_fields,json=allowUnknownFields,proto3" json:"allow_unknown_fields,omitempty"`
}

func (*AtlasValidateFileOption) Descriptor

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

func (*AtlasValidateFileOption) GetAllowUnknownFields

func (m *AtlasValidateFileOption) GetAllowUnknownFields() bool

func (*AtlasValidateFileOption) ProtoMessage

func (*AtlasValidateFileOption) ProtoMessage()

func (*AtlasValidateFileOption) Reset

func (m *AtlasValidateFileOption) Reset()

func (*AtlasValidateFileOption) String

func (m *AtlasValidateFileOption) String() string

type AtlasValidateMethodOption

type AtlasValidateMethodOption struct {
	AllowUnknownFields bool `protobuf:"varint,1,opt,name=allow_unknown_fields,json=allowUnknownFields,proto3" json:"allow_unknown_fields,omitempty"`
}

func (*AtlasValidateMethodOption) Descriptor

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

func (*AtlasValidateMethodOption) GetAllowUnknownFields

func (m *AtlasValidateMethodOption) GetAllowUnknownFields() bool

func (*AtlasValidateMethodOption) ProtoMessage

func (*AtlasValidateMethodOption) ProtoMessage()

func (*AtlasValidateMethodOption) Reset

func (m *AtlasValidateMethodOption) Reset()

func (*AtlasValidateMethodOption) String

func (m *AtlasValidateMethodOption) String() string

type AtlasValidateServiceOption

type AtlasValidateServiceOption struct {
	AllowUnknownFields bool `protobuf:"varint,1,opt,name=allow_unknown_fields,json=allowUnknownFields,proto3" json:"allow_unknown_fields,omitempty"`
}

func (*AtlasValidateServiceOption) Descriptor

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

func (*AtlasValidateServiceOption) GetAllowUnknownFields

func (m *AtlasValidateServiceOption) GetAllowUnknownFields() bool

func (*AtlasValidateServiceOption) ProtoMessage

func (*AtlasValidateServiceOption) ProtoMessage()

func (*AtlasValidateServiceOption) Reset

func (m *AtlasValidateServiceOption) Reset()

func (*AtlasValidateServiceOption) String

func (m *AtlasValidateServiceOption) String() string

Jump to

Keyboard shortcuts

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