github.com/m3db/m3@v1.5.0/src/metrics/generated/proto/transformationpb/transformation.pb.go (about)

     1  // Code generated by protoc-gen-gogo. DO NOT EDIT.
     2  // source: github.com/m3db/m3/src/metrics/generated/proto/transformationpb/transformation.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  /*
    25  Package transformationpb is a generated protocol buffer package.
    26  
    27  It is generated from these files:
    28  	github.com/m3db/m3/src/metrics/generated/proto/transformationpb/transformation.proto
    29  
    30  It has these top-level messages:
    31  */
    32  package transformationpb
    33  
    34  import proto "github.com/gogo/protobuf/proto"
    35  import fmt "fmt"
    36  import math "math"
    37  
    38  // Reference imports to suppress errors if they are not otherwise used.
    39  var _ = proto.Marshal
    40  var _ = fmt.Errorf
    41  var _ = math.Inf
    42  
    43  // This is a compile-time assertion to ensure that this generated file
    44  // is compatible with the proto package it is being compiled against.
    45  // A compilation error at this line likely means your copy of the
    46  // proto package needs to be updated.
    47  const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
    48  
    49  type TransformationType int32
    50  
    51  const (
    52  	TransformationType_UNKNOWN   TransformationType = 0
    53  	TransformationType_ABSOLUTE  TransformationType = 1
    54  	TransformationType_PERSECOND TransformationType = 2
    55  	TransformationType_INCREASE  TransformationType = 3
    56  	TransformationType_ADD       TransformationType = 4
    57  	TransformationType_RESET     TransformationType = 5
    58  )
    59  
    60  var TransformationType_name = map[int32]string{
    61  	0: "UNKNOWN",
    62  	1: "ABSOLUTE",
    63  	2: "PERSECOND",
    64  	3: "INCREASE",
    65  	4: "ADD",
    66  	5: "RESET",
    67  }
    68  var TransformationType_value = map[string]int32{
    69  	"UNKNOWN":   0,
    70  	"ABSOLUTE":  1,
    71  	"PERSECOND": 2,
    72  	"INCREASE":  3,
    73  	"ADD":       4,
    74  	"RESET":     5,
    75  }
    76  
    77  func (x TransformationType) String() string {
    78  	return proto.EnumName(TransformationType_name, int32(x))
    79  }
    80  func (TransformationType) EnumDescriptor() ([]byte, []int) {
    81  	return fileDescriptorTransformation, []int{0}
    82  }
    83  
    84  func init() {
    85  	proto.RegisterEnum("transformationpb.TransformationType", TransformationType_name, TransformationType_value)
    86  }
    87  
    88  func init() {
    89  	proto.RegisterFile("github.com/m3db/m3/src/metrics/generated/proto/transformationpb/transformation.proto", fileDescriptorTransformation)
    90  }
    91  
    92  var fileDescriptorTransformation = []byte{
    93  	// 212 bytes of a gzipped FileDescriptorProto
    94  	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x0a, 0x49, 0xcf, 0x2c, 0xc9,
    95  	0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0xcf, 0x35, 0x4e, 0x49, 0xd2, 0xcf, 0x35, 0xd6, 0x2f,
    96  	0x2e, 0x4a, 0xd6, 0xcf, 0x4d, 0x2d, 0x29, 0xca, 0x4c, 0x2e, 0xd6, 0x4f, 0x4f, 0xcd, 0x4b, 0x2d,
    97  	0x4a, 0x2c, 0x49, 0x4d, 0xd1, 0x2f, 0x28, 0xca, 0x2f, 0xc9, 0xd7, 0x2f, 0x29, 0x4a, 0xcc, 0x2b,
    98  	0x4e, 0xcb, 0x2f, 0xca, 0x4d, 0x2c, 0xc9, 0xcc, 0xcf, 0x2b, 0x48, 0x42, 0x13, 0xd0, 0x03, 0xab,
    99  	0x12, 0x12, 0x40, 0x57, 0xa6, 0x95, 0xc0, 0x25, 0x14, 0x82, 0x22, 0x16, 0x52, 0x59, 0x90, 0x2a,
   100  	0xc4, 0xcd, 0xc5, 0x1e, 0xea, 0xe7, 0xed, 0xe7, 0x1f, 0xee, 0x27, 0xc0, 0x20, 0xc4, 0xc3, 0xc5,
   101  	0xe1, 0xe8, 0x14, 0xec, 0xef, 0x13, 0x1a, 0xe2, 0x2a, 0xc0, 0x28, 0xc4, 0xcb, 0xc5, 0x19, 0xe0,
   102  	0x1a, 0x14, 0xec, 0xea, 0xec, 0xef, 0xe7, 0x22, 0xc0, 0x04, 0x92, 0xf4, 0xf4, 0x73, 0x0e, 0x72,
   103  	0x75, 0x0c, 0x76, 0x15, 0x60, 0x16, 0x62, 0xe7, 0x62, 0x76, 0x74, 0x71, 0x11, 0x60, 0x11, 0xe2,
   104  	0xe4, 0x62, 0x0d, 0x72, 0x0d, 0x76, 0x0d, 0x11, 0x60, 0x75, 0x0a, 0x3c, 0xf1, 0x48, 0x8e, 0xf1,
   105  	0xc2, 0x23, 0x39, 0xc6, 0x07, 0x8f, 0xe4, 0x18, 0x27, 0x3c, 0x96, 0x63, 0x88, 0xb2, 0xa7, 0xd0,
   106  	0x6f, 0x49, 0x6c, 0x60, 0x71, 0x63, 0x40, 0x00, 0x00, 0x00, 0xff, 0xff, 0x71, 0x38, 0xb4, 0xa1,
   107  	0x25, 0x01, 0x00, 0x00,
   108  }