You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

150 lines
6.3 KiB

  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: google/cloud/bigquery/storage/v1beta1/table_reference.proto
  3. package storage // import "google.golang.org/genproto/googleapis/cloud/bigquery/storage/v1beta1"
  4. import proto "github.com/golang/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import timestamp "github.com/golang/protobuf/ptypes/timestamp"
  8. // Reference imports to suppress errors if they are not otherwise used.
  9. var _ = proto.Marshal
  10. var _ = fmt.Errorf
  11. var _ = math.Inf
  12. // This is a compile-time assertion to ensure that this generated file
  13. // is compatible with the proto package it is being compiled against.
  14. // A compilation error at this line likely means your copy of the
  15. // proto package needs to be updated.
  16. const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package
  17. // Table reference that includes just the 3 strings needed to identify a table.
  18. type TableReference struct {
  19. // The assigned project ID of the project.
  20. ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
  21. // The ID of the dataset in the above project.
  22. DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
  23. // The ID of the table in the above dataset.
  24. TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
  25. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  26. XXX_unrecognized []byte `json:"-"`
  27. XXX_sizecache int32 `json:"-"`
  28. }
  29. func (m *TableReference) Reset() { *m = TableReference{} }
  30. func (m *TableReference) String() string { return proto.CompactTextString(m) }
  31. func (*TableReference) ProtoMessage() {}
  32. func (*TableReference) Descriptor() ([]byte, []int) {
  33. return fileDescriptor_table_reference_b1b948abe2dd75a4, []int{0}
  34. }
  35. func (m *TableReference) XXX_Unmarshal(b []byte) error {
  36. return xxx_messageInfo_TableReference.Unmarshal(m, b)
  37. }
  38. func (m *TableReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  39. return xxx_messageInfo_TableReference.Marshal(b, m, deterministic)
  40. }
  41. func (dst *TableReference) XXX_Merge(src proto.Message) {
  42. xxx_messageInfo_TableReference.Merge(dst, src)
  43. }
  44. func (m *TableReference) XXX_Size() int {
  45. return xxx_messageInfo_TableReference.Size(m)
  46. }
  47. func (m *TableReference) XXX_DiscardUnknown() {
  48. xxx_messageInfo_TableReference.DiscardUnknown(m)
  49. }
  50. var xxx_messageInfo_TableReference proto.InternalMessageInfo
  51. func (m *TableReference) GetProjectId() string {
  52. if m != nil {
  53. return m.ProjectId
  54. }
  55. return ""
  56. }
  57. func (m *TableReference) GetDatasetId() string {
  58. if m != nil {
  59. return m.DatasetId
  60. }
  61. return ""
  62. }
  63. func (m *TableReference) GetTableId() string {
  64. if m != nil {
  65. return m.TableId
  66. }
  67. return ""
  68. }
  69. // All fields in this message optional.
  70. type TableModifiers struct {
  71. // The snapshot time of the table. If not set, interpreted as now.
  72. SnapshotTime *timestamp.Timestamp `protobuf:"bytes,1,opt,name=snapshot_time,json=snapshotTime,proto3" json:"snapshot_time,omitempty"`
  73. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  74. XXX_unrecognized []byte `json:"-"`
  75. XXX_sizecache int32 `json:"-"`
  76. }
  77. func (m *TableModifiers) Reset() { *m = TableModifiers{} }
  78. func (m *TableModifiers) String() string { return proto.CompactTextString(m) }
  79. func (*TableModifiers) ProtoMessage() {}
  80. func (*TableModifiers) Descriptor() ([]byte, []int) {
  81. return fileDescriptor_table_reference_b1b948abe2dd75a4, []int{1}
  82. }
  83. func (m *TableModifiers) XXX_Unmarshal(b []byte) error {
  84. return xxx_messageInfo_TableModifiers.Unmarshal(m, b)
  85. }
  86. func (m *TableModifiers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  87. return xxx_messageInfo_TableModifiers.Marshal(b, m, deterministic)
  88. }
  89. func (dst *TableModifiers) XXX_Merge(src proto.Message) {
  90. xxx_messageInfo_TableModifiers.Merge(dst, src)
  91. }
  92. func (m *TableModifiers) XXX_Size() int {
  93. return xxx_messageInfo_TableModifiers.Size(m)
  94. }
  95. func (m *TableModifiers) XXX_DiscardUnknown() {
  96. xxx_messageInfo_TableModifiers.DiscardUnknown(m)
  97. }
  98. var xxx_messageInfo_TableModifiers proto.InternalMessageInfo
  99. func (m *TableModifiers) GetSnapshotTime() *timestamp.Timestamp {
  100. if m != nil {
  101. return m.SnapshotTime
  102. }
  103. return nil
  104. }
  105. func init() {
  106. proto.RegisterType((*TableReference)(nil), "google.cloud.bigquery.storage.v1beta1.TableReference")
  107. proto.RegisterType((*TableModifiers)(nil), "google.cloud.bigquery.storage.v1beta1.TableModifiers")
  108. }
  109. func init() {
  110. proto.RegisterFile("google/cloud/bigquery/storage/v1beta1/table_reference.proto", fileDescriptor_table_reference_b1b948abe2dd75a4)
  111. }
  112. var fileDescriptor_table_reference_b1b948abe2dd75a4 = []byte{
  113. // 281 bytes of a gzipped FileDescriptorProto
  114. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x91, 0x4f, 0x4b, 0xc4, 0x30,
  115. 0x10, 0xc5, 0xa9, 0x82, 0xba, 0xf1, 0xcf, 0xa1, 0x5e, 0xd6, 0x05, 0x51, 0x16, 0x04, 0xbd, 0x24,
  116. 0xac, 0x1e, 0xf7, 0x20, 0xec, 0xad, 0xa0, 0xa0, 0x65, 0x4f, 0x5e, 0x4a, 0xda, 0x4c, 0x63, 0xa4,
  117. 0xed, 0xd4, 0x24, 0x15, 0xfc, 0x12, 0x7e, 0x66, 0xc9, 0xbf, 0x83, 0x27, 0xf7, 0x38, 0xf3, 0xf8,
  118. 0xbd, 0xf7, 0x26, 0x21, 0x6b, 0x89, 0x28, 0x3b, 0x60, 0x4d, 0x87, 0x93, 0x60, 0xb5, 0x92, 0x9f,
  119. 0x13, 0xe8, 0x6f, 0x66, 0x2c, 0x6a, 0x2e, 0x81, 0x7d, 0xad, 0x6a, 0xb0, 0x7c, 0xc5, 0x2c, 0xaf,
  120. 0x3b, 0xa8, 0x34, 0xb4, 0xa0, 0x61, 0x68, 0x80, 0x8e, 0x1a, 0x2d, 0xe6, 0x37, 0x01, 0xa6, 0x1e,
  121. 0xa6, 0x09, 0xa6, 0x11, 0xa6, 0x11, 0x5e, 0x5c, 0xc5, 0x0c, 0x0f, 0xd5, 0x53, 0xcb, 0xac, 0xea,
  122. 0xc1, 0x58, 0xde, 0x8f, 0xc1, 0x67, 0xa9, 0xc8, 0xd9, 0xd6, 0x05, 0x94, 0xc9, 0x3f, 0xbf, 0x24,
  123. 0x64, 0xd4, 0xf8, 0x01, 0x8d, 0xad, 0x94, 0x98, 0x67, 0xd7, 0xd9, 0xed, 0xac, 0x9c, 0xc5, 0x4d,
  124. 0x21, 0x9c, 0x2c, 0xb8, 0xe5, 0x06, 0xbc, 0xbc, 0x17, 0xe4, 0xb8, 0x29, 0x44, 0x7e, 0x41, 0x8e,
  125. 0x42, 0x61, 0x25, 0xe6, 0xfb, 0x5e, 0x3c, 0xf4, 0x73, 0x21, 0x96, 0xaf, 0x31, 0xea, 0x19, 0x85,
  126. 0x6a, 0x15, 0x68, 0x93, 0x3f, 0x92, 0x53, 0x33, 0xf0, 0xd1, 0xbc, 0xa3, 0xad, 0x5c, 0x31, 0x9f,
  127. 0x76, 0x7c, 0xbf, 0xa0, 0xf1, 0xb8, 0xd4, 0x9a, 0x6e, 0x53, 0xeb, 0xf2, 0x24, 0x01, 0x6e, 0xb5,
  128. 0xf9, 0xc9, 0xc8, 0x5d, 0x83, 0x3d, 0xdd, 0xe9, 0x31, 0x36, 0xe7, 0x7f, 0x2f, 0x7d, 0x71, 0xee,
  129. 0x6f, 0x4f, 0x91, 0x95, 0xd8, 0xf1, 0x41, 0x52, 0xd4, 0x92, 0x49, 0x18, 0x7c, 0x32, 0x0b, 0x12,
  130. 0x1f, 0x95, 0xf9, 0xe7, 0x93, 0xd6, 0x71, 0xae, 0x0f, 0x3c, 0xf8, 0xf0, 0x1b, 0x00, 0x00, 0xff,
  131. 0xff, 0xb3, 0xa1, 0xcb, 0xc3, 0xdc, 0x01, 0x00, 0x00,
  132. }