github.com/lyft/flytestdlib@v0.3.12-0.20210213045714-8cdd111ecda1/utils/prototest/test_type.pb.go (about)

     1  // Code generated by protoc-gen-go. DO NOT EDIT.
     2  // versions:
     3  // 	protoc-gen-go v1.25.0
     4  // 	protoc        v3.14.0
     5  // source: test_type.proto
     6  
     7  package prototest
     8  
     9  import (
    10  	proto "github.com/golang/protobuf/proto"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  // This is a compile-time assertion that a sufficiently up-to-date version
    25  // of the legacy proto package is being used.
    26  const _ = proto.ProtoPackageIsVersion4
    27  
    28  type TestProto struct {
    29  	state         protoimpl.MessageState
    30  	sizeCache     protoimpl.SizeCache
    31  	unknownFields protoimpl.UnknownFields
    32  
    33  	StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3" json:"string_value,omitempty"`
    34  }
    35  
    36  func (x *TestProto) Reset() {
    37  	*x = TestProto{}
    38  	if protoimpl.UnsafeEnabled {
    39  		mi := &file_test_type_proto_msgTypes[0]
    40  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    41  		ms.StoreMessageInfo(mi)
    42  	}
    43  }
    44  
    45  func (x *TestProto) String() string {
    46  	return protoimpl.X.MessageStringOf(x)
    47  }
    48  
    49  func (*TestProto) ProtoMessage() {}
    50  
    51  func (x *TestProto) ProtoReflect() protoreflect.Message {
    52  	mi := &file_test_type_proto_msgTypes[0]
    53  	if protoimpl.UnsafeEnabled && x != nil {
    54  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    55  		if ms.LoadMessageInfo() == nil {
    56  			ms.StoreMessageInfo(mi)
    57  		}
    58  		return ms
    59  	}
    60  	return mi.MessageOf(x)
    61  }
    62  
    63  // Deprecated: Use TestProto.ProtoReflect.Descriptor instead.
    64  func (*TestProto) Descriptor() ([]byte, []int) {
    65  	return file_test_type_proto_rawDescGZIP(), []int{0}
    66  }
    67  
    68  func (x *TestProto) GetStringValue() string {
    69  	if x != nil {
    70  		return x.StringValue
    71  	}
    72  	return ""
    73  }
    74  
    75  var File_test_type_proto protoreflect.FileDescriptor
    76  
    77  var file_test_type_proto_rawDesc = []byte{
    78  	0x0a, 0x0f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
    79  	0x6f, 0x12, 0x0d, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x69, 0x64, 0x6c, 0x2e, 0x63, 0x6f, 0x72, 0x65,
    80  	0x22, 0x2e, 0x0a, 0x09, 0x54, 0x65, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x21, 0x0a,
    81  	0x0c, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20,
    82  	0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65,
    83  	0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6c,
    84  	0x79, 0x66, 0x74, 0x2f, 0x66, 0x6c, 0x79, 0x74, 0x65, 0x73, 0x74, 0x64, 0x6c, 0x69, 0x62, 0x2f,
    85  	0x75, 0x74, 0x69, 0x6c, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x74, 0x65, 0x73, 0x74, 0x62,
    86  	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
    87  }
    88  
    89  var (
    90  	file_test_type_proto_rawDescOnce sync.Once
    91  	file_test_type_proto_rawDescData = file_test_type_proto_rawDesc
    92  )
    93  
    94  func file_test_type_proto_rawDescGZIP() []byte {
    95  	file_test_type_proto_rawDescOnce.Do(func() {
    96  		file_test_type_proto_rawDescData = protoimpl.X.CompressGZIP(file_test_type_proto_rawDescData)
    97  	})
    98  	return file_test_type_proto_rawDescData
    99  }
   100  
   101  var file_test_type_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   102  var file_test_type_proto_goTypes = []interface{}{
   103  	(*TestProto)(nil), // 0: flyteidl.core.TestProto
   104  }
   105  var file_test_type_proto_depIdxs = []int32{
   106  	0, // [0:0] is the sub-list for method output_type
   107  	0, // [0:0] is the sub-list for method input_type
   108  	0, // [0:0] is the sub-list for extension type_name
   109  	0, // [0:0] is the sub-list for extension extendee
   110  	0, // [0:0] is the sub-list for field type_name
   111  }
   112  
   113  func init() { file_test_type_proto_init() }
   114  func file_test_type_proto_init() {
   115  	if File_test_type_proto != nil {
   116  		return
   117  	}
   118  	if !protoimpl.UnsafeEnabled {
   119  		file_test_type_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   120  			switch v := v.(*TestProto); i {
   121  			case 0:
   122  				return &v.state
   123  			case 1:
   124  				return &v.sizeCache
   125  			case 2:
   126  				return &v.unknownFields
   127  			default:
   128  				return nil
   129  			}
   130  		}
   131  	}
   132  	type x struct{}
   133  	out := protoimpl.TypeBuilder{
   134  		File: protoimpl.DescBuilder{
   135  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   136  			RawDescriptor: file_test_type_proto_rawDesc,
   137  			NumEnums:      0,
   138  			NumMessages:   1,
   139  			NumExtensions: 0,
   140  			NumServices:   0,
   141  		},
   142  		GoTypes:           file_test_type_proto_goTypes,
   143  		DependencyIndexes: file_test_type_proto_depIdxs,
   144  		MessageInfos:      file_test_type_proto_msgTypes,
   145  	}.Build()
   146  	File_test_type_proto = out.File
   147  	file_test_type_proto_rawDesc = nil
   148  	file_test_type_proto_goTypes = nil
   149  	file_test_type_proto_depIdxs = nil
   150  }