github.com/m3db/m3@v1.5.0/src/cmd/tools/m3ctl/yaml/generated/db_create.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: db_create.proto 3 4 // Copyright (c) 2020 Uber Technologies, Inc. 5 // 6 // Permission is hereby granted, free of charge, to any person obtaining a copy 7 // of this software and associated documentation files (the "Software"), to deal 8 // in the Software without restriction, including without limitation the rights 9 // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 // copies of the Software, and to permit persons to whom the Software is 11 // furnished to do so, subject to the following conditions: 12 // 13 // The above copyright notice and this permission notice shall be included in 14 // all copies or substantial portions of the Software. 15 // 16 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 22 // THE SOFTWARE. 23 24 package yaml 25 26 import ( 27 fmt "fmt" 28 math "math" 29 30 proto "github.com/golang/protobuf/proto" 31 admin "github.com/m3db/m3/src/query/generated/proto/admin" 32 ) 33 34 // Reference imports to suppress errors if they are not otherwise used. 35 var _ = proto.Marshal 36 var _ = fmt.Errorf 37 var _ = math.Inf 38 39 // This is a compile-time assertion to ensure that this generated file 40 // is compatible with the proto package it is being compiled against. 41 // A compilation error at this line likely means your copy of the 42 // proto package needs to be updated. 43 const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package 44 45 type DatabaseCreateRequestYaml struct { 46 Operation string `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"` 47 Request *admin.DatabaseCreateRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` 48 XXX_NoUnkeyedLiteral struct{} `json:"-"` 49 XXX_unrecognized []byte `json:"-"` 50 XXX_sizecache int32 `json:"-"` 51 } 52 53 func (m *DatabaseCreateRequestYaml) Reset() { *m = DatabaseCreateRequestYaml{} } 54 func (m *DatabaseCreateRequestYaml) String() string { return proto.CompactTextString(m) } 55 func (*DatabaseCreateRequestYaml) ProtoMessage() {} 56 func (*DatabaseCreateRequestYaml) Descriptor() ([]byte, []int) { 57 return fileDescriptor_57e276f15713f139, []int{0} 58 } 59 60 func (m *DatabaseCreateRequestYaml) XXX_Unmarshal(b []byte) error { 61 return xxx_messageInfo_DatabaseCreateRequestYaml.Unmarshal(m, b) 62 } 63 func (m *DatabaseCreateRequestYaml) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 64 return xxx_messageInfo_DatabaseCreateRequestYaml.Marshal(b, m, deterministic) 65 } 66 func (m *DatabaseCreateRequestYaml) XXX_Merge(src proto.Message) { 67 xxx_messageInfo_DatabaseCreateRequestYaml.Merge(m, src) 68 } 69 func (m *DatabaseCreateRequestYaml) XXX_Size() int { 70 return xxx_messageInfo_DatabaseCreateRequestYaml.Size(m) 71 } 72 func (m *DatabaseCreateRequestYaml) XXX_DiscardUnknown() { 73 xxx_messageInfo_DatabaseCreateRequestYaml.DiscardUnknown(m) 74 } 75 76 var xxx_messageInfo_DatabaseCreateRequestYaml proto.InternalMessageInfo 77 78 func (m *DatabaseCreateRequestYaml) GetOperation() string { 79 if m != nil { 80 return m.Operation 81 } 82 return "" 83 } 84 85 func (m *DatabaseCreateRequestYaml) GetRequest() *admin.DatabaseCreateRequest { 86 if m != nil { 87 return m.Request 88 } 89 return nil 90 } 91 92 func init() { 93 proto.RegisterType((*DatabaseCreateRequestYaml)(nil), "yaml.DatabaseCreateRequestYaml") 94 } 95 96 func init() { proto.RegisterFile("db_create.proto", fileDescriptor_57e276f15713f139) } 97 98 var fileDescriptor_57e276f15713f139 = []byte{ 99 // 177 bytes of a gzipped FileDescriptorProto 100 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x8d, 0xb1, 0xca, 0xc2, 0x30, 101 0x14, 0x46, 0xe9, 0xcf, 0x8f, 0xd2, 0x38, 0x08, 0x9d, 0xaa, 0x74, 0x28, 0x4e, 0x9d, 0x72, 0xc1, 102 0x82, 0xbb, 0xe8, 0x13, 0x74, 0x73, 0x92, 0x9b, 0xe6, 0x52, 0x0b, 0x4d, 0xd3, 0xa6, 0x37, 0x43, 103 0xdf, 0x5e, 0x8c, 0x15, 0x17, 0xd7, 0x8f, 0xf3, 0x9d, 0x23, 0xb6, 0x5a, 0xdd, 0x6b, 0x47, 0xc8, 104 0x24, 0x07, 0x67, 0xd9, 0x26, 0xff, 0x33, 0x9a, 0x6e, 0x7f, 0x6e, 0x5a, 0x7e, 0x78, 0x25, 0x6b, 105 0x6b, 0xc0, 0x94, 0x5a, 0x81, 0x29, 0x61, 0x72, 0x35, 0x8c, 0x9e, 0xdc, 0x0c, 0x0d, 0xf5, 0xe4, 106 0x90, 0x49, 0x43, 0xf8, 0x00, 0x6a, 0xd3, 0xf6, 0xa0, 0x91, 0x51, 0xe1, 0xb4, 0x88, 0x0e, 0xa3, 107 0xd8, 0x5d, 0x97, 0xe5, 0x12, 0x02, 0x15, 0x8d, 0x9e, 0x26, 0xbe, 0xa1, 0xe9, 0x92, 0x4c, 0xc4, 108 0x76, 0x78, 0x39, 0x5a, 0xdb, 0xa7, 0x51, 0x1e, 0x15, 0x71, 0xf5, 0x1d, 0x92, 0x93, 0x58, 0xbb, 109 0x37, 0x9c, 0xfe, 0xe5, 0x51, 0xb1, 0x39, 0x66, 0x32, 0x24, 0xe4, 0x4f, 0x61, 0xf5, 0x81, 0xd5, 110 0x2a, 0x94, 0xcb, 0x67, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x30, 0x42, 0x7b, 0xd5, 0x00, 0x00, 111 0x00, 112 }