1 // Copyright 2022 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 aliasgen. DO NOT EDIT. 16 17 // Package dataexchange aliases all exported identifiers in package 18 // "cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb". 19 // 20 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb. 21 // Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md 22 // for more details. 23 package dataexchange 24 25 import ( 26 src "cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb" 27 grpc "google.golang.org/grpc" 28 ) 29 30 // Deprecated: Please use consts in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 31 const ( 32 Listing_ACTIVE = src.Listing_ACTIVE 33 Listing_CATEGORY_ADVERTISING_AND_MARKETING = src.Listing_CATEGORY_ADVERTISING_AND_MARKETING 34 Listing_CATEGORY_CLIMATE_AND_ENVIRONMENT = src.Listing_CATEGORY_CLIMATE_AND_ENVIRONMENT 35 Listing_CATEGORY_COMMERCE = src.Listing_CATEGORY_COMMERCE 36 Listing_CATEGORY_DEMOGRAPHICS = src.Listing_CATEGORY_DEMOGRAPHICS 37 Listing_CATEGORY_ECONOMICS = src.Listing_CATEGORY_ECONOMICS 38 Listing_CATEGORY_EDUCATION = src.Listing_CATEGORY_EDUCATION 39 Listing_CATEGORY_ENERGY = src.Listing_CATEGORY_ENERGY 40 Listing_CATEGORY_FINANCIAL = src.Listing_CATEGORY_FINANCIAL 41 Listing_CATEGORY_GAMING = src.Listing_CATEGORY_GAMING 42 Listing_CATEGORY_GEOSPATIAL = src.Listing_CATEGORY_GEOSPATIAL 43 Listing_CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE = src.Listing_CATEGORY_HEALTHCARE_AND_LIFE_SCIENCE 44 Listing_CATEGORY_MEDIA = src.Listing_CATEGORY_MEDIA 45 Listing_CATEGORY_OTHERS = src.Listing_CATEGORY_OTHERS 46 Listing_CATEGORY_PUBLIC_SECTOR = src.Listing_CATEGORY_PUBLIC_SECTOR 47 Listing_CATEGORY_RETAIL = src.Listing_CATEGORY_RETAIL 48 Listing_CATEGORY_SCIENCE_AND_RESEARCH = src.Listing_CATEGORY_SCIENCE_AND_RESEARCH 49 Listing_CATEGORY_SPORTS = src.Listing_CATEGORY_SPORTS 50 Listing_CATEGORY_TRANSPORTATION_AND_LOGISTICS = src.Listing_CATEGORY_TRANSPORTATION_AND_LOGISTICS 51 Listing_CATEGORY_TRAVEL_AND_TOURISM = src.Listing_CATEGORY_TRAVEL_AND_TOURISM 52 Listing_CATEGORY_UNSPECIFIED = src.Listing_CATEGORY_UNSPECIFIED 53 Listing_STATE_UNSPECIFIED = src.Listing_STATE_UNSPECIFIED 54 ) 55 56 // Deprecated: Please use vars in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 57 var ( 58 File_google_cloud_bigquery_dataexchange_v1beta1_dataexchange_proto = src.File_google_cloud_bigquery_dataexchange_v1beta1_dataexchange_proto 59 Listing_Category_name = src.Listing_Category_name 60 Listing_Category_value = src.Listing_Category_value 61 Listing_State_name = src.Listing_State_name 62 Listing_State_value = src.Listing_State_value 63 ) 64 65 // AnalyticsHubServiceClient is the client API for AnalyticsHubService 66 // service. For semantics around ctx use and closing/ending streaming RPCs, 67 // please refer to 68 // https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. 69 // 70 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 71 type AnalyticsHubServiceClient = src.AnalyticsHubServiceClient 72 73 // AnalyticsHubServiceServer is the server API for AnalyticsHubService 74 // service. 75 // 76 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 77 type AnalyticsHubServiceServer = src.AnalyticsHubServiceServer 78 79 // Message for creating a data exchange. 80 // 81 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 82 type CreateDataExchangeRequest = src.CreateDataExchangeRequest 83 84 // Message for creating a listing. 85 // 86 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 87 type CreateListingRequest = src.CreateListingRequest 88 89 // A data exchange is a container that lets you share data. Along with the 90 // descriptive information about the data exchange, it contains listings that 91 // reference shared datasets. 92 // 93 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 94 type DataExchange = src.DataExchange 95 96 // Contains details of the data provider. 97 // 98 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 99 type DataProvider = src.DataProvider 100 101 // Message for deleting a data exchange. 102 // 103 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 104 type DeleteDataExchangeRequest = src.DeleteDataExchangeRequest 105 106 // Message for deleting a listing. 107 // 108 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 109 type DeleteListingRequest = src.DeleteListingRequest 110 111 // Defines the destination bigquery dataset. 112 // 113 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 114 type DestinationDataset = src.DestinationDataset 115 116 // Contains the reference that identifies a destination bigquery dataset. 117 // 118 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 119 type DestinationDatasetReference = src.DestinationDatasetReference 120 121 // Message for getting a data exchange. 122 // 123 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 124 type GetDataExchangeRequest = src.GetDataExchangeRequest 125 126 // Message for getting a listing. 127 // 128 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 129 type GetListingRequest = src.GetListingRequest 130 131 // Message for requesting the list of data exchanges. 132 // 133 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 134 type ListDataExchangesRequest = src.ListDataExchangesRequest 135 136 // Message for response to the list of data exchanges. 137 // 138 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 139 type ListDataExchangesResponse = src.ListDataExchangesResponse 140 141 // Message for requesting the list of listings. 142 // 143 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 144 type ListListingsRequest = src.ListListingsRequest 145 146 // Message for response to the list of Listings. 147 // 148 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 149 type ListListingsResponse = src.ListListingsResponse 150 151 // Message for requesting the list of data exchanges from projects in an 152 // organization and location. 153 // 154 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 155 type ListOrgDataExchangesRequest = src.ListOrgDataExchangesRequest 156 157 // Message for response to listing data exchanges in an organization and 158 // location. 159 // 160 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 161 type ListOrgDataExchangesResponse = src.ListOrgDataExchangesResponse 162 163 // A listing is what gets published into a data exchange that a subscriber can 164 // subscribe to. It contains a reference to the data source along with 165 // descriptive information that will help subscribers find and subscribe the 166 // data. 167 // 168 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 169 type Listing = src.Listing 170 171 // A reference to a shared dataset. It is an existing BigQuery dataset with a 172 // collection of objects such as tables and views that you want to share with 173 // subscribers. When subscriber's subscribe to a listing, Analytics Hub creates 174 // a linked dataset in the subscriber's project. A Linked dataset is an opaque, 175 // read-only BigQuery dataset that serves as a _symbolic link_ to a shared 176 // dataset. 177 // 178 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 179 type Listing_BigQueryDatasetSource = src.Listing_BigQueryDatasetSource 180 type Listing_BigqueryDataset = src.Listing_BigqueryDataset 181 182 // Listing categories. 183 // 184 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 185 type Listing_Category = src.Listing_Category 186 187 // State of the listing. 188 // 189 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 190 type Listing_State = src.Listing_State 191 192 // Contains details of the listing publisher. 193 // 194 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 195 type Publisher = src.Publisher 196 197 // Message for subscribing to a listing. 198 // 199 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 200 type SubscribeListingRequest = src.SubscribeListingRequest 201 type SubscribeListingRequest_DestinationDataset = src.SubscribeListingRequest_DestinationDataset 202 203 // Message for response when you subscribe to a listing. 204 // 205 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 206 type SubscribeListingResponse = src.SubscribeListingResponse 207 208 // UnimplementedAnalyticsHubServiceServer can be embedded to have forward 209 // compatible implementations. 210 // 211 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 212 type UnimplementedAnalyticsHubServiceServer = src.UnimplementedAnalyticsHubServiceServer 213 214 // Message for updating a data exchange. 215 // 216 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 217 type UpdateDataExchangeRequest = src.UpdateDataExchangeRequest 218 219 // Message for updating a Listing. 220 // 221 // Deprecated: Please use types in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 222 type UpdateListingRequest = src.UpdateListingRequest 223 224 // Deprecated: Please use funcs in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 225 func NewAnalyticsHubServiceClient(cc grpc.ClientConnInterface) AnalyticsHubServiceClient { 226 return src.NewAnalyticsHubServiceClient(cc) 227 } 228 229 // Deprecated: Please use funcs in: cloud.google.com/go/bigquery/dataexchange/apiv1beta1/dataexchangepb 230 func RegisterAnalyticsHubServiceServer(s *grpc.Server, srv AnalyticsHubServiceServer) { 231 src.RegisterAnalyticsHubServiceServer(s, srv) 232 } 233