193 lines
7.1 KiB
Go
193 lines
7.1 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// source: yandex/cloud/validation.proto
|
|
|
|
package cloud
|
|
|
|
import (
|
|
fmt "fmt"
|
|
proto "github.com/golang/protobuf/proto"
|
|
descriptor "github.com/golang/protobuf/protoc-gen-go/descriptor"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
type MapKeySpec struct {
|
|
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
|
|
Pattern string `protobuf:"bytes,2,opt,name=pattern,proto3" json:"pattern,omitempty"`
|
|
Length string `protobuf:"bytes,3,opt,name=length,proto3" json:"length,omitempty"`
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
XXX_unrecognized []byte `json:"-"`
|
|
XXX_sizecache int32 `json:"-"`
|
|
}
|
|
|
|
func (m *MapKeySpec) Reset() { *m = MapKeySpec{} }
|
|
func (m *MapKeySpec) String() string { return proto.CompactTextString(m) }
|
|
func (*MapKeySpec) ProtoMessage() {}
|
|
func (*MapKeySpec) Descriptor() ([]byte, []int) {
|
|
return fileDescriptor_3c1b148dbcaf4bce, []int{0}
|
|
}
|
|
|
|
func (m *MapKeySpec) XXX_Unmarshal(b []byte) error {
|
|
return xxx_messageInfo_MapKeySpec.Unmarshal(m, b)
|
|
}
|
|
func (m *MapKeySpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
return xxx_messageInfo_MapKeySpec.Marshal(b, m, deterministic)
|
|
}
|
|
func (m *MapKeySpec) XXX_Merge(src proto.Message) {
|
|
xxx_messageInfo_MapKeySpec.Merge(m, src)
|
|
}
|
|
func (m *MapKeySpec) XXX_Size() int {
|
|
return xxx_messageInfo_MapKeySpec.Size(m)
|
|
}
|
|
func (m *MapKeySpec) XXX_DiscardUnknown() {
|
|
xxx_messageInfo_MapKeySpec.DiscardUnknown(m)
|
|
}
|
|
|
|
var xxx_messageInfo_MapKeySpec proto.InternalMessageInfo
|
|
|
|
func (m *MapKeySpec) GetValue() string {
|
|
if m != nil {
|
|
return m.Value
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MapKeySpec) GetPattern() string {
|
|
if m != nil {
|
|
return m.Pattern
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (m *MapKeySpec) GetLength() string {
|
|
if m != nil {
|
|
return m.Length
|
|
}
|
|
return ""
|
|
}
|
|
|
|
var E_ExactlyOne = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.OneofOptions)(nil),
|
|
ExtensionType: (*bool)(nil),
|
|
Field: 101400,
|
|
Name: "yandex.cloud.exactly_one",
|
|
Tag: "varint,101400,opt,name=exactly_one",
|
|
Filename: "yandex/cloud/validation.proto",
|
|
}
|
|
|
|
var E_Required = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.FieldOptions)(nil),
|
|
ExtensionType: (*bool)(nil),
|
|
Field: 101501,
|
|
Name: "yandex.cloud.required",
|
|
Tag: "varint,101501,opt,name=required",
|
|
Filename: "yandex/cloud/validation.proto",
|
|
}
|
|
|
|
var E_Pattern = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.FieldOptions)(nil),
|
|
ExtensionType: (*string)(nil),
|
|
Field: 101502,
|
|
Name: "yandex.cloud.pattern",
|
|
Tag: "bytes,101502,opt,name=pattern",
|
|
Filename: "yandex/cloud/validation.proto",
|
|
}
|
|
|
|
var E_Value = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.FieldOptions)(nil),
|
|
ExtensionType: (*string)(nil),
|
|
Field: 101503,
|
|
Name: "yandex.cloud.value",
|
|
Tag: "bytes,101503,opt,name=value",
|
|
Filename: "yandex/cloud/validation.proto",
|
|
}
|
|
|
|
var E_Size = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.FieldOptions)(nil),
|
|
ExtensionType: (*string)(nil),
|
|
Field: 101504,
|
|
Name: "yandex.cloud.size",
|
|
Tag: "bytes,101504,opt,name=size",
|
|
Filename: "yandex/cloud/validation.proto",
|
|
}
|
|
|
|
var E_Length = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.FieldOptions)(nil),
|
|
ExtensionType: (*string)(nil),
|
|
Field: 101505,
|
|
Name: "yandex.cloud.length",
|
|
Tag: "bytes,101505,opt,name=length",
|
|
Filename: "yandex/cloud/validation.proto",
|
|
}
|
|
|
|
var E_Unique = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.FieldOptions)(nil),
|
|
ExtensionType: (*bool)(nil),
|
|
Field: 101506,
|
|
Name: "yandex.cloud.unique",
|
|
Tag: "varint,101506,opt,name=unique",
|
|
Filename: "yandex/cloud/validation.proto",
|
|
}
|
|
|
|
var E_MapKey = &proto.ExtensionDesc{
|
|
ExtendedType: (*descriptor.FieldOptions)(nil),
|
|
ExtensionType: (*MapKeySpec)(nil),
|
|
Field: 101510,
|
|
Name: "yandex.cloud.map_key",
|
|
Tag: "bytes,101510,opt,name=map_key",
|
|
Filename: "yandex/cloud/validation.proto",
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterType((*MapKeySpec)(nil), "yandex.cloud.MapKeySpec")
|
|
proto.RegisterExtension(E_ExactlyOne)
|
|
proto.RegisterExtension(E_Required)
|
|
proto.RegisterExtension(E_Pattern)
|
|
proto.RegisterExtension(E_Value)
|
|
proto.RegisterExtension(E_Size)
|
|
proto.RegisterExtension(E_Length)
|
|
proto.RegisterExtension(E_Unique)
|
|
proto.RegisterExtension(E_MapKey)
|
|
}
|
|
|
|
func init() {
|
|
proto.RegisterFile("yandex/cloud/validation.proto", fileDescriptor_3c1b148dbcaf4bce)
|
|
}
|
|
|
|
var fileDescriptor_3c1b148dbcaf4bce = []byte{
|
|
// 359 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x92, 0xcf, 0x4b, 0xfb, 0x30,
|
|
0x18, 0xc6, 0xd9, 0xf7, 0xab, 0xdd, 0xcc, 0x3c, 0x48, 0x11, 0x29, 0xc2, 0x60, 0x78, 0xda, 0x65,
|
|
0x29, 0x38, 0x74, 0xd8, 0x5d, 0xc4, 0x83, 0x07, 0x45, 0x06, 0xd5, 0x93, 0x97, 0x91, 0xb5, 0xef,
|
|
0xba, 0x60, 0x96, 0x64, 0x5d, 0x3a, 0x56, 0x4f, 0xea, 0xc1, 0xbf, 0x61, 0xfb, 0x63, 0xfd, 0x81,
|
|
0x49, 0xba, 0x4d, 0x10, 0x7a, 0x29, 0x7d, 0xf3, 0x3c, 0x1f, 0xf2, 0xe4, 0xe5, 0x41, 0x8d, 0x9c,
|
|
0xf0, 0x18, 0x16, 0x7e, 0xc4, 0x44, 0x16, 0xfb, 0x73, 0xc2, 0x68, 0x4c, 0x14, 0x15, 0x1c, 0xcb,
|
|
0x54, 0x28, 0xe1, 0xee, 0x1b, 0x19, 0x6b, 0xf9, 0xb8, 0x99, 0x08, 0x91, 0x30, 0xf0, 0xb5, 0x36,
|
|
0xcc, 0x46, 0x7e, 0x0c, 0xb3, 0x28, 0xa5, 0x52, 0x89, 0xd4, 0xf8, 0x4f, 0x1e, 0x10, 0xba, 0x23,
|
|
0xf2, 0x16, 0xf2, 0x7b, 0x09, 0x91, 0x7b, 0x88, 0x76, 0xe7, 0x84, 0x65, 0xe0, 0x55, 0x9a, 0x95,
|
|
0xd6, 0x5e, 0x68, 0x06, 0xd7, 0x43, 0x55, 0x49, 0x94, 0x82, 0x94, 0x7b, 0xff, 0xf4, 0x79, 0x31,
|
|
0xba, 0x47, 0xc8, 0x61, 0xc0, 0x13, 0x35, 0xf6,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