...

Source file src/cloud.google.com/go/bigquery/storage/apiv1beta2/storagepb/protobuf.pb.go

Documentation: cloud.google.com/go/bigquery/storage/apiv1beta2/storagepb

     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  //     http://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.32.0
    18  // 	protoc        v4.25.2
    19  // source: google/cloud/bigquery/storage/v1beta2/protobuf.proto
    20  
    21  package storagepb
    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  	descriptorpb "google.golang.org/protobuf/types/descriptorpb"
    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  // ProtoSchema describes the schema of the serialized protocol buffer data rows.
    40  type ProtoSchema struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// Descriptor for input message. The descriptor has to be self contained,
    46  	// including all the nested types, excepted for proto buffer well known types
    47  	// (https://developers.google.com/protocol-buffers/docs/reference/google.protobuf).
    48  	ProtoDescriptor *descriptorpb.DescriptorProto `protobuf:"bytes,1,opt,name=proto_descriptor,json=protoDescriptor,proto3" json:"proto_descriptor,omitempty"`
    49  }
    50  
    51  func (x *ProtoSchema) Reset() {
    52  	*x = ProtoSchema{}
    53  	if protoimpl.UnsafeEnabled {
    54  		mi := &file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes[0]
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		ms.StoreMessageInfo(mi)
    57  	}
    58  }
    59  
    60  func (x *ProtoSchema) String() string {
    61  	return protoimpl.X.MessageStringOf(x)
    62  }
    63  
    64  func (*ProtoSchema) ProtoMessage() {}
    65  
    66  func (x *ProtoSchema) ProtoReflect() protoreflect.Message {
    67  	mi := &file_google_cloud_bigquery_storage_v1beta2_protobuf_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 ProtoSchema.ProtoReflect.Descriptor instead.
    79  func (*ProtoSchema) Descriptor() ([]byte, []int) {
    80  	return file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescGZIP(), []int{0}
    81  }
    82  
    83  func (x *ProtoSchema) GetProtoDescriptor() *descriptorpb.DescriptorProto {
    84  	if x != nil {
    85  		return x.ProtoDescriptor
    86  	}
    87  	return nil
    88  }
    89  
    90  type ProtoRows struct {
    91  	state         protoimpl.MessageState
    92  	sizeCache     protoimpl.SizeCache
    93  	unknownFields protoimpl.UnknownFields
    94  
    95  	// A sequence of rows serialized as a Protocol Buffer.
    96  	//
    97  	// See https://developers.google.com/protocol-buffers/docs/overview for more
    98  	// information on deserializing this field.
    99  	SerializedRows [][]byte `protobuf:"bytes,1,rep,name=serialized_rows,json=serializedRows,proto3" json:"serialized_rows,omitempty"`
   100  }
   101  
   102  func (x *ProtoRows) Reset() {
   103  	*x = ProtoRows{}
   104  	if protoimpl.UnsafeEnabled {
   105  		mi := &file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes[1]
   106  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   107  		ms.StoreMessageInfo(mi)
   108  	}
   109  }
   110  
   111  func (x *ProtoRows) String() string {
   112  	return protoimpl.X.MessageStringOf(x)
   113  }
   114  
   115  func (*ProtoRows) ProtoMessage() {}
   116  
   117  func (x *ProtoRows) ProtoReflect() protoreflect.Message {
   118  	mi := &file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes[1]
   119  	if protoimpl.UnsafeEnabled && x != nil {
   120  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   121  		if ms.LoadMessageInfo() == nil {
   122  			ms.StoreMessageInfo(mi)
   123  		}
   124  		return ms
   125  	}
   126  	return mi.MessageOf(x)
   127  }
   128  
   129  // Deprecated: Use ProtoRows.ProtoReflect.Descriptor instead.
   130  func (*ProtoRows) Descriptor() ([]byte, []int) {
   131  	return file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescGZIP(), []int{1}
   132  }
   133  
   134  func (x *ProtoRows) GetSerializedRows() [][]byte {
   135  	if x != nil {
   136  		return x.SerializedRows
   137  	}
   138  	return nil
   139  }
   140  
   141  var File_google_cloud_bigquery_storage_v1beta2_protobuf_proto protoreflect.FileDescriptor
   142  
   143  var file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDesc = []byte{
   144  	0x0a, 0x34, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
   145  	0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f,
   146  	0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
   147  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x25, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
   148  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x73, 0x74,
   149  	0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x1a, 0x20, 0x67,
   150  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64,
   151  	0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
   152  	0x5a, 0x0a, 0x0b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x4b,
   153  	0x0a, 0x10, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x5f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
   154  	0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   155  	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x65, 0x73, 0x63, 0x72,
   156  	0x69, 0x70, 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x52, 0x0f, 0x70, 0x72, 0x6f, 0x74,
   157  	0x6f, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x22, 0x34, 0x0a, 0x09, 0x50,
   158  	0x72, 0x6f, 0x74, 0x6f, 0x52, 0x6f, 0x77, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x73, 0x65, 0x72, 0x69,
   159  	0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
   160  	0x0c, 0x52, 0x0e, 0x73, 0x65, 0x72, 0x69, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x52, 0x6f, 0x77,
   161  	0x73, 0x42, 0x81, 0x01, 0x0a, 0x29, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   162  	0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e,
   163  	0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61, 0x32, 0x42,
   164  	0x0d, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x42, 0x75, 0x66, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01,
   165  	0x5a, 0x43, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
   166  	0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x73,
   167  	0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x62, 0x65, 0x74, 0x61,
   168  	0x32, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x70, 0x62, 0x3b, 0x73, 0x74, 0x6f, 0x72,
   169  	0x61, 0x67, 0x65, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   170  }
   171  
   172  var (
   173  	file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescOnce sync.Once
   174  	file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescData = file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDesc
   175  )
   176  
   177  func file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescGZIP() []byte {
   178  	file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescOnce.Do(func() {
   179  		file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescData)
   180  	})
   181  	return file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDescData
   182  }
   183  
   184  var file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   185  var file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_goTypes = []interface{}{
   186  	(*ProtoSchema)(nil),                  // 0: google.cloud.bigquery.storage.v1beta2.ProtoSchema
   187  	(*ProtoRows)(nil),                    // 1: google.cloud.bigquery.storage.v1beta2.ProtoRows
   188  	(*descriptorpb.DescriptorProto)(nil), // 2: google.protobuf.DescriptorProto
   189  }
   190  var file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_depIdxs = []int32{
   191  	2, // 0: google.cloud.bigquery.storage.v1beta2.ProtoSchema.proto_descriptor:type_name -> google.protobuf.DescriptorProto
   192  	1, // [1:1] is the sub-list for method output_type
   193  	1, // [1:1] is the sub-list for method input_type
   194  	1, // [1:1] is the sub-list for extension type_name
   195  	1, // [1:1] is the sub-list for extension extendee
   196  	0, // [0:1] is the sub-list for field type_name
   197  }
   198  
   199  func init() { file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_init() }
   200  func file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_init() {
   201  	if File_google_cloud_bigquery_storage_v1beta2_protobuf_proto != nil {
   202  		return
   203  	}
   204  	if !protoimpl.UnsafeEnabled {
   205  		file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   206  			switch v := v.(*ProtoSchema); i {
   207  			case 0:
   208  				return &v.state
   209  			case 1:
   210  				return &v.sizeCache
   211  			case 2:
   212  				return &v.unknownFields
   213  			default:
   214  				return nil
   215  			}
   216  		}
   217  		file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   218  			switch v := v.(*ProtoRows); i {
   219  			case 0:
   220  				return &v.state
   221  			case 1:
   222  				return &v.sizeCache
   223  			case 2:
   224  				return &v.unknownFields
   225  			default:
   226  				return nil
   227  			}
   228  		}
   229  	}
   230  	type x struct{}
   231  	out := protoimpl.TypeBuilder{
   232  		File: protoimpl.DescBuilder{
   233  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   234  			RawDescriptor: file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDesc,
   235  			NumEnums:      0,
   236  			NumMessages:   2,
   237  			NumExtensions: 0,
   238  			NumServices:   0,
   239  		},
   240  		GoTypes:           file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_goTypes,
   241  		DependencyIndexes: file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_depIdxs,
   242  		MessageInfos:      file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_msgTypes,
   243  	}.Build()
   244  	File_google_cloud_bigquery_storage_v1beta2_protobuf_proto = out.File
   245  	file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_rawDesc = nil
   246  	file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_goTypes = nil
   247  	file_google_cloud_bigquery_storage_v1beta2_protobuf_proto_depIdxs = nil
   248  }
   249  

View as plain text