| 1 |
// Copyright 2025 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 pubsub aliases all exported identifiers in package |
| 18 |
// "cloud.google.com/go/pubsub/v2/apiv1/pubsubpb". |
| 19 |
// |
| 20 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb. |
| 21 |
package pubsubpb |
| 22 |
|
| 23 |
import ( |
| 24 |
src "cloud.google.com/go/pubsub/v2/apiv1/pubsubpb" |
| 25 |
grpc "google.golang.org/grpc" |
| 26 |
) |
| 27 |
|
| 28 |
// Deprecated: Please use consts in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 29 |
const ( |
| 30 |
BigQueryConfig_ACTIVE = src.BigQueryConfig_ACTIVE |
| 31 |
BigQueryConfig_IN_TRANSIT_LOCATION_RESTRICTION = src.BigQueryConfig_IN_TRANSIT_LOCATION_RESTRICTION |
| 32 |
BigQueryConfig_NOT_FOUND = src.BigQueryConfig_NOT_FOUND |
| 33 |
BigQueryConfig_PERMISSION_DENIED = src.BigQueryConfig_PERMISSION_DENIED |
| 34 |
BigQueryConfig_SCHEMA_MISMATCH = src.BigQueryConfig_SCHEMA_MISMATCH |
| 35 |
BigQueryConfig_STATE_UNSPECIFIED = src.BigQueryConfig_STATE_UNSPECIFIED |
| 36 |
CloudStorageConfig_ACTIVE = src.CloudStorageConfig_ACTIVE |
| 37 |
CloudStorageConfig_IN_TRANSIT_LOCATION_RESTRICTION = src.CloudStorageConfig_IN_TRANSIT_LOCATION_RESTRICTION |
| 38 |
CloudStorageConfig_NOT_FOUND = src.CloudStorageConfig_NOT_FOUND |
| 39 |
CloudStorageConfig_PERMISSION_DENIED = src.CloudStorageConfig_PERMISSION_DENIED |
| 40 |
CloudStorageConfig_SCHEMA_MISMATCH = src.CloudStorageConfig_SCHEMA_MISMATCH |
| 41 |
CloudStorageConfig_STATE_UNSPECIFIED = src.CloudStorageConfig_STATE_UNSPECIFIED |
| 42 |
Encoding_BINARY = src.Encoding_BINARY |
| 43 |
Encoding_ENCODING_UNSPECIFIED = src.Encoding_ENCODING_UNSPECIFIED |
| 44 |
Encoding_JSON = src.Encoding_JSON |
| 45 |
IngestionDataSourceSettings_AwsKinesis_ACTIVE = src.IngestionDataSourceSettings_AwsKinesis_ACTIVE |
| 46 |
IngestionDataSourceSettings_AwsKinesis_CONSUMER_NOT_FOUND = src.IngestionDataSourceSettings_AwsKinesis_CONSUMER_NOT_FOUND |
| 47 |
IngestionDataSourceSettings_AwsKinesis_KINESIS_PERMISSION_DENIED = src.IngestionDataSourceSettings_AwsKinesis_KINESIS_PERMISSION_DENIED |
| 48 |
IngestionDataSourceSettings_AwsKinesis_PUBLISH_PERMISSION_DENIED = src.IngestionDataSourceSettings_AwsKinesis_PUBLISH_PERMISSION_DENIED |
| 49 |
IngestionDataSourceSettings_AwsKinesis_STATE_UNSPECIFIED = src.IngestionDataSourceSettings_AwsKinesis_STATE_UNSPECIFIED |
| 50 |
IngestionDataSourceSettings_AwsKinesis_STREAM_NOT_FOUND = src.IngestionDataSourceSettings_AwsKinesis_STREAM_NOT_FOUND |
| 51 |
IngestionDataSourceSettings_AwsMsk_ACTIVE = src.IngestionDataSourceSettings_AwsMsk_ACTIVE |
| 52 |
IngestionDataSourceSettings_AwsMsk_CLUSTER_NOT_FOUND = src.IngestionDataSourceSettings_AwsMsk_CLUSTER_NOT_FOUND |
| 53 |
IngestionDataSourceSettings_AwsMsk_MSK_PERMISSION_DENIED = src.IngestionDataSourceSettings_AwsMsk_MSK_PERMISSION_DENIED |
| 54 |
IngestionDataSourceSettings_AwsMsk_PUBLISH_PERMISSION_DENIED = src.IngestionDataSourceSettings_AwsMsk_PUBLISH_PERMISSION_DENIED |
| 55 |
IngestionDataSourceSettings_AwsMsk_STATE_UNSPECIFIED = src.IngestionDataSourceSettings_AwsMsk_STATE_UNSPECIFIED |
| 56 |
IngestionDataSourceSettings_AwsMsk_TOPIC_NOT_FOUND = src.IngestionDataSourceSettings_AwsMsk_TOPIC_NOT_FOUND |
| 57 |
IngestionDataSourceSettings_AzureEventHubs_ACTIVE = src.IngestionDataSourceSettings_AzureEventHubs_ACTIVE |
| 58 |
IngestionDataSourceSettings_AzureEventHubs_EVENT_HUBS_PERMISSION_DENIED = src.IngestionDataSourceSettings_AzureEventHubs_EVENT_HUBS_PERMISSION_DENIED |
| 59 |
IngestionDataSourceSettings_AzureEventHubs_EVENT_HUB_NOT_FOUND = src.IngestionDataSourceSettings_AzureEventHubs_EVENT_HUB_NOT_FOUND |
| 60 |
IngestionDataSourceSettings_AzureEventHubs_NAMESPACE_NOT_FOUND = src.IngestionDataSourceSettings_AzureEventHubs_NAMESPACE_NOT_FOUND |
| 61 |
IngestionDataSourceSettings_AzureEventHubs_PUBLISH_PERMISSION_DENIED = src.IngestionDataSourceSettings_AzureEventHubs_PUBLISH_PERMISSION_DENIED |
| 62 |
IngestionDataSourceSettings_AzureEventHubs_RESOURCE_GROUP_NOT_FOUND = src.IngestionDataSourceSettings_AzureEventHubs_RESOURCE_GROUP_NOT_FOUND |
| 63 |
IngestionDataSourceSettings_AzureEventHubs_STATE_UNSPECIFIED = src.IngestionDataSourceSettings_AzureEventHubs_STATE_UNSPECIFIED |
| 64 |
IngestionDataSourceSettings_AzureEventHubs_SUBSCRIPTION_NOT_FOUND = src.IngestionDataSourceSettings_AzureEventHubs_SUBSCRIPTION_NOT_FOUND |
| 65 |
IngestionDataSourceSettings_CloudStorage_ACTIVE = src.IngestionDataSourceSettings_CloudStorage_ACTIVE |
| 66 |
IngestionDataSourceSettings_CloudStorage_BUCKET_NOT_FOUND = src.IngestionDataSourceSettings_CloudStorage_BUCKET_NOT_FOUND |
| 67 |
IngestionDataSourceSettings_CloudStorage_CLOUD_STORAGE_PERMISSION_DENIED = src.IngestionDataSourceSettings_CloudStorage_CLOUD_STORAGE_PERMISSION_DENIED |
| 68 |
IngestionDataSourceSettings_CloudStorage_PUBLISH_PERMISSION_DENIED = src.IngestionDataSourceSettings_CloudStorage_PUBLISH_PERMISSION_DENIED |
| 69 |
IngestionDataSourceSettings_CloudStorage_STATE_UNSPECIFIED = src.IngestionDataSourceSettings_CloudStorage_STATE_UNSPECIFIED |
| 70 |
IngestionDataSourceSettings_CloudStorage_TOO_MANY_OBJECTS = src.IngestionDataSourceSettings_CloudStorage_TOO_MANY_OBJECTS |
| 71 |
IngestionDataSourceSettings_ConfluentCloud_ACTIVE = src.IngestionDataSourceSettings_ConfluentCloud_ACTIVE |
| 72 |
IngestionDataSourceSettings_ConfluentCloud_CLUSTER_NOT_FOUND = src.IngestionDataSourceSettings_ConfluentCloud_CLUSTER_NOT_FOUND |
| 73 |
IngestionDataSourceSettings_ConfluentCloud_CONFLUENT_CLOUD_PERMISSION_DENIED = src.IngestionDataSourceSettings_ConfluentCloud_CONFLUENT_CLOUD_PERMISSION_DENIED |
| 74 |
IngestionDataSourceSettings_ConfluentCloud_PUBLISH_PERMISSION_DENIED = src.IngestionDataSourceSettings_ConfluentCloud_PUBLISH_PERMISSION_DENIED |
| 75 |
IngestionDataSourceSettings_ConfluentCloud_STATE_UNSPECIFIED = src.IngestionDataSourceSettings_ConfluentCloud_STATE_UNSPECIFIED |
| 76 |
IngestionDataSourceSettings_ConfluentCloud_TOPIC_NOT_FOUND = src.IngestionDataSourceSettings_ConfluentCloud_TOPIC_NOT_FOUND |
| 77 |
IngestionDataSourceSettings_ConfluentCloud_UNREACHABLE_BOOTSTRAP_SERVER = src.IngestionDataSourceSettings_ConfluentCloud_UNREACHABLE_BOOTSTRAP_SERVER |
| 78 |
PlatformLogsSettings_DEBUG = src.PlatformLogsSettings_DEBUG |
| 79 |
PlatformLogsSettings_DISABLED = src.PlatformLogsSettings_DISABLED |
| 80 |
PlatformLogsSettings_ERROR = src.PlatformLogsSettings_ERROR |
| 81 |
PlatformLogsSettings_INFO = src.PlatformLogsSettings_INFO |
| 82 |
PlatformLogsSettings_SEVERITY_UNSPECIFIED = src.PlatformLogsSettings_SEVERITY_UNSPECIFIED |
| 83 |
PlatformLogsSettings_WARNING = src.PlatformLogsSettings_WARNING |
| 84 |
SchemaView_BASIC = src.SchemaView_BASIC |
| 85 |
SchemaView_FULL = src.SchemaView_FULL |
| 86 |
SchemaView_SCHEMA_VIEW_UNSPECIFIED = src.SchemaView_SCHEMA_VIEW_UNSPECIFIED |
| 87 |
Schema_AVRO = src.Schema_AVRO |
| 88 |
Schema_PROTOCOL_BUFFER = src.Schema_PROTOCOL_BUFFER |
| 89 |
Schema_TYPE_UNSPECIFIED = src.Schema_TYPE_UNSPECIFIED |
| 90 |
Subscription_ACTIVE = src.Subscription_ACTIVE |
| 91 |
Subscription_RESOURCE_ERROR = src.Subscription_RESOURCE_ERROR |
| 92 |
Subscription_STATE_UNSPECIFIED = src.Subscription_STATE_UNSPECIFIED |
| 93 |
Topic_ACTIVE = src.Topic_ACTIVE |
| 94 |
Topic_INGESTION_RESOURCE_ERROR = src.Topic_INGESTION_RESOURCE_ERROR |
| 95 |
Topic_STATE_UNSPECIFIED = src.Topic_STATE_UNSPECIFIED |
| 96 |
) |
| 97 |
|
| 98 |
// Deprecated: Please use vars in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 99 |
var ( |
| 100 |
BigQueryConfig_State_name = src.BigQueryConfig_State_name |
| 101 |
BigQueryConfig_State_value = src.BigQueryConfig_State_value |
| 102 |
CloudStorageConfig_State_name = src.CloudStorageConfig_State_name |
| 103 |
CloudStorageConfig_State_value = src.CloudStorageConfig_State_value |
| 104 |
Encoding_name = src.Encoding_name |
| 105 |
Encoding_value = src.Encoding_value |
| 106 |
File_google_pubsub_v1_pubsub_proto = src.File_google_pubsub_v1_pubsub_proto |
| 107 |
File_google_pubsub_v1_schema_proto = src.File_google_pubsub_v1_schema_proto |
| 108 |
IngestionDataSourceSettings_AwsKinesis_State_name = src.IngestionDataSourceSettings_AwsKinesis_State_name |
| 109 |
IngestionDataSourceSettings_AwsKinesis_State_value = src.IngestionDataSourceSettings_AwsKinesis_State_value |
| 110 |
IngestionDataSourceSettings_AwsMsk_State_name = src.IngestionDataSourceSettings_AwsMsk_State_name |
| 111 |
IngestionDataSourceSettings_AwsMsk_State_value = src.IngestionDataSourceSettings_AwsMsk_State_value |
| 112 |
IngestionDataSourceSettings_AzureEventHubs_State_name = src.IngestionDataSourceSettings_AzureEventHubs_State_name |
| 113 |
IngestionDataSourceSettings_AzureEventHubs_State_value = src.IngestionDataSourceSettings_AzureEventHubs_State_value |
| 114 |
IngestionDataSourceSettings_CloudStorage_State_name = src.IngestionDataSourceSettings_CloudStorage_State_name |
| 115 |
IngestionDataSourceSettings_CloudStorage_State_value = src.IngestionDataSourceSettings_CloudStorage_State_value |
| 116 |
IngestionDataSourceSettings_ConfluentCloud_State_name = src.IngestionDataSourceSettings_ConfluentCloud_State_name |
| 117 |
IngestionDataSourceSettings_ConfluentCloud_State_value = src.IngestionDataSourceSettings_ConfluentCloud_State_value |
| 118 |
PlatformLogsSettings_Severity_name = src.PlatformLogsSettings_Severity_name |
| 119 |
PlatformLogsSettings_Severity_value = src.PlatformLogsSettings_Severity_value |
| 120 |
SchemaView_name = src.SchemaView_name |
| 121 |
SchemaView_value = src.SchemaView_value |
| 122 |
Schema_Type_name = src.Schema_Type_name |
| 123 |
Schema_Type_value = src.Schema_Type_value |
| 124 |
Subscription_State_name = src.Subscription_State_name |
| 125 |
Subscription_State_value = src.Subscription_State_value |
| 126 |
Topic_State_name = src.Topic_State_name |
| 127 |
Topic_State_value = src.Topic_State_value |
| 128 |
) |
| 129 |
|
| 130 |
// Request for the Acknowledge method. |
| 131 |
// |
| 132 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 133 |
type AcknowledgeRequest = src.AcknowledgeRequest |
| 134 |
|
| 135 |
// Configuration for a BigQuery subscription. |
| 136 |
// |
| 137 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 138 |
type BigQueryConfig = src.BigQueryConfig |
| 139 |
|
| 140 |
// Possible states for a BigQuery subscription. |
| 141 |
// |
| 142 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 143 |
type BigQueryConfig_State = src.BigQueryConfig_State |
| 144 |
|
| 145 |
// Configuration for a Cloud Storage subscription. |
| 146 |
// |
| 147 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 148 |
type CloudStorageConfig = src.CloudStorageConfig |
| 149 |
|
| 150 |
// Configuration for writing message data in Avro format. Message payloads and |
| 151 |
// metadata will be written to files as an Avro binary. |
| 152 |
// |
| 153 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 154 |
type CloudStorageConfig_AvroConfig = src.CloudStorageConfig_AvroConfig |
| 155 |
type CloudStorageConfig_AvroConfig_ = src.CloudStorageConfig_AvroConfig_ |
| 156 |
|
| 157 |
// Possible states for a Cloud Storage subscription. |
| 158 |
// |
| 159 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 160 |
type CloudStorageConfig_State = src.CloudStorageConfig_State |
| 161 |
|
| 162 |
// Configuration for writing message data in text format. Message payloads |
| 163 |
// will be written to files as raw text, separated by a newline. |
| 164 |
// |
| 165 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 166 |
type CloudStorageConfig_TextConfig = src.CloudStorageConfig_TextConfig |
| 167 |
type CloudStorageConfig_TextConfig_ = src.CloudStorageConfig_TextConfig_ |
| 168 |
|
| 169 |
// Request for CommitSchema method. |
| 170 |
// |
| 171 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 172 |
type CommitSchemaRequest = src.CommitSchemaRequest |
| 173 |
|
| 174 |
// Request for the CreateSchema method. |
| 175 |
// |
| 176 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 177 |
type CreateSchemaRequest = src.CreateSchemaRequest |
| 178 |
|
| 179 |
// Request for the `CreateSnapshot` method. |
| 180 |
// |
| 181 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 182 |
type CreateSnapshotRequest = src.CreateSnapshotRequest |
| 183 |
|
| 184 |
// Dead lettering is done on a best effort basis. The same message might be |
| 185 |
// dead lettered multiple times. If validation on any of the fields fails at |
| 186 |
// subscription creation/updation, the create/update subscription request will |
| 187 |
// fail. |
| 188 |
// |
| 189 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 190 |
type DeadLetterPolicy = src.DeadLetterPolicy |
| 191 |
|
| 192 |
// Request for the `DeleteSchema` method. |
| 193 |
// |
| 194 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 195 |
type DeleteSchemaRequest = src.DeleteSchemaRequest |
| 196 |
|
| 197 |
// Request for the `DeleteSchemaRevision` method. |
| 198 |
// |
| 199 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 200 |
type DeleteSchemaRevisionRequest = src.DeleteSchemaRevisionRequest |
| 201 |
|
| 202 |
// Request for the `DeleteSnapshot` method. |
| 203 |
// |
| 204 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 205 |
type DeleteSnapshotRequest = src.DeleteSnapshotRequest |
| 206 |
|
| 207 |
// Request for the DeleteSubscription method. |
| 208 |
// |
| 209 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 210 |
type DeleteSubscriptionRequest = src.DeleteSubscriptionRequest |
| 211 |
|
| 212 |
// Request for the `DeleteTopic` method. |
| 213 |
// |
| 214 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 215 |
type DeleteTopicRequest = src.DeleteTopicRequest |
| 216 |
|
| 217 |
// Request for the DetachSubscription method. |
| 218 |
// |
| 219 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 220 |
type DetachSubscriptionRequest = src.DetachSubscriptionRequest |
| 221 |
|
| 222 |
// Response for the DetachSubscription method. Reserved for future use. |
| 223 |
// |
| 224 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 225 |
type DetachSubscriptionResponse = src.DetachSubscriptionResponse |
| 226 |
|
| 227 |
// Possible encoding types for messages. |
| 228 |
// |
| 229 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 230 |
type Encoding = src.Encoding |
| 231 |
|
| 232 |
// A policy that specifies the conditions for resource expiration (i.e., |
| 233 |
// automatic resource deletion). |
| 234 |
// |
| 235 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 236 |
type ExpirationPolicy = src.ExpirationPolicy |
| 237 |
|
| 238 |
// Request for the GetSchema method. |
| 239 |
// |
| 240 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 241 |
type GetSchemaRequest = src.GetSchemaRequest |
| 242 |
|
| 243 |
// Request for the GetSnapshot method. |
| 244 |
// |
| 245 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 246 |
type GetSnapshotRequest = src.GetSnapshotRequest |
| 247 |
|
| 248 |
// Request for the GetSubscription method. |
| 249 |
// |
| 250 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 251 |
type GetSubscriptionRequest = src.GetSubscriptionRequest |
| 252 |
|
| 253 |
// Request for the GetTopic method. |
| 254 |
// |
| 255 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 256 |
type GetTopicRequest = src.GetTopicRequest |
| 257 |
|
| 258 |
// Settings for an ingestion data source on a topic. |
| 259 |
// |
| 260 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 261 |
type IngestionDataSourceSettings = src.IngestionDataSourceSettings |
| 262 |
|
| 263 |
// Ingestion settings for Amazon Kinesis Data Streams. |
| 264 |
// |
| 265 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 266 |
type IngestionDataSourceSettings_AwsKinesis = src.IngestionDataSourceSettings_AwsKinesis |
| 267 |
type IngestionDataSourceSettings_AwsKinesis_ = src.IngestionDataSourceSettings_AwsKinesis_ |
| 268 |
|
| 269 |
// Possible states for ingestion from Amazon Kinesis Data Streams. |
| 270 |
// |
| 271 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 272 |
type IngestionDataSourceSettings_AwsKinesis_State = src.IngestionDataSourceSettings_AwsKinesis_State |
| 273 |
|
| 274 |
// Ingestion settings for Amazon MSK. |
| 275 |
// |
| 276 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 277 |
type IngestionDataSourceSettings_AwsMsk = src.IngestionDataSourceSettings_AwsMsk |
| 278 |
type IngestionDataSourceSettings_AwsMsk_ = src.IngestionDataSourceSettings_AwsMsk_ |
| 279 |
|
| 280 |
// Possible states for managed ingestion from Amazon MSK. |
| 281 |
// |
| 282 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 283 |
type IngestionDataSourceSettings_AwsMsk_State = src.IngestionDataSourceSettings_AwsMsk_State |
| 284 |
|
| 285 |
// Ingestion settings for Azure Event Hubs. |
| 286 |
// |
| 287 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 288 |
type IngestionDataSourceSettings_AzureEventHubs = src.IngestionDataSourceSettings_AzureEventHubs |
| 289 |
type IngestionDataSourceSettings_AzureEventHubs_ = src.IngestionDataSourceSettings_AzureEventHubs_ |
| 290 |
|
| 291 |
// Possible states for managed ingestion from Event Hubs. |
| 292 |
// |
| 293 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 294 |
type IngestionDataSourceSettings_AzureEventHubs_State = src.IngestionDataSourceSettings_AzureEventHubs_State |
| 295 |
|
| 296 |
// Ingestion settings for Cloud Storage. |
| 297 |
// |
| 298 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 299 |
type IngestionDataSourceSettings_CloudStorage = src.IngestionDataSourceSettings_CloudStorage |
| 300 |
type IngestionDataSourceSettings_CloudStorage_ = src.IngestionDataSourceSettings_CloudStorage_ |
| 301 |
|
| 302 |
// Configuration for reading Cloud Storage data in Avro binary format. The |
| 303 |
// bytes of each object will be set to the `data` field of a Pub/Sub message. |
| 304 |
// |
| 305 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 306 |
type IngestionDataSourceSettings_CloudStorage_AvroFormat = src.IngestionDataSourceSettings_CloudStorage_AvroFormat |
| 307 |
type IngestionDataSourceSettings_CloudStorage_AvroFormat_ = src.IngestionDataSourceSettings_CloudStorage_AvroFormat_ |
| 308 |
|
| 309 |
// Configuration for reading Cloud Storage data written via [Cloud Storage |
| 310 |
// subscriptions](https://cloud.google.com/pubsub/docs/cloudstorage). The data |
| 311 |
// and attributes fields of the originally exported Pub/Sub message will be |
| 312 |
// restored when publishing. |
| 313 |
// |
| 314 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 315 |
type IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat = src.IngestionDataSourceSettings_CloudStorage_PubSubAvroFormat |
| 316 |
type IngestionDataSourceSettings_CloudStorage_PubsubAvroFormat = src.IngestionDataSourceSettings_CloudStorage_PubsubAvroFormat |
| 317 |
|
| 318 |
// Possible states for ingestion from Cloud Storage. |
| 319 |
// |
| 320 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 321 |
type IngestionDataSourceSettings_CloudStorage_State = src.IngestionDataSourceSettings_CloudStorage_State |
| 322 |
|
| 323 |
// Configuration for reading Cloud Storage data in text format. Each line of |
| 324 |
// text as specified by the delimiter will be set to the `data` field of a |
| 325 |
// Pub/Sub message. |
| 326 |
// |
| 327 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 328 |
type IngestionDataSourceSettings_CloudStorage_TextFormat = src.IngestionDataSourceSettings_CloudStorage_TextFormat |
| 329 |
type IngestionDataSourceSettings_CloudStorage_TextFormat_ = src.IngestionDataSourceSettings_CloudStorage_TextFormat_ |
| 330 |
|
| 331 |
// Ingestion settings for Confluent Cloud. |
| 332 |
// |
| 333 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 334 |
type IngestionDataSourceSettings_ConfluentCloud = src.IngestionDataSourceSettings_ConfluentCloud |
| 335 |
type IngestionDataSourceSettings_ConfluentCloud_ = src.IngestionDataSourceSettings_ConfluentCloud_ |
| 336 |
|
| 337 |
// Possible states for managed ingestion from Confluent Cloud. |
| 338 |
// |
| 339 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 340 |
type IngestionDataSourceSettings_ConfluentCloud_State = src.IngestionDataSourceSettings_ConfluentCloud_State |
| 341 |
|
| 342 |
// Payload of the Platform Log entry sent when a failure is encountered while |
| 343 |
// ingesting. |
| 344 |
// |
| 345 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 346 |
type IngestionFailureEvent = src.IngestionFailureEvent |
| 347 |
|
| 348 |
// Specifies the reason why some data may have been left out of the desired |
| 349 |
// Pub/Sub message due to the API message limits |
| 350 |
// (https://cloud.google.com/pubsub/quotas#resource_limits). For example, when |
| 351 |
// the number of attributes is larger than 100, the number of attributes is |
| 352 |
// truncated to 100 to respect the limit on the attribute count. Other |
| 353 |
// attribute limits are treated similarly. When the size of the desired message |
| 354 |
// would've been larger than 10MB, the message won't be published at all, and |
| 355 |
// ingestion of the subsequent messages will proceed as normal. |
| 356 |
// |
| 357 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 358 |
type IngestionFailureEvent_ApiViolationReason = src.IngestionFailureEvent_ApiViolationReason |
| 359 |
|
| 360 |
// Set when an Avro file is unsupported or its format is not valid. When this |
| 361 |
// occurs, one or more Avro objects won't be ingested. |
| 362 |
// |
| 363 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 364 |
type IngestionFailureEvent_AvroFailureReason = src.IngestionFailureEvent_AvroFailureReason |
| 365 |
type IngestionFailureEvent_AwsMskFailure = src.IngestionFailureEvent_AwsMskFailure |
| 366 |
|
| 367 |
// Failure when ingesting from an Amazon MSK source. |
| 368 |
// |
| 369 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 370 |
type IngestionFailureEvent_AwsMskFailureReason = src.IngestionFailureEvent_AwsMskFailureReason |
| 371 |
type IngestionFailureEvent_AwsMskFailureReason_ApiViolationReason = src.IngestionFailureEvent_AwsMskFailureReason_ApiViolationReason |
| 372 |
type IngestionFailureEvent_AzureEventHubsFailure = src.IngestionFailureEvent_AzureEventHubsFailure |
| 373 |
|
| 374 |
// Failure when ingesting from an Azure Event Hubs source. |
| 375 |
// |
| 376 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 377 |
type IngestionFailureEvent_AzureEventHubsFailureReason = src.IngestionFailureEvent_AzureEventHubsFailureReason |
| 378 |
type IngestionFailureEvent_AzureEventHubsFailureReason_ApiViolationReason = src.IngestionFailureEvent_AzureEventHubsFailureReason_ApiViolationReason |
| 379 |
|
| 380 |
// Failure when ingesting from a Cloud Storage source. |
| 381 |
// |
| 382 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 383 |
type IngestionFailureEvent_CloudStorageFailure = src.IngestionFailureEvent_CloudStorageFailure |
| 384 |
type IngestionFailureEvent_CloudStorageFailure_ = src.IngestionFailureEvent_CloudStorageFailure_ |
| 385 |
type IngestionFailureEvent_CloudStorageFailure_ApiViolationReason = src.IngestionFailureEvent_CloudStorageFailure_ApiViolationReason |
| 386 |
type IngestionFailureEvent_CloudStorageFailure_AvroFailureReason = src.IngestionFailureEvent_CloudStorageFailure_AvroFailureReason |
| 387 |
type IngestionFailureEvent_ConfluentCloudFailure = src.IngestionFailureEvent_ConfluentCloudFailure |
| 388 |
|
| 389 |
// Failure when ingesting from a Confluent Cloud source. |
| 390 |
// |
| 391 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 392 |
type IngestionFailureEvent_ConfluentCloudFailureReason = src.IngestionFailureEvent_ConfluentCloudFailureReason |
| 393 |
type IngestionFailureEvent_ConfluentCloudFailureReason_ApiViolationReason = src.IngestionFailureEvent_ConfluentCloudFailureReason_ApiViolationReason |
| 394 |
|
| 395 |
// User-defined JavaScript function that can transform or filter a Pub/Sub |
| 396 |
// message. |
| 397 |
// |
| 398 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 399 |
type JavaScriptUDF = src.JavaScriptUDF |
| 400 |
|
| 401 |
// Request for the `ListSchemaRevisions` method. |
| 402 |
// |
| 403 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 404 |
type ListSchemaRevisionsRequest = src.ListSchemaRevisionsRequest |
| 405 |
|
| 406 |
// Response for the `ListSchemaRevisions` method. |
| 407 |
// |
| 408 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 409 |
type ListSchemaRevisionsResponse = src.ListSchemaRevisionsResponse |
| 410 |
|
| 411 |
// Request for the `ListSchemas` method. |
| 412 |
// |
| 413 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 414 |
type ListSchemasRequest = src.ListSchemasRequest |
| 415 |
|
| 416 |
// Response for the `ListSchemas` method. |
| 417 |
// |
| 418 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 419 |
type ListSchemasResponse = src.ListSchemasResponse |
| 420 |
|
| 421 |
// Request for the `ListSnapshots` method. |
| 422 |
// |
| 423 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 424 |
type ListSnapshotsRequest = src.ListSnapshotsRequest |
| 425 |
|
| 426 |
// Response for the `ListSnapshots` method. |
| 427 |
// |
| 428 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 429 |
type ListSnapshotsResponse = src.ListSnapshotsResponse |
| 430 |
|
| 431 |
// Request for the `ListSubscriptions` method. |
| 432 |
// |
| 433 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 434 |
type ListSubscriptionsRequest = src.ListSubscriptionsRequest |
| 435 |
|
| 436 |
// Response for the `ListSubscriptions` method. |
| 437 |
// |
| 438 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 439 |
type ListSubscriptionsResponse = src.ListSubscriptionsResponse |
| 440 |
|
| 441 |
// Request for the `ListTopicSnapshots` method. |
| 442 |
// |
| 443 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 444 |
type ListTopicSnapshotsRequest = src.ListTopicSnapshotsRequest |
| 445 |
|
| 446 |
// Response for the `ListTopicSnapshots` method. |
| 447 |
// |
| 448 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 449 |
type ListTopicSnapshotsResponse = src.ListTopicSnapshotsResponse |
| 450 |
|
| 451 |
// Request for the `ListTopicSubscriptions` method. |
| 452 |
// |
| 453 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 454 |
type ListTopicSubscriptionsRequest = src.ListTopicSubscriptionsRequest |
| 455 |
|
| 456 |
// Response for the `ListTopicSubscriptions` method. |
| 457 |
// |
| 458 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 459 |
type ListTopicSubscriptionsResponse = src.ListTopicSubscriptionsResponse |
| 460 |
|
| 461 |
// Request for the `ListTopics` method. |
| 462 |
// |
| 463 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 464 |
type ListTopicsRequest = src.ListTopicsRequest |
| 465 |
|
| 466 |
// Response for the `ListTopics` method. |
| 467 |
// |
| 468 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 469 |
type ListTopicsResponse = src.ListTopicsResponse |
| 470 |
|
| 471 |
// A policy constraining the storage of messages published to the topic. |
| 472 |
// |
| 473 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 474 |
type MessageStoragePolicy = src.MessageStoragePolicy |
| 475 |
|
| 476 |
// All supported message transforms types. |
| 477 |
// |
| 478 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 479 |
type MessageTransform = src.MessageTransform |
| 480 |
type MessageTransform_JavascriptUdf = src.MessageTransform_JavascriptUdf |
| 481 |
|
| 482 |
// Request for the ModifyAckDeadline method. |
| 483 |
// |
| 484 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 485 |
type ModifyAckDeadlineRequest = src.ModifyAckDeadlineRequest |
| 486 |
|
| 487 |
// Request for the ModifyPushConfig method. |
| 488 |
// |
| 489 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 490 |
type ModifyPushConfigRequest = src.ModifyPushConfigRequest |
| 491 |
|
| 492 |
// Settings for Platform Logs produced by Pub/Sub. |
| 493 |
// |
| 494 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 495 |
type PlatformLogsSettings = src.PlatformLogsSettings |
| 496 |
|
| 497 |
// Severity levels of Platform Logs. |
| 498 |
// |
| 499 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 500 |
type PlatformLogsSettings_Severity = src.PlatformLogsSettings_Severity |
| 501 |
|
| 502 |
// Request for the Publish method. |
| 503 |
// |
| 504 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 505 |
type PublishRequest = src.PublishRequest |
| 506 |
|
| 507 |
// Response for the `Publish` method. |
| 508 |
// |
| 509 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 510 |
type PublishResponse = src.PublishResponse |
| 511 |
|
| 512 |
// PublisherClient is the client API for Publisher service. For semantics |
| 513 |
// around ctx use and closing/ending streaming RPCs, please refer to |
| 514 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 515 |
// |
| 516 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 517 |
type PublisherClient = src.PublisherClient |
| 518 |
|
| 519 |
// PublisherServer is the server API for Publisher service. |
| 520 |
// |
| 521 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 522 |
type PublisherServer = src.PublisherServer |
| 523 |
|
| 524 |
// A message that is published by publishers and consumed by subscribers. The |
| 525 |
// message must contain either a non-empty data field or at least one |
| 526 |
// attribute. Note that client libraries represent this object differently |
| 527 |
// depending on the language. See the corresponding [client library |
| 528 |
// documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for |
| 529 |
// more information. See [quotas and limits] |
| 530 |
// (https://cloud.google.com/pubsub/quotas) for more information about message |
| 531 |
// limits. |
| 532 |
// |
| 533 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 534 |
type PubsubMessage = src.PubsubMessage |
| 535 |
|
| 536 |
// Request for the `Pull` method. |
| 537 |
// |
| 538 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 539 |
type PullRequest = src.PullRequest |
| 540 |
|
| 541 |
// Response for the `Pull` method. |
| 542 |
// |
| 543 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 544 |
type PullResponse = src.PullResponse |
| 545 |
|
| 546 |
// Configuration for a push delivery endpoint. |
| 547 |
// |
| 548 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 549 |
type PushConfig = src.PushConfig |
| 550 |
|
| 551 |
// Sets the `data` field as the HTTP body for delivery. |
| 552 |
// |
| 553 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 554 |
type PushConfig_NoWrapper = src.PushConfig_NoWrapper |
| 555 |
type PushConfig_NoWrapper_ = src.PushConfig_NoWrapper_ |
| 556 |
|
| 557 |
// Contains information needed for generating an [OpenID Connect |
| 558 |
// token](https://developers.google.com/identity/protocols/OpenIDConnect). |
| 559 |
// |
| 560 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 561 |
type PushConfig_OidcToken = src.PushConfig_OidcToken |
| 562 |
type PushConfig_OidcToken_ = src.PushConfig_OidcToken_ |
| 563 |
|
| 564 |
// The payload to the push endpoint is in the form of the JSON representation |
| 565 |
// of a PubsubMessage |
| 566 |
// (https://cloud.google.com/pubsub/docs/reference/rpc/google.pubsub.v1#pubsubmessage). |
| 567 |
// |
| 568 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 569 |
type PushConfig_PubsubWrapper = src.PushConfig_PubsubWrapper |
| 570 |
type PushConfig_PubsubWrapper_ = src.PushConfig_PubsubWrapper_ |
| 571 |
|
| 572 |
// A message and its corresponding acknowledgment ID. |
| 573 |
// |
| 574 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 575 |
type ReceivedMessage = src.ReceivedMessage |
| 576 |
|
| 577 |
// A policy that specifies how Pub/Sub retries message delivery. Retry delay |
| 578 |
// will be exponential based on provided minimum and maximum backoffs. |
| 579 |
// https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be |
| 580 |
// triggered on NACKs or acknowledgement deadline exceeded events for a given |
| 581 |
// message. Retry Policy is implemented on a best effort basis. At times, the |
| 582 |
// delay between consecutive deliveries may not match the configuration. That |
| 583 |
// is, delay can be more or less than configured backoff. |
| 584 |
// |
| 585 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 586 |
type RetryPolicy = src.RetryPolicy |
| 587 |
|
| 588 |
// Request for the `RollbackSchema` method. |
| 589 |
// |
| 590 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 591 |
type RollbackSchemaRequest = src.RollbackSchemaRequest |
| 592 |
|
| 593 |
// A schema resource. |
| 594 |
// |
| 595 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 596 |
type Schema = src.Schema |
| 597 |
|
| 598 |
// SchemaServiceClient is the client API for SchemaService service. For |
| 599 |
// semantics around ctx use and closing/ending streaming RPCs, please refer to |
| 600 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 601 |
// |
| 602 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 603 |
type SchemaServiceClient = src.SchemaServiceClient |
| 604 |
|
| 605 |
// SchemaServiceServer is the server API for SchemaService service. |
| 606 |
// |
| 607 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 608 |
type SchemaServiceServer = src.SchemaServiceServer |
| 609 |
|
| 610 |
// Settings for validating messages published against a schema. |
| 611 |
// |
| 612 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 613 |
type SchemaSettings = src.SchemaSettings |
| 614 |
|
| 615 |
// View of Schema object fields to be returned by GetSchema and ListSchemas. |
| 616 |
// |
| 617 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 618 |
type SchemaView = src.SchemaView |
| 619 |
|
| 620 |
// Possible schema definition types. |
| 621 |
// |
| 622 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 623 |
type Schema_Type = src.Schema_Type |
| 624 |
|
| 625 |
// Request for the `Seek` method. |
| 626 |
// |
| 627 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 628 |
type SeekRequest = src.SeekRequest |
| 629 |
type SeekRequest_Snapshot = src.SeekRequest_Snapshot |
| 630 |
type SeekRequest_Time = src.SeekRequest_Time |
| 631 |
|
| 632 |
// Response for the `Seek` method (this response is empty). |
| 633 |
// |
| 634 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 635 |
type SeekResponse = src.SeekResponse |
| 636 |
|
| 637 |
// A snapshot resource. Snapshots are used in |
| 638 |
// [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, |
| 639 |
// which allow you to manage message acknowledgments in bulk. That is, you can |
| 640 |
// set the acknowledgment state of messages in an existing subscription to the |
| 641 |
// state captured by a snapshot. |
| 642 |
// |
| 643 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 644 |
type Snapshot = src.Snapshot |
| 645 |
|
| 646 |
// Request for the `StreamingPull` streaming RPC method. This request is used |
| 647 |
// to establish the initial stream as well as to stream acknowledgements and |
| 648 |
// ack deadline modifications from the client to the server. |
| 649 |
// |
| 650 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 651 |
type StreamingPullRequest = src.StreamingPullRequest |
| 652 |
|
| 653 |
// Response for the `StreamingPull` method. This response is used to stream |
| 654 |
// messages from the server to the client. |
| 655 |
// |
| 656 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 657 |
type StreamingPullResponse = src.StreamingPullResponse |
| 658 |
|
| 659 |
// Acknowledgement IDs sent in one or more previous requests to acknowledge a |
| 660 |
// previously received message. |
| 661 |
// |
| 662 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 663 |
type StreamingPullResponse_AcknowledgeConfirmation = src.StreamingPullResponse_AcknowledgeConfirmation |
| 664 |
|
| 665 |
// Acknowledgement IDs sent in one or more previous requests to modify the |
| 666 |
// deadline for a specific message. |
| 667 |
// |
| 668 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 669 |
type StreamingPullResponse_ModifyAckDeadlineConfirmation = src.StreamingPullResponse_ModifyAckDeadlineConfirmation |
| 670 |
|
| 671 |
// Subscription properties sent as part of the response. |
| 672 |
// |
| 673 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 674 |
type StreamingPullResponse_SubscriptionProperties = src.StreamingPullResponse_SubscriptionProperties |
| 675 |
|
| 676 |
// SubscriberClient is the client API for Subscriber service. For semantics |
| 677 |
// around ctx use and closing/ending streaming RPCs, please refer to |
| 678 |
// https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 679 |
// |
| 680 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 681 |
type SubscriberClient = src.SubscriberClient |
| 682 |
|
| 683 |
// SubscriberServer is the server API for Subscriber service. |
| 684 |
// |
| 685 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 686 |
type SubscriberServer = src.SubscriberServer |
| 687 |
type Subscriber_StreamingPullClient = src.Subscriber_StreamingPullClient |
| 688 |
type Subscriber_StreamingPullServer = src.Subscriber_StreamingPullServer |
| 689 |
|
| 690 |
// A subscription resource. If none of `push_config`, `bigquery_config`, or |
| 691 |
// `cloud_storage_config` is set, then the subscriber will pull and ack |
| 692 |
// messages using API methods. At most one of these fields may be set. |
| 693 |
// |
| 694 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 695 |
type Subscription = src.Subscription |
| 696 |
|
| 697 |
// Information about an associated [Analytics Hub |
| 698 |
// subscription](https://cloud.google.com/bigquery/docs/analytics-hub-manage-subscriptions). |
| 699 |
// |
| 700 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 701 |
type Subscription_AnalyticsHubSubscriptionInfo = src.Subscription_AnalyticsHubSubscriptionInfo |
| 702 |
|
| 703 |
// Possible states for a subscription. |
| 704 |
// |
| 705 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 706 |
type Subscription_State = src.Subscription_State |
| 707 |
|
| 708 |
// A topic resource. |
| 709 |
// |
| 710 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 711 |
type Topic = src.Topic |
| 712 |
|
| 713 |
// The state of the topic. |
| 714 |
// |
| 715 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 716 |
type Topic_State = src.Topic_State |
| 717 |
|
| 718 |
// UnimplementedPublisherServer can be embedded to have forward compatible |
| 719 |
// implementations. |
| 720 |
// |
| 721 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 722 |
type UnimplementedPublisherServer = src.UnimplementedPublisherServer |
| 723 |
|
| 724 |
// UnimplementedSchemaServiceServer can be embedded to have forward compatible |
| 725 |
// implementations. |
| 726 |
// |
| 727 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 728 |
type UnimplementedSchemaServiceServer = src.UnimplementedSchemaServiceServer |
| 729 |
|
| 730 |
// UnimplementedSubscriberServer can be embedded to have forward compatible |
| 731 |
// implementations. |
| 732 |
// |
| 733 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 734 |
type UnimplementedSubscriberServer = src.UnimplementedSubscriberServer |
| 735 |
|
| 736 |
// Request for the UpdateSnapshot method. |
| 737 |
// |
| 738 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 739 |
type UpdateSnapshotRequest = src.UpdateSnapshotRequest |
| 740 |
|
| 741 |
// Request for the UpdateSubscription method. |
| 742 |
// |
| 743 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 744 |
type UpdateSubscriptionRequest = src.UpdateSubscriptionRequest |
| 745 |
|
| 746 |
// Request for the UpdateTopic method. |
| 747 |
// |
| 748 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 749 |
type UpdateTopicRequest = src.UpdateTopicRequest |
| 750 |
|
| 751 |
// Request for the `ValidateMessage` method. |
| 752 |
// |
| 753 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 754 |
type ValidateMessageRequest = src.ValidateMessageRequest |
| 755 |
type ValidateMessageRequest_Name = src.ValidateMessageRequest_Name |
| 756 |
type ValidateMessageRequest_Schema = src.ValidateMessageRequest_Schema |
| 757 |
|
| 758 |
// Response for the `ValidateMessage` method. Empty for now. |
| 759 |
// |
| 760 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 761 |
type ValidateMessageResponse = src.ValidateMessageResponse |
| 762 |
|
| 763 |
// Request for the `ValidateSchema` method. |
| 764 |
// |
| 765 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 766 |
type ValidateSchemaRequest = src.ValidateSchemaRequest |
| 767 |
|
| 768 |
// Response for the `ValidateSchema` method. Empty for now. |
| 769 |
// |
| 770 |
// Deprecated: Please use types in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 771 |
type ValidateSchemaResponse = src.ValidateSchemaResponse |
| 772 |
|
| 773 |
// Deprecated: Please use funcs in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 774 |
func NewPublisherClient(cc grpc.ClientConnInterface) PublisherClient { |
| 775 |
return src.NewPublisherClient(cc) |
| 776 |
} |
| 777 |
|
| 778 |
// Deprecated: Please use funcs in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 779 |
func NewSchemaServiceClient(cc grpc.ClientConnInterface) SchemaServiceClient { |
| 780 |
return src.NewSchemaServiceClient(cc) |
| 781 |
} |
| 782 |
|
| 783 |
// Deprecated: Please use funcs in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 784 |
func NewSubscriberClient(cc grpc.ClientConnInterface) SubscriberClient { |
| 785 |
return src.NewSubscriberClient(cc) |
| 786 |
} |
| 787 |
|
| 788 |
// Deprecated: Please use funcs in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 789 |
func RegisterPublisherServer(s *grpc.Server, srv PublisherServer) { |
| 790 |
src.RegisterPublisherServer(s, srv) |
| 791 |
} |
| 792 |
|
| 793 |
// Deprecated: Please use funcs in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 794 |
func RegisterSchemaServiceServer(s *grpc.Server, srv SchemaServiceServer) { |
| 795 |
src.RegisterSchemaServiceServer(s, srv) |
| 796 |
} |
| 797 |
|
| 798 |
// Deprecated: Please use funcs in: cloud.google.com/go/pubsub/v2/apiv1/pubsubpb |
| 799 |
func RegisterSubscriberServer(s *grpc.Server, srv SubscriberServer) { |
| 800 |
src.RegisterSubscriberServer(s, srv) |
| 801 |
} |