github.com/m3db/m3@v1.5.0/src/cmd/tools/m3ctl/yaml/generated/placement.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // source: placement.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 PlacementInitRequestYaml struct {
    46  	Operation            string                      `protobuf:"bytes,1,opt,name=operation,proto3" json:"operation,omitempty"`
    47  	Request              *admin.PlacementInitRequest `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 *PlacementInitRequestYaml) Reset()         { *m = PlacementInitRequestYaml{} }
    54  func (m *PlacementInitRequestYaml) String() string { return proto.CompactTextString(m) }
    55  func (*PlacementInitRequestYaml) ProtoMessage()    {}
    56  func (*PlacementInitRequestYaml) Descriptor() ([]byte, []int) {
    57  	return fileDescriptor_ae0216eeb0d08e49, []int{0}
    58  }
    59  
    60  func (m *PlacementInitRequestYaml) XXX_Unmarshal(b []byte) error {
    61  	return xxx_messageInfo_PlacementInitRequestYaml.Unmarshal(m, b)
    62  }
    63  func (m *PlacementInitRequestYaml) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    64  	return xxx_messageInfo_PlacementInitRequestYaml.Marshal(b, m, deterministic)
    65  }
    66  func (m *PlacementInitRequestYaml) XXX_Merge(src proto.Message) {
    67  	xxx_messageInfo_PlacementInitRequestYaml.Merge(m, src)
    68  }
    69  func (m *PlacementInitRequestYaml) XXX_Size() int {
    70  	return xxx_messageInfo_PlacementInitRequestYaml.Size(m)
    71  }
    72  func (m *PlacementInitRequestYaml) XXX_DiscardUnknown() {
    73  	xxx_messageInfo_PlacementInitRequestYaml.DiscardUnknown(m)
    74  }
    75  
    76  var xxx_messageInfo_PlacementInitRequestYaml proto.InternalMessageInfo
    77  
    78  func (m *PlacementInitRequestYaml) GetOperation() string {
    79  	if m != nil {
    80  		return m.Operation
    81  	}
    82  	return ""
    83  }
    84  
    85  func (m *PlacementInitRequestYaml) GetRequest() *admin.PlacementInitRequest {
    86  	if m != nil {
    87  		return m.Request
    88  	}
    89  	return nil
    90  }
    91  
    92  type PlacementReplaceRequestYaml struct {
    93  	Operation            string                         `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"`
    94  	Request              *admin.PlacementReplaceRequest `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
    95  	XXX_NoUnkeyedLiteral struct{}                       `json:"-"`
    96  	XXX_unrecognized     []byte                         `json:"-"`
    97  	XXX_sizecache        int32                          `json:"-"`
    98  }
    99  
   100  func (m *PlacementReplaceRequestYaml) Reset()         { *m = PlacementReplaceRequestYaml{} }
   101  func (m *PlacementReplaceRequestYaml) String() string { return proto.CompactTextString(m) }
   102  func (*PlacementReplaceRequestYaml) ProtoMessage()    {}
   103  func (*PlacementReplaceRequestYaml) Descriptor() ([]byte, []int) {
   104  	return fileDescriptor_ae0216eeb0d08e49, []int{1}
   105  }
   106  
   107  func (m *PlacementReplaceRequestYaml) XXX_Unmarshal(b []byte) error {
   108  	return xxx_messageInfo_PlacementReplaceRequestYaml.Unmarshal(m, b)
   109  }
   110  func (m *PlacementReplaceRequestYaml) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
   111  	return xxx_messageInfo_PlacementReplaceRequestYaml.Marshal(b, m, deterministic)
   112  }
   113  func (m *PlacementReplaceRequestYaml) XXX_Merge(src proto.Message) {
   114  	xxx_messageInfo_PlacementReplaceRequestYaml.Merge(m, src)
   115  }
   116  func (m *PlacementReplaceRequestYaml) XXX_Size() int {
   117  	return xxx_messageInfo_PlacementReplaceRequestYaml.Size(m)
   118  }
   119  func (m *PlacementReplaceRequestYaml) XXX_DiscardUnknown() {
   120  	xxx_messageInfo_PlacementReplaceRequestYaml.DiscardUnknown(m)
   121  }
   122  
   123  var xxx_messageInfo_PlacementReplaceRequestYaml proto.InternalMessageInfo
   124  
   125  func (m *PlacementReplaceRequestYaml) GetOperation() string {
   126  	if m != nil {
   127  		return m.Operation
   128  	}
   129  	return ""
   130  }
   131  
   132  func (m *PlacementReplaceRequestYaml) GetRequest() *admin.PlacementReplaceRequest {
   133  	if m != nil {
   134  		return m.Request
   135  	}
   136  	return nil
   137  }
   138  
   139  func init() {
   140  	proto.RegisterType((*PlacementInitRequestYaml)(nil), "yaml.PlacementInitRequestYaml")
   141  	proto.RegisterType((*PlacementReplaceRequestYaml)(nil), "yaml.PlacementReplaceRequestYaml")
   142  }
   143  
   144  func init() { proto.RegisterFile("placement.proto", fileDescriptor_ae0216eeb0d08e49) }
   145  
   146  var fileDescriptor_ae0216eeb0d08e49 = []byte{
   147  	// 201 bytes of a gzipped FileDescriptorProto
   148  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x2f, 0xc8, 0x49, 0x4c,
   149  	0x4e, 0xcd, 0x4d, 0xcd, 0x2b, 0xd1, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xa9, 0x4c, 0xcc,
   150  	0xcd, 0x91, 0x72, 0x4a, 0xcf, 0x2c, 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0xcf, 0x35,
   151  	0x4e, 0x49, 0xd2, 0xcf, 0x35, 0xd6, 0x2f, 0x2e, 0x4a, 0xd6, 0x2f, 0x2c, 0x4d, 0x2d, 0xaa, 0xd4,
   152  	0x4f, 0x4f, 0xcd, 0x4b, 0x2d, 0x4a, 0x2c, 0x49, 0x4d, 0xd1, 0x07, 0xeb, 0xd1, 0x4f, 0x4c, 0xc9,
   153  	0xcd, 0xcc, 0xd3, 0x47, 0x33, 0x49, 0x29, 0x9f, 0x4b, 0x22, 0x00, 0x26, 0xe4, 0x99, 0x97, 0x59,
   154  	0x12, 0x94, 0x5a, 0x58, 0x9a, 0x5a, 0x5c, 0x12, 0x99, 0x98, 0x9b, 0x23, 0x24, 0xc3, 0xc5, 0x99,
   155  	0x5f, 0x00, 0x32, 0x23, 0x33, 0x3f, 0x4f, 0x82, 0x51, 0x81, 0x51, 0x83, 0x33, 0x08, 0x21, 0x20,
   156  	0x64, 0xca, 0xc5, 0x5e, 0x04, 0x51, 0x2c, 0xc1, 0xa4, 0xc0, 0xa8, 0xc1, 0x6d, 0x24, 0xad, 0x07,
   157  	0xb6, 0x42, 0x0f, 0x9b, 0x79, 0x41, 0x30, 0xb5, 0x4a, 0xa5, 0x5c, 0xd2, 0x70, 0x05, 0x41, 0xa9,
   158  	0x60, 0xe7, 0xe0, 0xb4, 0x93, 0x19, 0xdd, 0x4e, 0x0b, 0x84, 0x9d, 0x2c, 0x60, 0x3b, 0xe5, 0xd0,
   159  	0xed, 0x44, 0x35, 0x12, 0x6e, 0x6d, 0x12, 0x1b, 0xd8, 0xbb, 0xc6, 0x80, 0x00, 0x00, 0x00, 0xff,
   160  	0xff, 0x5e, 0x24, 0x27, 0x1e, 0x4b, 0x01, 0x00, 0x00,
   161  }