...

Source file src/cloud.google.com/go/bigquery/storage/managedwriter/testdata/messages_proto3.pb.go

Documentation: cloud.google.com/go/bigquery/storage/managedwriter/testdata

     1  // Copyright 2021 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     https://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.28.0
    18  // 	protoc        v3.17.3
    19  // source: messages_proto3.proto
    20  
    21  package testdata
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
    30  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // SimpleMessageProto3 represents a simple message that transmits a string and int64 value.
    40  type SimpleMessageProto3 struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// name is a simple scalar string.
    46  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    47  	// value is a simple int64 value.
    48  	Value *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
    49  }
    50  
    51  func (x *SimpleMessageProto3) Reset() {
    52  	*x = SimpleMessageProto3{}
    53  	if protoimpl.UnsafeEnabled {
    54  		mi := &file_messages_proto3_proto_msgTypes[0]
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		ms.StoreMessageInfo(mi)
    57  	}
    58  }
    59  
    60  func (x *SimpleMessageProto3) String() string {
    61  	return protoimpl.X.MessageStringOf(x)
    62  }
    63  
    64  func (*SimpleMessageProto3) ProtoMessage() {}
    65  
    66  func (x *SimpleMessageProto3) ProtoReflect() protoreflect.Message {
    67  	mi := &file_messages_proto3_proto_msgTypes[0]
    68  	if protoimpl.UnsafeEnabled && x != nil {
    69  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    70  		if ms.LoadMessageInfo() == nil {
    71  			ms.StoreMessageInfo(mi)
    72  		}
    73  		return ms
    74  	}
    75  	return mi.MessageOf(x)
    76  }
    77  
    78  // Deprecated: Use SimpleMessageProto3.ProtoReflect.Descriptor instead.
    79  func (*SimpleMessageProto3) Descriptor() ([]byte, []int) {
    80  	return file_messages_proto3_proto_rawDescGZIP(), []int{0}
    81  }
    82  
    83  func (x *SimpleMessageProto3) GetName() string {
    84  	if x != nil {
    85  		return x.Name
    86  	}
    87  	return ""
    88  }
    89  
    90  func (x *SimpleMessageProto3) GetValue() *wrapperspb.Int64Value {
    91  	if x != nil {
    92  		return x.Value
    93  	}
    94  	return nil
    95  }
    96  
    97  type GithubArchiveEntityProto3 struct {
    98  	state         protoimpl.MessageState
    99  	sizeCache     protoimpl.SizeCache
   100  	unknownFields protoimpl.UnknownFields
   101  
   102  	Id         *wrapperspb.Int64Value  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   103  	Login      *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=login,proto3" json:"login,omitempty"`
   104  	GravatarId *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=gravatar_id,json=gravatarId,proto3" json:"gravatar_id,omitempty"`
   105  	AvatarUrl  *wrapperspb.StringValue `protobuf:"bytes,4,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
   106  	Url        *wrapperspb.StringValue `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"`
   107  }
   108  
   109  func (x *GithubArchiveEntityProto3) Reset() {
   110  	*x = GithubArchiveEntityProto3{}
   111  	if protoimpl.UnsafeEnabled {
   112  		mi := &file_messages_proto3_proto_msgTypes[1]
   113  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   114  		ms.StoreMessageInfo(mi)
   115  	}
   116  }
   117  
   118  func (x *GithubArchiveEntityProto3) String() string {
   119  	return protoimpl.X.MessageStringOf(x)
   120  }
   121  
   122  func (*GithubArchiveEntityProto3) ProtoMessage() {}
   123  
   124  func (x *GithubArchiveEntityProto3) ProtoReflect() protoreflect.Message {
   125  	mi := &file_messages_proto3_proto_msgTypes[1]
   126  	if protoimpl.UnsafeEnabled && x != nil {
   127  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   128  		if ms.LoadMessageInfo() == nil {
   129  			ms.StoreMessageInfo(mi)
   130  		}
   131  		return ms
   132  	}
   133  	return mi.MessageOf(x)
   134  }
   135  
   136  // Deprecated: Use GithubArchiveEntityProto3.ProtoReflect.Descriptor instead.
   137  func (*GithubArchiveEntityProto3) Descriptor() ([]byte, []int) {
   138  	return file_messages_proto3_proto_rawDescGZIP(), []int{1}
   139  }
   140  
   141  func (x *GithubArchiveEntityProto3) GetId() *wrapperspb.Int64Value {
   142  	if x != nil {
   143  		return x.Id
   144  	}
   145  	return nil
   146  }
   147  
   148  func (x *GithubArchiveEntityProto3) GetLogin() *wrapperspb.StringValue {
   149  	if x != nil {
   150  		return x.Login
   151  	}
   152  	return nil
   153  }
   154  
   155  func (x *GithubArchiveEntityProto3) GetGravatarId() *wrapperspb.StringValue {
   156  	if x != nil {
   157  		return x.GravatarId
   158  	}
   159  	return nil
   160  }
   161  
   162  func (x *GithubArchiveEntityProto3) GetAvatarUrl() *wrapperspb.StringValue {
   163  	if x != nil {
   164  		return x.AvatarUrl
   165  	}
   166  	return nil
   167  }
   168  
   169  func (x *GithubArchiveEntityProto3) GetUrl() *wrapperspb.StringValue {
   170  	if x != nil {
   171  		return x.Url
   172  	}
   173  	return nil
   174  }
   175  
   176  type GithubArchiveRepoProto3 struct {
   177  	state         protoimpl.MessageState
   178  	sizeCache     protoimpl.SizeCache
   179  	unknownFields protoimpl.UnknownFields
   180  
   181  	Id   *wrapperspb.Int64Value  `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
   182  	Name *wrapperspb.StringValue `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
   183  	Url  *wrapperspb.StringValue `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
   184  }
   185  
   186  func (x *GithubArchiveRepoProto3) Reset() {
   187  	*x = GithubArchiveRepoProto3{}
   188  	if protoimpl.UnsafeEnabled {
   189  		mi := &file_messages_proto3_proto_msgTypes[2]
   190  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   191  		ms.StoreMessageInfo(mi)
   192  	}
   193  }
   194  
   195  func (x *GithubArchiveRepoProto3) String() string {
   196  	return protoimpl.X.MessageStringOf(x)
   197  }
   198  
   199  func (*GithubArchiveRepoProto3) ProtoMessage() {}
   200  
   201  func (x *GithubArchiveRepoProto3) ProtoReflect() protoreflect.Message {
   202  	mi := &file_messages_proto3_proto_msgTypes[2]
   203  	if protoimpl.UnsafeEnabled && x != nil {
   204  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   205  		if ms.LoadMessageInfo() == nil {
   206  			ms.StoreMessageInfo(mi)
   207  		}
   208  		return ms
   209  	}
   210  	return mi.MessageOf(x)
   211  }
   212  
   213  // Deprecated: Use GithubArchiveRepoProto3.ProtoReflect.Descriptor instead.
   214  func (*GithubArchiveRepoProto3) Descriptor() ([]byte, []int) {
   215  	return file_messages_proto3_proto_rawDescGZIP(), []int{2}
   216  }
   217  
   218  func (x *GithubArchiveRepoProto3) GetId() *wrapperspb.Int64Value {
   219  	if x != nil {
   220  		return x.Id
   221  	}
   222  	return nil
   223  }
   224  
   225  func (x *GithubArchiveRepoProto3) GetName() *wrapperspb.StringValue {
   226  	if x != nil {
   227  		return x.Name
   228  	}
   229  	return nil
   230  }
   231  
   232  func (x *GithubArchiveRepoProto3) GetUrl() *wrapperspb.StringValue {
   233  	if x != nil {
   234  		return x.Url
   235  	}
   236  	return nil
   237  }
   238  
   239  // GithubArchiveMessageProto3 is the proto3 version of github archive row.
   240  type GithubArchiveMessageProto3 struct {
   241  	state         protoimpl.MessageState
   242  	sizeCache     protoimpl.SizeCache
   243  	unknownFields protoimpl.UnknownFields
   244  
   245  	Type      *wrapperspb.StringValue    `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
   246  	Public    *wrapperspb.BoolValue      `protobuf:"bytes,2,opt,name=public,proto3" json:"public,omitempty"`
   247  	Payload   *wrapperspb.StringValue    `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty"`
   248  	Repo      *GithubArchiveRepoProto3   `protobuf:"bytes,4,opt,name=repo,proto3" json:"repo,omitempty"`
   249  	Actor     *GithubArchiveEntityProto3 `protobuf:"bytes,5,opt,name=actor,proto3" json:"actor,omitempty"`
   250  	Org       *GithubArchiveEntityProto3 `protobuf:"bytes,6,opt,name=org,proto3" json:"org,omitempty"`
   251  	CreatedAt *wrapperspb.Int64Value     `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
   252  	Id        *wrapperspb.StringValue    `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"`
   253  	Other     *wrapperspb.StringValue    `protobuf:"bytes,9,opt,name=other,proto3" json:"other,omitempty"`
   254  }
   255  
   256  func (x *GithubArchiveMessageProto3) Reset() {
   257  	*x = GithubArchiveMessageProto3{}
   258  	if protoimpl.UnsafeEnabled {
   259  		mi := &file_messages_proto3_proto_msgTypes[3]
   260  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   261  		ms.StoreMessageInfo(mi)
   262  	}
   263  }
   264  
   265  func (x *GithubArchiveMessageProto3) String() string {
   266  	return protoimpl.X.MessageStringOf(x)
   267  }
   268  
   269  func (*GithubArchiveMessageProto3) ProtoMessage() {}
   270  
   271  func (x *GithubArchiveMessageProto3) ProtoReflect() protoreflect.Message {
   272  	mi := &file_messages_proto3_proto_msgTypes[3]
   273  	if protoimpl.UnsafeEnabled && x != nil {
   274  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   275  		if ms.LoadMessageInfo() == nil {
   276  			ms.StoreMessageInfo(mi)
   277  		}
   278  		return ms
   279  	}
   280  	return mi.MessageOf(x)
   281  }
   282  
   283  // Deprecated: Use GithubArchiveMessageProto3.ProtoReflect.Descriptor instead.
   284  func (*GithubArchiveMessageProto3) Descriptor() ([]byte, []int) {
   285  	return file_messages_proto3_proto_rawDescGZIP(), []int{3}
   286  }
   287  
   288  func (x *GithubArchiveMessageProto3) GetType() *wrapperspb.StringValue {
   289  	if x != nil {
   290  		return x.Type
   291  	}
   292  	return nil
   293  }
   294  
   295  func (x *GithubArchiveMessageProto3) GetPublic() *wrapperspb.BoolValue {
   296  	if x != nil {
   297  		return x.Public
   298  	}
   299  	return nil
   300  }
   301  
   302  func (x *GithubArchiveMessageProto3) GetPayload() *wrapperspb.StringValue {
   303  	if x != nil {
   304  		return x.Payload
   305  	}
   306  	return nil
   307  }
   308  
   309  func (x *GithubArchiveMessageProto3) GetRepo() *GithubArchiveRepoProto3 {
   310  	if x != nil {
   311  		return x.Repo
   312  	}
   313  	return nil
   314  }
   315  
   316  func (x *GithubArchiveMessageProto3) GetActor() *GithubArchiveEntityProto3 {
   317  	if x != nil {
   318  		return x.Actor
   319  	}
   320  	return nil
   321  }
   322  
   323  func (x *GithubArchiveMessageProto3) GetOrg() *GithubArchiveEntityProto3 {
   324  	if x != nil {
   325  		return x.Org
   326  	}
   327  	return nil
   328  }
   329  
   330  func (x *GithubArchiveMessageProto3) GetCreatedAt() *wrapperspb.Int64Value {
   331  	if x != nil {
   332  		return x.CreatedAt
   333  	}
   334  	return nil
   335  }
   336  
   337  func (x *GithubArchiveMessageProto3) GetId() *wrapperspb.StringValue {
   338  	if x != nil {
   339  		return x.Id
   340  	}
   341  	return nil
   342  }
   343  
   344  func (x *GithubArchiveMessageProto3) GetOther() *wrapperspb.StringValue {
   345  	if x != nil {
   346  		return x.Other
   347  	}
   348  	return nil
   349  }
   350  
   351  type SimpleMessageProto3WithOptional struct {
   352  	state         protoimpl.MessageState
   353  	sizeCache     protoimpl.SizeCache
   354  	unknownFields protoimpl.UnknownFields
   355  
   356  	// name is a simple scalar string.
   357  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   358  	// value is an int64 value with optional presence.
   359  	Value *int64 `protobuf:"varint,2,opt,name=value,proto3,oneof" json:"value,omitempty"`
   360  }
   361  
   362  func (x *SimpleMessageProto3WithOptional) Reset() {
   363  	*x = SimpleMessageProto3WithOptional{}
   364  	if protoimpl.UnsafeEnabled {
   365  		mi := &file_messages_proto3_proto_msgTypes[4]
   366  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   367  		ms.StoreMessageInfo(mi)
   368  	}
   369  }
   370  
   371  func (x *SimpleMessageProto3WithOptional) String() string {
   372  	return protoimpl.X.MessageStringOf(x)
   373  }
   374  
   375  func (*SimpleMessageProto3WithOptional) ProtoMessage() {}
   376  
   377  func (x *SimpleMessageProto3WithOptional) ProtoReflect() protoreflect.Message {
   378  	mi := &file_messages_proto3_proto_msgTypes[4]
   379  	if protoimpl.UnsafeEnabled && x != nil {
   380  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   381  		if ms.LoadMessageInfo() == nil {
   382  			ms.StoreMessageInfo(mi)
   383  		}
   384  		return ms
   385  	}
   386  	return mi.MessageOf(x)
   387  }
   388  
   389  // Deprecated: Use SimpleMessageProto3WithOptional.ProtoReflect.Descriptor instead.
   390  func (*SimpleMessageProto3WithOptional) Descriptor() ([]byte, []int) {
   391  	return file_messages_proto3_proto_rawDescGZIP(), []int{4}
   392  }
   393  
   394  func (x *SimpleMessageProto3WithOptional) GetName() string {
   395  	if x != nil {
   396  		return x.Name
   397  	}
   398  	return ""
   399  }
   400  
   401  func (x *SimpleMessageProto3WithOptional) GetValue() int64 {
   402  	if x != nil && x.Value != nil {
   403  		return *x.Value
   404  	}
   405  	return 0
   406  }
   407  
   408  var File_messages_proto3_proto protoreflect.FileDescriptor
   409  
   410  var file_messages_proto3_proto_rawDesc = []byte{
   411  	0x0a, 0x15, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x5f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   412  	0x33, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x08, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74,
   413  	0x61, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
   414  	0x75, 0x66, 0x2f, 0x77, 0x72, 0x61, 0x70, 0x70, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   415  	0x6f, 0x22, 0x5c, 0x0a, 0x13, 0x53, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61,
   416  	0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   417  	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x05,
   418  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f,
   419  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e,
   420  	0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22,
   421  	0xa8, 0x02, 0x0a, 0x19, 0x47, 0x69, 0x74, 0x68, 0x75, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76,
   422  	0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x12, 0x2b, 0x0a,
   423  	0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   424  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36,
   425  	0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x6c, 0x6f,
   426  	0x67, 0x69, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   427  	0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69,
   428  	0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x05, 0x6c, 0x6f, 0x67, 0x69, 0x6e, 0x12, 0x3d,
   429  	0x0a, 0x0b, 0x67, 0x72, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20,
   430  	0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   431  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75,
   432  	0x65, 0x52, 0x0a, 0x67, 0x72, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x49, 0x64, 0x12, 0x3b, 0x0a,
   433  	0x0a, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28,
   434  	0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   435  	0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
   436  	0x09, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x2e, 0x0a, 0x03, 0x75, 0x72,
   437  	0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   438  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
   439  	0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0xa8, 0x01, 0x0a, 0x17, 0x47,
   440  	0x69, 0x74, 0x68, 0x75, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f,
   441  	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x12, 0x2b, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
   442  	0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   443  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
   444  	0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
   445  	0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   446  	0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52,
   447  	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2e, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01,
   448  	0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   449  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65,
   450  	0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x81, 0x04, 0x0a, 0x1a, 0x47, 0x69, 0x74, 0x68, 0x75, 0x62,
   451  	0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72,
   452  	0x6f, 0x74, 0x6f, 0x33, 0x12, 0x30, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01,
   453  	0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   454  	0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65,
   455  	0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
   456  	0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   457  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x42, 0x6f, 0x6f, 0x6c, 0x56, 0x61, 0x6c,
   458  	0x75, 0x65, 0x52, 0x06, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x12, 0x36, 0x0a, 0x07, 0x70, 0x61,
   459  	0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f,
   460  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74,
   461  	0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f,
   462  	0x61, 0x64, 0x12, 0x35, 0x0a, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
   463  	0x32, 0x21, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x69, 0x74, 0x68,
   464  	0x75, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x52, 0x65, 0x70, 0x6f, 0x50, 0x72, 0x6f,
   465  	0x74, 0x6f, 0x33, 0x52, 0x04, 0x72, 0x65, 0x70, 0x6f, 0x12, 0x39, 0x0a, 0x05, 0x61, 0x63, 0x74,
   466  	0x6f, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64,
   467  	0x61, 0x74, 0x61, 0x2e, 0x47, 0x69, 0x74, 0x68, 0x75, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76,
   468  	0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x52, 0x05, 0x61,
   469  	0x63, 0x74, 0x6f, 0x72, 0x12, 0x35, 0x0a, 0x03, 0x6f, 0x72, 0x67, 0x18, 0x06, 0x20, 0x01, 0x28,
   470  	0x0b, 0x32, 0x23, 0x2e, 0x74, 0x65, 0x73, 0x74, 0x64, 0x61, 0x74, 0x61, 0x2e, 0x47, 0x69, 0x74,
   471  	0x68, 0x75, 0x62, 0x41, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79,
   472  	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x33, 0x52, 0x03, 0x6f, 0x72, 0x67, 0x12, 0x3a, 0x0a, 0x0a, 0x63,
   473  	0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
   474  	0x1b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
   475  	0x66, 0x2e, 0x49, 0x6e, 0x74, 0x36, 0x34, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x09, 0x63, 0x72,
   476  	0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x2c, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x08, 0x20,
   477  	0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   478  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c, 0x75,
   479  	0x65, 0x52, 0x02, 0x69, 0x64, 0x12, 0x32, 0x0a, 0x05, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x18, 0x09,
   480  	0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
   481  	0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x56, 0x61, 0x6c,
   482  	0x75, 0x65, 0x52, 0x05, 0x6f, 0x74, 0x68, 0x65, 0x72, 0x22, 0x5a, 0x0a, 0x1f, 0x53, 0x69, 0x6d,
   483  	0x70, 0x6c, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   484  	0x57, 0x69, 0x74, 0x68, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04,
   485  	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
   486  	0x12, 0x19, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48,
   487  	0x00, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x88, 0x01, 0x01, 0x42, 0x08, 0x0a, 0x06, 0x5f,
   488  	0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x3d, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
   489  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67,
   490  	0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x6d, 0x61,
   491  	0x6e, 0x61, 0x67, 0x65, 0x64, 0x77, 0x72, 0x69, 0x74, 0x65, 0x72, 0x2f, 0x74, 0x65, 0x73, 0x74,
   492  	0x64, 0x61, 0x74, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   493  }
   494  
   495  var (
   496  	file_messages_proto3_proto_rawDescOnce sync.Once
   497  	file_messages_proto3_proto_rawDescData = file_messages_proto3_proto_rawDesc
   498  )
   499  
   500  func file_messages_proto3_proto_rawDescGZIP() []byte {
   501  	file_messages_proto3_proto_rawDescOnce.Do(func() {
   502  		file_messages_proto3_proto_rawDescData = protoimpl.X.CompressGZIP(file_messages_proto3_proto_rawDescData)
   503  	})
   504  	return file_messages_proto3_proto_rawDescData
   505  }
   506  
   507  var file_messages_proto3_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
   508  var file_messages_proto3_proto_goTypes = []interface{}{
   509  	(*SimpleMessageProto3)(nil),             // 0: testdata.SimpleMessageProto3
   510  	(*GithubArchiveEntityProto3)(nil),       // 1: testdata.GithubArchiveEntityProto3
   511  	(*GithubArchiveRepoProto3)(nil),         // 2: testdata.GithubArchiveRepoProto3
   512  	(*GithubArchiveMessageProto3)(nil),      // 3: testdata.GithubArchiveMessageProto3
   513  	(*SimpleMessageProto3WithOptional)(nil), // 4: testdata.SimpleMessageProto3WithOptional
   514  	(*wrapperspb.Int64Value)(nil),           // 5: google.protobuf.Int64Value
   515  	(*wrapperspb.StringValue)(nil),          // 6: google.protobuf.StringValue
   516  	(*wrapperspb.BoolValue)(nil),            // 7: google.protobuf.BoolValue
   517  }
   518  var file_messages_proto3_proto_depIdxs = []int32{
   519  	5,  // 0: testdata.SimpleMessageProto3.value:type_name -> google.protobuf.Int64Value
   520  	5,  // 1: testdata.GithubArchiveEntityProto3.id:type_name -> google.protobuf.Int64Value
   521  	6,  // 2: testdata.GithubArchiveEntityProto3.login:type_name -> google.protobuf.StringValue
   522  	6,  // 3: testdata.GithubArchiveEntityProto3.gravatar_id:type_name -> google.protobuf.StringValue
   523  	6,  // 4: testdata.GithubArchiveEntityProto3.avatar_url:type_name -> google.protobuf.StringValue
   524  	6,  // 5: testdata.GithubArchiveEntityProto3.url:type_name -> google.protobuf.StringValue
   525  	5,  // 6: testdata.GithubArchiveRepoProto3.id:type_name -> google.protobuf.Int64Value
   526  	6,  // 7: testdata.GithubArchiveRepoProto3.name:type_name -> google.protobuf.StringValue
   527  	6,  // 8: testdata.GithubArchiveRepoProto3.url:type_name -> google.protobuf.StringValue
   528  	6,  // 9: testdata.GithubArchiveMessageProto3.type:type_name -> google.protobuf.StringValue
   529  	7,  // 10: testdata.GithubArchiveMessageProto3.public:type_name -> google.protobuf.BoolValue
   530  	6,  // 11: testdata.GithubArchiveMessageProto3.payload:type_name -> google.protobuf.StringValue
   531  	2,  // 12: testdata.GithubArchiveMessageProto3.repo:type_name -> testdata.GithubArchiveRepoProto3
   532  	1,  // 13: testdata.GithubArchiveMessageProto3.actor:type_name -> testdata.GithubArchiveEntityProto3
   533  	1,  // 14: testdata.GithubArchiveMessageProto3.org:type_name -> testdata.GithubArchiveEntityProto3
   534  	5,  // 15: testdata.GithubArchiveMessageProto3.created_at:type_name -> google.protobuf.Int64Value
   535  	6,  // 16: testdata.GithubArchiveMessageProto3.id:type_name -> google.protobuf.StringValue
   536  	6,  // 17: testdata.GithubArchiveMessageProto3.other:type_name -> google.protobuf.StringValue
   537  	18, // [18:18] is the sub-list for method output_type
   538  	18, // [18:18] is the sub-list for method input_type
   539  	18, // [18:18] is the sub-list for extension type_name
   540  	18, // [18:18] is the sub-list for extension extendee
   541  	0,  // [0:18] is the sub-list for field type_name
   542  }
   543  
   544  func init() { file_messages_proto3_proto_init() }
   545  func file_messages_proto3_proto_init() {
   546  	if File_messages_proto3_proto != nil {
   547  		return
   548  	}
   549  	if !protoimpl.UnsafeEnabled {
   550  		file_messages_proto3_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   551  			switch v := v.(*SimpleMessageProto3); i {
   552  			case 0:
   553  				return &v.state
   554  			case 1:
   555  				return &v.sizeCache
   556  			case 2:
   557  				return &v.unknownFields
   558  			default:
   559  				return nil
   560  			}
   561  		}
   562  		file_messages_proto3_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   563  			switch v := v.(*GithubArchiveEntityProto3); i {
   564  			case 0:
   565  				return &v.state
   566  			case 1:
   567  				return &v.sizeCache
   568  			case 2:
   569  				return &v.unknownFields
   570  			default:
   571  				return nil
   572  			}
   573  		}
   574  		file_messages_proto3_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   575  			switch v := v.(*GithubArchiveRepoProto3); i {
   576  			case 0:
   577  				return &v.state
   578  			case 1:
   579  				return &v.sizeCache
   580  			case 2:
   581  				return &v.unknownFields
   582  			default:
   583  				return nil
   584  			}
   585  		}
   586  		file_messages_proto3_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
   587  			switch v := v.(*GithubArchiveMessageProto3); i {
   588  			case 0:
   589  				return &v.state
   590  			case 1:
   591  				return &v.sizeCache
   592  			case 2:
   593  				return &v.unknownFields
   594  			default:
   595  				return nil
   596  			}
   597  		}
   598  		file_messages_proto3_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
   599  			switch v := v.(*SimpleMessageProto3WithOptional); i {
   600  			case 0:
   601  				return &v.state
   602  			case 1:
   603  				return &v.sizeCache
   604  			case 2:
   605  				return &v.unknownFields
   606  			default:
   607  				return nil
   608  			}
   609  		}
   610  	}
   611  	file_messages_proto3_proto_msgTypes[4].OneofWrappers = []interface{}{}
   612  	type x struct{}
   613  	out := protoimpl.TypeBuilder{
   614  		File: protoimpl.DescBuilder{
   615  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   616  			RawDescriptor: file_messages_proto3_proto_rawDesc,
   617  			NumEnums:      0,
   618  			NumMessages:   5,
   619  			NumExtensions: 0,
   620  			NumServices:   0,
   621  		},
   622  		GoTypes:           file_messages_proto3_proto_goTypes,
   623  		DependencyIndexes: file_messages_proto3_proto_depIdxs,
   624  		MessageInfos:      file_messages_proto3_proto_msgTypes,
   625  	}.Build()
   626  	File_messages_proto3_proto = out.File
   627  	file_messages_proto3_proto_rawDesc = nil
   628  	file_messages_proto3_proto_goTypes = nil
   629  	file_messages_proto3_proto_depIdxs = nil
   630  }
   631  

View as plain text