...

Source file src/cloud.google.com/go/bigquery/storage/apiv1/storagepb/table.pb.go

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

     1  // Copyright 2023 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/v1/table.proto
    20  
    21  package storagepb
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    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  type TableFieldSchema_Type int32
    40  
    41  const (
    42  	// Illegal value
    43  	TableFieldSchema_TYPE_UNSPECIFIED TableFieldSchema_Type = 0
    44  	// 64K, UTF8
    45  	TableFieldSchema_STRING TableFieldSchema_Type = 1
    46  	// 64-bit signed
    47  	TableFieldSchema_INT64 TableFieldSchema_Type = 2
    48  	// 64-bit IEEE floating point
    49  	TableFieldSchema_DOUBLE TableFieldSchema_Type = 3
    50  	// Aggregate type
    51  	TableFieldSchema_STRUCT TableFieldSchema_Type = 4
    52  	// 64K, Binary
    53  	TableFieldSchema_BYTES TableFieldSchema_Type = 5
    54  	// 2-valued
    55  	TableFieldSchema_BOOL TableFieldSchema_Type = 6
    56  	// 64-bit signed usec since UTC epoch
    57  	TableFieldSchema_TIMESTAMP TableFieldSchema_Type = 7
    58  	// Civil date - Year, Month, Day
    59  	TableFieldSchema_DATE TableFieldSchema_Type = 8
    60  	// Civil time - Hour, Minute, Second, Microseconds
    61  	TableFieldSchema_TIME TableFieldSchema_Type = 9
    62  	// Combination of civil date and civil time
    63  	TableFieldSchema_DATETIME TableFieldSchema_Type = 10
    64  	// Geography object
    65  	TableFieldSchema_GEOGRAPHY TableFieldSchema_Type = 11
    66  	// Numeric value
    67  	TableFieldSchema_NUMERIC TableFieldSchema_Type = 12
    68  	// BigNumeric value
    69  	TableFieldSchema_BIGNUMERIC TableFieldSchema_Type = 13
    70  	// Interval
    71  	TableFieldSchema_INTERVAL TableFieldSchema_Type = 14
    72  	// JSON, String
    73  	TableFieldSchema_JSON TableFieldSchema_Type = 15
    74  	// RANGE
    75  	TableFieldSchema_RANGE TableFieldSchema_Type = 16
    76  )
    77  
    78  // Enum value maps for TableFieldSchema_Type.
    79  var (
    80  	TableFieldSchema_Type_name = map[int32]string{
    81  		0:  "TYPE_UNSPECIFIED",
    82  		1:  "STRING",
    83  		2:  "INT64",
    84  		3:  "DOUBLE",
    85  		4:  "STRUCT",
    86  		5:  "BYTES",
    87  		6:  "BOOL",
    88  		7:  "TIMESTAMP",
    89  		8:  "DATE",
    90  		9:  "TIME",
    91  		10: "DATETIME",
    92  		11: "GEOGRAPHY",
    93  		12: "NUMERIC",
    94  		13: "BIGNUMERIC",
    95  		14: "INTERVAL",
    96  		15: "JSON",
    97  		16: "RANGE",
    98  	}
    99  	TableFieldSchema_Type_value = map[string]int32{
   100  		"TYPE_UNSPECIFIED": 0,
   101  		"STRING":           1,
   102  		"INT64":            2,
   103  		"DOUBLE":           3,
   104  		"STRUCT":           4,
   105  		"BYTES":            5,
   106  		"BOOL":             6,
   107  		"TIMESTAMP":        7,
   108  		"DATE":             8,
   109  		"TIME":             9,
   110  		"DATETIME":         10,
   111  		"GEOGRAPHY":        11,
   112  		"NUMERIC":          12,
   113  		"BIGNUMERIC":       13,
   114  		"INTERVAL":         14,
   115  		"JSON":             15,
   116  		"RANGE":            16,
   117  	}
   118  )
   119  
   120  func (x TableFieldSchema_Type) Enum() *TableFieldSchema_Type {
   121  	p := new(TableFieldSchema_Type)
   122  	*p = x
   123  	return p
   124  }
   125  
   126  func (x TableFieldSchema_Type) String() string {
   127  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   128  }
   129  
   130  func (TableFieldSchema_Type) Descriptor() protoreflect.EnumDescriptor {
   131  	return file_google_cloud_bigquery_storage_v1_table_proto_enumTypes[0].Descriptor()
   132  }
   133  
   134  func (TableFieldSchema_Type) Type() protoreflect.EnumType {
   135  	return &file_google_cloud_bigquery_storage_v1_table_proto_enumTypes[0]
   136  }
   137  
   138  func (x TableFieldSchema_Type) Number() protoreflect.EnumNumber {
   139  	return protoreflect.EnumNumber(x)
   140  }
   141  
   142  // Deprecated: Use TableFieldSchema_Type.Descriptor instead.
   143  func (TableFieldSchema_Type) EnumDescriptor() ([]byte, []int) {
   144  	return file_google_cloud_bigquery_storage_v1_table_proto_rawDescGZIP(), []int{1, 0}
   145  }
   146  
   147  type TableFieldSchema_Mode int32
   148  
   149  const (
   150  	// Illegal value
   151  	TableFieldSchema_MODE_UNSPECIFIED TableFieldSchema_Mode = 0
   152  	TableFieldSchema_NULLABLE         TableFieldSchema_Mode = 1
   153  	TableFieldSchema_REQUIRED         TableFieldSchema_Mode = 2
   154  	TableFieldSchema_REPEATED         TableFieldSchema_Mode = 3
   155  )
   156  
   157  // Enum value maps for TableFieldSchema_Mode.
   158  var (
   159  	TableFieldSchema_Mode_name = map[int32]string{
   160  		0: "MODE_UNSPECIFIED",
   161  		1: "NULLABLE",
   162  		2: "REQUIRED",
   163  		3: "REPEATED",
   164  	}
   165  	TableFieldSchema_Mode_value = map[string]int32{
   166  		"MODE_UNSPECIFIED": 0,
   167  		"NULLABLE":         1,
   168  		"REQUIRED":         2,
   169  		"REPEATED":         3,
   170  	}
   171  )
   172  
   173  func (x TableFieldSchema_Mode) Enum() *TableFieldSchema_Mode {
   174  	p := new(TableFieldSchema_Mode)
   175  	*p = x
   176  	return p
   177  }
   178  
   179  func (x TableFieldSchema_Mode) String() string {
   180  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
   181  }
   182  
   183  func (TableFieldSchema_Mode) Descriptor() protoreflect.EnumDescriptor {
   184  	return file_google_cloud_bigquery_storage_v1_table_proto_enumTypes[1].Descriptor()
   185  }
   186  
   187  func (TableFieldSchema_Mode) Type() protoreflect.EnumType {
   188  	return &file_google_cloud_bigquery_storage_v1_table_proto_enumTypes[1]
   189  }
   190  
   191  func (x TableFieldSchema_Mode) Number() protoreflect.EnumNumber {
   192  	return protoreflect.EnumNumber(x)
   193  }
   194  
   195  // Deprecated: Use TableFieldSchema_Mode.Descriptor instead.
   196  func (TableFieldSchema_Mode) EnumDescriptor() ([]byte, []int) {
   197  	return file_google_cloud_bigquery_storage_v1_table_proto_rawDescGZIP(), []int{1, 1}
   198  }
   199  
   200  // Schema of a table. This schema is a subset of
   201  // google.cloud.bigquery.v2.TableSchema containing information necessary to
   202  // generate valid message to write to BigQuery.
   203  type TableSchema struct {
   204  	state         protoimpl.MessageState
   205  	sizeCache     protoimpl.SizeCache
   206  	unknownFields protoimpl.UnknownFields
   207  
   208  	// Describes the fields in a table.
   209  	Fields []*TableFieldSchema `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
   210  }
   211  
   212  func (x *TableSchema) Reset() {
   213  	*x = TableSchema{}
   214  	if protoimpl.UnsafeEnabled {
   215  		mi := &file_google_cloud_bigquery_storage_v1_table_proto_msgTypes[0]
   216  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   217  		ms.StoreMessageInfo(mi)
   218  	}
   219  }
   220  
   221  func (x *TableSchema) String() string {
   222  	return protoimpl.X.MessageStringOf(x)
   223  }
   224  
   225  func (*TableSchema) ProtoMessage() {}
   226  
   227  func (x *TableSchema) ProtoReflect() protoreflect.Message {
   228  	mi := &file_google_cloud_bigquery_storage_v1_table_proto_msgTypes[0]
   229  	if protoimpl.UnsafeEnabled && x != nil {
   230  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   231  		if ms.LoadMessageInfo() == nil {
   232  			ms.StoreMessageInfo(mi)
   233  		}
   234  		return ms
   235  	}
   236  	return mi.MessageOf(x)
   237  }
   238  
   239  // Deprecated: Use TableSchema.ProtoReflect.Descriptor instead.
   240  func (*TableSchema) Descriptor() ([]byte, []int) {
   241  	return file_google_cloud_bigquery_storage_v1_table_proto_rawDescGZIP(), []int{0}
   242  }
   243  
   244  func (x *TableSchema) GetFields() []*TableFieldSchema {
   245  	if x != nil {
   246  		return x.Fields
   247  	}
   248  	return nil
   249  }
   250  
   251  // TableFieldSchema defines a single field/column within a table schema.
   252  type TableFieldSchema struct {
   253  	state         protoimpl.MessageState
   254  	sizeCache     protoimpl.SizeCache
   255  	unknownFields protoimpl.UnknownFields
   256  
   257  	// Required. The field name. The name must contain only letters (a-z, A-Z),
   258  	// numbers (0-9), or underscores (_), and must start with a letter or
   259  	// underscore. The maximum length is 128 characters.
   260  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
   261  	// Required. The field data type.
   262  	Type TableFieldSchema_Type `protobuf:"varint,2,opt,name=type,proto3,enum=google.cloud.bigquery.storage.v1.TableFieldSchema_Type" json:"type,omitempty"`
   263  	// Optional. The field mode. The default value is NULLABLE.
   264  	Mode TableFieldSchema_Mode `protobuf:"varint,3,opt,name=mode,proto3,enum=google.cloud.bigquery.storage.v1.TableFieldSchema_Mode" json:"mode,omitempty"`
   265  	// Optional. Describes the nested schema fields if the type property is set to
   266  	// STRUCT.
   267  	Fields []*TableFieldSchema `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"`
   268  	// Optional. The field description. The maximum length is 1,024 characters.
   269  	Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"`
   270  	// Optional. Maximum length of values of this field for STRINGS or BYTES.
   271  	//
   272  	// If max_length is not specified, no maximum length constraint is imposed
   273  	// on this field.
   274  	//
   275  	// If type = "STRING", then max_length represents the maximum UTF-8
   276  	// length of strings in this field.
   277  	//
   278  	// If type = "BYTES", then max_length represents the maximum number of
   279  	// bytes in this field.
   280  	//
   281  	// It is invalid to set this field if type is not "STRING" or "BYTES".
   282  	MaxLength int64 `protobuf:"varint,7,opt,name=max_length,json=maxLength,proto3" json:"max_length,omitempty"`
   283  	// Optional. Precision (maximum number of total digits in base 10) and scale
   284  	// (maximum number of digits in the fractional part in base 10) constraints
   285  	// for values of this field for NUMERIC or BIGNUMERIC.
   286  	//
   287  	// It is invalid to set precision or scale if type is not "NUMERIC" or
   288  	// "BIGNUMERIC".
   289  	//
   290  	// If precision and scale are not specified, no value range constraint is
   291  	// imposed on this field insofar as values are permitted by the type.
   292  	//
   293  	// Values of this NUMERIC or BIGNUMERIC field must be in this range when:
   294  	//
   295  	//   - Precision (P) and scale (S) are specified:
   296  	//     [-10^(P-S) + 10^(-S), 10^(P-S) - 10^(-S)]
   297  	//   - Precision (P) is specified but not scale (and thus scale is
   298  	//     interpreted to be equal to zero):
   299  	//     [-10^P + 1, 10^P - 1].
   300  	//
   301  	// Acceptable values for precision and scale if both are specified:
   302  	//
   303  	//   - If type = "NUMERIC":
   304  	//     1 <= precision - scale <= 29 and 0 <= scale <= 9.
   305  	//   - If type = "BIGNUMERIC":
   306  	//     1 <= precision - scale <= 38 and 0 <= scale <= 38.
   307  	//
   308  	// Acceptable values for precision if only precision is specified but not
   309  	// scale (and thus scale is interpreted to be equal to zero):
   310  	//
   311  	// * If type = "NUMERIC": 1 <= precision <= 29.
   312  	// * If type = "BIGNUMERIC": 1 <= precision <= 38.
   313  	//
   314  	// If scale is specified but not precision, then it is invalid.
   315  	Precision int64 `protobuf:"varint,8,opt,name=precision,proto3" json:"precision,omitempty"`
   316  	// Optional. See documentation for precision.
   317  	Scale int64 `protobuf:"varint,9,opt,name=scale,proto3" json:"scale,omitempty"`
   318  	// Optional. A SQL expression to specify the [default value]
   319  	// (https://cloud.google.com/bigquery/docs/default-values) for this field.
   320  	DefaultValueExpression string `protobuf:"bytes,10,opt,name=default_value_expression,json=defaultValueExpression,proto3" json:"default_value_expression,omitempty"`
   321  	// Optional. The subtype of the RANGE, if the type of this field is RANGE. If
   322  	// the type is RANGE, this field is required. Possible values for the field
   323  	// element type of a RANGE include:
   324  	// * DATE
   325  	// * DATETIME
   326  	// * TIMESTAMP
   327  	RangeElementType *TableFieldSchema_FieldElementType `protobuf:"bytes,11,opt,name=range_element_type,json=rangeElementType,proto3" json:"range_element_type,omitempty"`
   328  }
   329  
   330  func (x *TableFieldSchema) Reset() {
   331  	*x = TableFieldSchema{}
   332  	if protoimpl.UnsafeEnabled {
   333  		mi := &file_google_cloud_bigquery_storage_v1_table_proto_msgTypes[1]
   334  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   335  		ms.StoreMessageInfo(mi)
   336  	}
   337  }
   338  
   339  func (x *TableFieldSchema) String() string {
   340  	return protoimpl.X.MessageStringOf(x)
   341  }
   342  
   343  func (*TableFieldSchema) ProtoMessage() {}
   344  
   345  func (x *TableFieldSchema) ProtoReflect() protoreflect.Message {
   346  	mi := &file_google_cloud_bigquery_storage_v1_table_proto_msgTypes[1]
   347  	if protoimpl.UnsafeEnabled && x != nil {
   348  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   349  		if ms.LoadMessageInfo() == nil {
   350  			ms.StoreMessageInfo(mi)
   351  		}
   352  		return ms
   353  	}
   354  	return mi.MessageOf(x)
   355  }
   356  
   357  // Deprecated: Use TableFieldSchema.ProtoReflect.Descriptor instead.
   358  func (*TableFieldSchema) Descriptor() ([]byte, []int) {
   359  	return file_google_cloud_bigquery_storage_v1_table_proto_rawDescGZIP(), []int{1}
   360  }
   361  
   362  func (x *TableFieldSchema) GetName() string {
   363  	if x != nil {
   364  		return x.Name
   365  	}
   366  	return ""
   367  }
   368  
   369  func (x *TableFieldSchema) GetType() TableFieldSchema_Type {
   370  	if x != nil {
   371  		return x.Type
   372  	}
   373  	return TableFieldSchema_TYPE_UNSPECIFIED
   374  }
   375  
   376  func (x *TableFieldSchema) GetMode() TableFieldSchema_Mode {
   377  	if x != nil {
   378  		return x.Mode
   379  	}
   380  	return TableFieldSchema_MODE_UNSPECIFIED
   381  }
   382  
   383  func (x *TableFieldSchema) GetFields() []*TableFieldSchema {
   384  	if x != nil {
   385  		return x.Fields
   386  	}
   387  	return nil
   388  }
   389  
   390  func (x *TableFieldSchema) GetDescription() string {
   391  	if x != nil {
   392  		return x.Description
   393  	}
   394  	return ""
   395  }
   396  
   397  func (x *TableFieldSchema) GetMaxLength() int64 {
   398  	if x != nil {
   399  		return x.MaxLength
   400  	}
   401  	return 0
   402  }
   403  
   404  func (x *TableFieldSchema) GetPrecision() int64 {
   405  	if x != nil {
   406  		return x.Precision
   407  	}
   408  	return 0
   409  }
   410  
   411  func (x *TableFieldSchema) GetScale() int64 {
   412  	if x != nil {
   413  		return x.Scale
   414  	}
   415  	return 0
   416  }
   417  
   418  func (x *TableFieldSchema) GetDefaultValueExpression() string {
   419  	if x != nil {
   420  		return x.DefaultValueExpression
   421  	}
   422  	return ""
   423  }
   424  
   425  func (x *TableFieldSchema) GetRangeElementType() *TableFieldSchema_FieldElementType {
   426  	if x != nil {
   427  		return x.RangeElementType
   428  	}
   429  	return nil
   430  }
   431  
   432  // Represents the type of a field element.
   433  type TableFieldSchema_FieldElementType struct {
   434  	state         protoimpl.MessageState
   435  	sizeCache     protoimpl.SizeCache
   436  	unknownFields protoimpl.UnknownFields
   437  
   438  	// Required. The type of a field element.
   439  	Type TableFieldSchema_Type `protobuf:"varint,1,opt,name=type,proto3,enum=google.cloud.bigquery.storage.v1.TableFieldSchema_Type" json:"type,omitempty"`
   440  }
   441  
   442  func (x *TableFieldSchema_FieldElementType) Reset() {
   443  	*x = TableFieldSchema_FieldElementType{}
   444  	if protoimpl.UnsafeEnabled {
   445  		mi := &file_google_cloud_bigquery_storage_v1_table_proto_msgTypes[2]
   446  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   447  		ms.StoreMessageInfo(mi)
   448  	}
   449  }
   450  
   451  func (x *TableFieldSchema_FieldElementType) String() string {
   452  	return protoimpl.X.MessageStringOf(x)
   453  }
   454  
   455  func (*TableFieldSchema_FieldElementType) ProtoMessage() {}
   456  
   457  func (x *TableFieldSchema_FieldElementType) ProtoReflect() protoreflect.Message {
   458  	mi := &file_google_cloud_bigquery_storage_v1_table_proto_msgTypes[2]
   459  	if protoimpl.UnsafeEnabled && x != nil {
   460  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   461  		if ms.LoadMessageInfo() == nil {
   462  			ms.StoreMessageInfo(mi)
   463  		}
   464  		return ms
   465  	}
   466  	return mi.MessageOf(x)
   467  }
   468  
   469  // Deprecated: Use TableFieldSchema_FieldElementType.ProtoReflect.Descriptor instead.
   470  func (*TableFieldSchema_FieldElementType) Descriptor() ([]byte, []int) {
   471  	return file_google_cloud_bigquery_storage_v1_table_proto_rawDescGZIP(), []int{1, 0}
   472  }
   473  
   474  func (x *TableFieldSchema_FieldElementType) GetType() TableFieldSchema_Type {
   475  	if x != nil {
   476  		return x.Type
   477  	}
   478  	return TableFieldSchema_TYPE_UNSPECIFIED
   479  }
   480  
   481  var File_google_cloud_bigquery_storage_v1_table_proto protoreflect.FileDescriptor
   482  
   483  var file_google_cloud_bigquery_storage_v1_table_proto_rawDesc = []byte{
   484  	0x0a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
   485  	0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f,
   486  	0x76, 0x31, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20,
   487  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67,
   488  	0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31,
   489  	0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65,
   490  	0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   491  	0x6f, 0x22, 0x59, 0x0a, 0x0b, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61,
   492  	0x12, 0x4a, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
   493  	0x32, 0x32, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
   494  	0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65,
   495  	0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63,
   496  	0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x22, 0xf1, 0x07, 0x0a,
   497  	0x10, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d,
   498  	0x61, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42,
   499  	0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x50, 0x0a, 0x04, 0x74, 0x79,
   500  	0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   501  	0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
   502  	0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c,
   503  	0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x79, 0x70,
   504  	0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x50, 0x0a, 0x04,
   505  	0x6d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f,
   506  	0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
   507  	0x72, 0x79, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61,
   508  	0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x4d,
   509  	0x6f, 0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x04, 0x6d, 0x6f, 0x64, 0x65, 0x12, 0x4f,
   510  	0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x32,
   511  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
   512  	0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76,
   513  	0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53, 0x63, 0x68, 0x65,
   514  	0x6d, 0x61, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x12,
   515  	0x25, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x06,
   516  	0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72,
   517  	0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x65,
   518  	0x6e, 0x67, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
   519  	0x09, 0x6d, 0x61, 0x78, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x09, 0x70, 0x72,
   520  	0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0,
   521  	0x41, 0x01, 0x52, 0x09, 0x70, 0x72, 0x65, 0x63, 0x69, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x0a,
   522  	0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x42, 0x03, 0xe0, 0x41,
   523  	0x01, 0x52, 0x05, 0x73, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x3d, 0x0a, 0x18, 0x64, 0x65, 0x66, 0x61,
   524  	0x75, 0x6c, 0x74, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73,
   525  	0x73, 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
   526  	0x16, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x45, 0x78, 0x70,
   527  	0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x76, 0x0a, 0x12, 0x72, 0x61, 0x6e, 0x67, 0x65,
   528  	0x5f, 0x65, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x0b, 0x20,
   529  	0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f,
   530  	0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x73, 0x74, 0x6f, 0x72,
   531  	0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c,
   532  	0x64, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6c, 0x65,
   533  	0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x10, 0x72,
   534  	0x61, 0x6e, 0x67, 0x65, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x1a,
   535  	0x64, 0x0a, 0x10, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x45, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x54,
   536  	0x79, 0x70, 0x65, 0x12, 0x50, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
   537  	0x0e, 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   538  	0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67,
   539  	0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x53,
   540  	0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
   541  	0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xe0, 0x01, 0x0a, 0x04, 0x54, 0x79, 0x70, 0x65, 0x12, 0x14,
   542  	0x0a, 0x10, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49,
   543  	0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4e, 0x47, 0x10, 0x01,
   544  	0x12, 0x09, 0x0a, 0x05, 0x49, 0x4e, 0x54, 0x36, 0x34, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x44,
   545  	0x4f, 0x55, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x55, 0x43,
   546  	0x54, 0x10, 0x04, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x59, 0x54, 0x45, 0x53, 0x10, 0x05, 0x12, 0x08,
   547  	0x0a, 0x04, 0x42, 0x4f, 0x4f, 0x4c, 0x10, 0x06, 0x12, 0x0d, 0x0a, 0x09, 0x54, 0x49, 0x4d, 0x45,
   548  	0x53, 0x54, 0x41, 0x4d, 0x50, 0x10, 0x07, 0x12, 0x08, 0x0a, 0x04, 0x44, 0x41, 0x54, 0x45, 0x10,
   549  	0x08, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x09, 0x12, 0x0c, 0x0a, 0x08, 0x44,
   550  	0x41, 0x54, 0x45, 0x54, 0x49, 0x4d, 0x45, 0x10, 0x0a, 0x12, 0x0d, 0x0a, 0x09, 0x47, 0x45, 0x4f,
   551  	0x47, 0x52, 0x41, 0x50, 0x48, 0x59, 0x10, 0x0b, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x55, 0x4d, 0x45,
   552  	0x52, 0x49, 0x43, 0x10, 0x0c, 0x12, 0x0e, 0x0a, 0x0a, 0x42, 0x49, 0x47, 0x4e, 0x55, 0x4d, 0x45,
   553  	0x52, 0x49, 0x43, 0x10, 0x0d, 0x12, 0x0c, 0x0a, 0x08, 0x49, 0x4e, 0x54, 0x45, 0x52, 0x56, 0x41,
   554  	0x4c, 0x10, 0x0e, 0x12, 0x08, 0x0a, 0x04, 0x4a, 0x53, 0x4f, 0x4e, 0x10, 0x0f, 0x12, 0x09, 0x0a,
   555  	0x05, 0x52, 0x41, 0x4e, 0x47, 0x45, 0x10, 0x10, 0x22, 0x46, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65,
   556  	0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
   557  	0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x55, 0x4c, 0x4c, 0x41, 0x42,
   558  	0x4c, 0x45, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x51, 0x55, 0x49, 0x52, 0x45, 0x44,
   559  	0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x45, 0x50, 0x45, 0x41, 0x54, 0x45, 0x44, 0x10, 0x03,
   560  	0x42, 0xba, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   561  	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x73,
   562  	0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x54, 0x61, 0x62, 0x6c, 0x65,
   563  	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67,
   564  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67,
   565  	0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2f, 0x61, 0x70,
   566  	0x69, 0x76, 0x31, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x70, 0x62, 0x3b, 0x73, 0x74,
   567  	0x6f, 0x72, 0x61, 0x67, 0x65, 0x70, 0x62, 0xaa, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   568  	0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e,
   569  	0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f,
   570  	0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65,
   571  	0x72, 0x79, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70,
   572  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   573  }
   574  
   575  var (
   576  	file_google_cloud_bigquery_storage_v1_table_proto_rawDescOnce sync.Once
   577  	file_google_cloud_bigquery_storage_v1_table_proto_rawDescData = file_google_cloud_bigquery_storage_v1_table_proto_rawDesc
   578  )
   579  
   580  func file_google_cloud_bigquery_storage_v1_table_proto_rawDescGZIP() []byte {
   581  	file_google_cloud_bigquery_storage_v1_table_proto_rawDescOnce.Do(func() {
   582  		file_google_cloud_bigquery_storage_v1_table_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_storage_v1_table_proto_rawDescData)
   583  	})
   584  	return file_google_cloud_bigquery_storage_v1_table_proto_rawDescData
   585  }
   586  
   587  var file_google_cloud_bigquery_storage_v1_table_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
   588  var file_google_cloud_bigquery_storage_v1_table_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
   589  var file_google_cloud_bigquery_storage_v1_table_proto_goTypes = []interface{}{
   590  	(TableFieldSchema_Type)(0),                // 0: google.cloud.bigquery.storage.v1.TableFieldSchema.Type
   591  	(TableFieldSchema_Mode)(0),                // 1: google.cloud.bigquery.storage.v1.TableFieldSchema.Mode
   592  	(*TableSchema)(nil),                       // 2: google.cloud.bigquery.storage.v1.TableSchema
   593  	(*TableFieldSchema)(nil),                  // 3: google.cloud.bigquery.storage.v1.TableFieldSchema
   594  	(*TableFieldSchema_FieldElementType)(nil), // 4: google.cloud.bigquery.storage.v1.TableFieldSchema.FieldElementType
   595  }
   596  var file_google_cloud_bigquery_storage_v1_table_proto_depIdxs = []int32{
   597  	3, // 0: google.cloud.bigquery.storage.v1.TableSchema.fields:type_name -> google.cloud.bigquery.storage.v1.TableFieldSchema
   598  	0, // 1: google.cloud.bigquery.storage.v1.TableFieldSchema.type:type_name -> google.cloud.bigquery.storage.v1.TableFieldSchema.Type
   599  	1, // 2: google.cloud.bigquery.storage.v1.TableFieldSchema.mode:type_name -> google.cloud.bigquery.storage.v1.TableFieldSchema.Mode
   600  	3, // 3: google.cloud.bigquery.storage.v1.TableFieldSchema.fields:type_name -> google.cloud.bigquery.storage.v1.TableFieldSchema
   601  	4, // 4: google.cloud.bigquery.storage.v1.TableFieldSchema.range_element_type:type_name -> google.cloud.bigquery.storage.v1.TableFieldSchema.FieldElementType
   602  	0, // 5: google.cloud.bigquery.storage.v1.TableFieldSchema.FieldElementType.type:type_name -> google.cloud.bigquery.storage.v1.TableFieldSchema.Type
   603  	6, // [6:6] is the sub-list for method output_type
   604  	6, // [6:6] is the sub-list for method input_type
   605  	6, // [6:6] is the sub-list for extension type_name
   606  	6, // [6:6] is the sub-list for extension extendee
   607  	0, // [0:6] is the sub-list for field type_name
   608  }
   609  
   610  func init() { file_google_cloud_bigquery_storage_v1_table_proto_init() }
   611  func file_google_cloud_bigquery_storage_v1_table_proto_init() {
   612  	if File_google_cloud_bigquery_storage_v1_table_proto != nil {
   613  		return
   614  	}
   615  	if !protoimpl.UnsafeEnabled {
   616  		file_google_cloud_bigquery_storage_v1_table_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   617  			switch v := v.(*TableSchema); i {
   618  			case 0:
   619  				return &v.state
   620  			case 1:
   621  				return &v.sizeCache
   622  			case 2:
   623  				return &v.unknownFields
   624  			default:
   625  				return nil
   626  			}
   627  		}
   628  		file_google_cloud_bigquery_storage_v1_table_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   629  			switch v := v.(*TableFieldSchema); i {
   630  			case 0:
   631  				return &v.state
   632  			case 1:
   633  				return &v.sizeCache
   634  			case 2:
   635  				return &v.unknownFields
   636  			default:
   637  				return nil
   638  			}
   639  		}
   640  		file_google_cloud_bigquery_storage_v1_table_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
   641  			switch v := v.(*TableFieldSchema_FieldElementType); i {
   642  			case 0:
   643  				return &v.state
   644  			case 1:
   645  				return &v.sizeCache
   646  			case 2:
   647  				return &v.unknownFields
   648  			default:
   649  				return nil
   650  			}
   651  		}
   652  	}
   653  	type x struct{}
   654  	out := protoimpl.TypeBuilder{
   655  		File: protoimpl.DescBuilder{
   656  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   657  			RawDescriptor: file_google_cloud_bigquery_storage_v1_table_proto_rawDesc,
   658  			NumEnums:      2,
   659  			NumMessages:   3,
   660  			NumExtensions: 0,
   661  			NumServices:   0,
   662  		},
   663  		GoTypes:           file_google_cloud_bigquery_storage_v1_table_proto_goTypes,
   664  		DependencyIndexes: file_google_cloud_bigquery_storage_v1_table_proto_depIdxs,
   665  		EnumInfos:         file_google_cloud_bigquery_storage_v1_table_proto_enumTypes,
   666  		MessageInfos:      file_google_cloud_bigquery_storage_v1_table_proto_msgTypes,
   667  	}.Build()
   668  	File_google_cloud_bigquery_storage_v1_table_proto = out.File
   669  	file_google_cloud_bigquery_storage_v1_table_proto_rawDesc = nil
   670  	file_google_cloud_bigquery_storage_v1_table_proto_goTypes = nil
   671  	file_google_cloud_bigquery_storage_v1_table_proto_depIdxs = nil
   672  }
   673  

View as plain text