pubsub

package
Version: v0.0.0-...-008b390 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 2, 2023 License: Apache-2.0 Imports: 2 Imported by: 176

Documentation

Overview

Package pubsub aliases all exported identifiers in package "cloud.google.com/go/pubsub/apiv1/pubsubpb".

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb. Please read https://github.com/googleapis/google-cloud-go/blob/main/migration.md for more details.

Index

Constants

View Source
const (
	BigQueryConfig_ACTIVE              = src.BigQueryConfig_ACTIVE
	BigQueryConfig_NOT_FOUND           = src.BigQueryConfig_NOT_FOUND
	BigQueryConfig_PERMISSION_DENIED   = src.BigQueryConfig_PERMISSION_DENIED
	BigQueryConfig_SCHEMA_MISMATCH     = src.BigQueryConfig_SCHEMA_MISMATCH
	BigQueryConfig_STATE_UNSPECIFIED   = src.BigQueryConfig_STATE_UNSPECIFIED
	Encoding_BINARY                    = src.Encoding_BINARY
	Encoding_ENCODING_UNSPECIFIED      = src.Encoding_ENCODING_UNSPECIFIED
	Encoding_JSON                      = src.Encoding_JSON
	SchemaView_BASIC                   = src.SchemaView_BASIC
	SchemaView_FULL                    = src.SchemaView_FULL
	SchemaView_SCHEMA_VIEW_UNSPECIFIED = src.SchemaView_SCHEMA_VIEW_UNSPECIFIED
	Schema_AVRO                        = src.Schema_AVRO
	Schema_PROTOCOL_BUFFER             = src.Schema_PROTOCOL_BUFFER
	Schema_TYPE_UNSPECIFIED            = src.Schema_TYPE_UNSPECIFIED
	Subscription_ACTIVE                = src.Subscription_ACTIVE
	Subscription_RESOURCE_ERROR        = src.Subscription_RESOURCE_ERROR
	Subscription_STATE_UNSPECIFIED     = src.Subscription_STATE_UNSPECIFIED
)

Deprecated: Please use consts in: cloud.google.com/go/pubsub/apiv1/pubsubpb

Variables

View Source
var (
	BigQueryConfig_State_name          = src.BigQueryConfig_State_name
	BigQueryConfig_State_value         = src.BigQueryConfig_State_value
	Encoding_name                      = src.Encoding_name
	Encoding_value                     = src.Encoding_value
	File_google_pubsub_v1_pubsub_proto = src.File_google_pubsub_v1_pubsub_proto
	File_google_pubsub_v1_schema_proto = src.File_google_pubsub_v1_schema_proto
	SchemaView_name                    = src.SchemaView_name
	SchemaView_value                   = src.SchemaView_value
	Schema_Type_name                   = src.Schema_Type_name
	Schema_Type_value                  = src.Schema_Type_value
	Subscription_State_name            = src.Subscription_State_name
	Subscription_State_value           = src.Subscription_State_value
)

Deprecated: Please use vars in: cloud.google.com/go/pubsub/apiv1/pubsubpb

Functions

func RegisterPublisherServer deprecated

func RegisterPublisherServer(s *grpc.Server, srv PublisherServer)

Deprecated: Please use funcs in: cloud.google.com/go/pubsub/apiv1/pubsubpb

func RegisterSchemaServiceServer deprecated

func RegisterSchemaServiceServer(s *grpc.Server, srv SchemaServiceServer)

Deprecated: Please use funcs in: cloud.google.com/go/pubsub/apiv1/pubsubpb

func RegisterSubscriberServer deprecated

func RegisterSubscriberServer(s *grpc.Server, srv SubscriberServer)

Deprecated: Please use funcs in: cloud.google.com/go/pubsub/apiv1/pubsubpb

Types

type AcknowledgeRequest deprecated

type AcknowledgeRequest = src.AcknowledgeRequest

Request for the Acknowledge method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type BigQueryConfig deprecated

type BigQueryConfig = src.BigQueryConfig

Configuration for a BigQuery subscription.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type BigQueryConfig_State deprecated

type BigQueryConfig_State = src.BigQueryConfig_State

Possible states for a BigQuery subscription.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type CreateSchemaRequest deprecated

type CreateSchemaRequest = src.CreateSchemaRequest

Request for the CreateSchema method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type CreateSnapshotRequest deprecated

type CreateSnapshotRequest = src.CreateSnapshotRequest

Request for the `CreateSnapshot` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type DeadLetterPolicy deprecated

type DeadLetterPolicy = src.DeadLetterPolicy

Dead lettering is done on a best effort basis. The same message might be dead lettered multiple times. If validation on any of the fields fails at subscription creation/updation, the create/update subscription request will fail.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type DeleteSchemaRequest deprecated

type DeleteSchemaRequest = src.DeleteSchemaRequest

Request for the `DeleteSchema` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type DeleteSnapshotRequest deprecated

type DeleteSnapshotRequest = src.DeleteSnapshotRequest

Request for the `DeleteSnapshot` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type DeleteSubscriptionRequest deprecated

type DeleteSubscriptionRequest = src.DeleteSubscriptionRequest

Request for the DeleteSubscription method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type DeleteTopicRequest deprecated

type DeleteTopicRequest = src.DeleteTopicRequest

Request for the `DeleteTopic` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type DetachSubscriptionRequest deprecated

type DetachSubscriptionRequest = src.DetachSubscriptionRequest

Request for the DetachSubscription method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type DetachSubscriptionResponse deprecated

type DetachSubscriptionResponse = src.DetachSubscriptionResponse

Response for the DetachSubscription method. Reserved for future use.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type Encoding deprecated

type Encoding = src.Encoding

Possible encoding types for messages.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ExpirationPolicy deprecated

type ExpirationPolicy = src.ExpirationPolicy

A policy that specifies the conditions for resource expiration (i.e., automatic resource deletion).

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type GetSchemaRequest deprecated

type GetSchemaRequest = src.GetSchemaRequest

Request for the GetSchema method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type GetSnapshotRequest deprecated

type GetSnapshotRequest = src.GetSnapshotRequest

Request for the GetSnapshot method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type GetSubscriptionRequest deprecated

type GetSubscriptionRequest = src.GetSubscriptionRequest

Request for the GetSubscription method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type GetTopicRequest deprecated

type GetTopicRequest = src.GetTopicRequest

Request for the GetTopic method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ListSchemasRequest deprecated

type ListSchemasRequest = src.ListSchemasRequest

Request for the `ListSchemas` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ListSchemasResponse deprecated

type ListSchemasResponse = src.ListSchemasResponse

Response for the `ListSchemas` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ListSnapshotsRequest deprecated

type ListSnapshotsRequest = src.ListSnapshotsRequest

Request for the `ListSnapshots` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ListSnapshotsResponse deprecated

type ListSnapshotsResponse = src.ListSnapshotsResponse

Response for the `ListSnapshots` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ListSubscriptionsRequest deprecated

type ListSubscriptionsRequest = src.ListSubscriptionsRequest

Request for the `ListSubscriptions` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ListSubscriptionsResponse deprecated

type ListSubscriptionsResponse = src.ListSubscriptionsResponse

Response for the `ListSubscriptions` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ListTopicSnapshotsRequest deprecated

type ListTopicSnapshotsRequest = src.ListTopicSnapshotsRequest

Request for the `ListTopicSnapshots` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ListTopicSnapshotsResponse deprecated

type ListTopicSnapshotsResponse = src.ListTopicSnapshotsResponse

Response for the `ListTopicSnapshots` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ListTopicSubscriptionsRequest deprecated

type ListTopicSubscriptionsRequest = src.ListTopicSubscriptionsRequest

Request for the `ListTopicSubscriptions` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ListTopicSubscriptionsResponse deprecated

type ListTopicSubscriptionsResponse = src.ListTopicSubscriptionsResponse

Response for the `ListTopicSubscriptions` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ListTopicsRequest deprecated

type ListTopicsRequest = src.ListTopicsRequest

Request for the `ListTopics` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ListTopicsResponse deprecated

type ListTopicsResponse = src.ListTopicsResponse

Response for the `ListTopics` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type MessageStoragePolicy deprecated

type MessageStoragePolicy = src.MessageStoragePolicy

A policy constraining the storage of messages published to the topic.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ModifyAckDeadlineRequest deprecated

type ModifyAckDeadlineRequest = src.ModifyAckDeadlineRequest

Request for the ModifyAckDeadline method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ModifyPushConfigRequest deprecated

type ModifyPushConfigRequest = src.ModifyPushConfigRequest

Request for the ModifyPushConfig method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type PublishRequest deprecated

type PublishRequest = src.PublishRequest

Request for the Publish method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type PublishResponse deprecated

type PublishResponse = src.PublishResponse

Response for the `Publish` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type PublisherClient deprecated

type PublisherClient = src.PublisherClient

PublisherClient is the client API for Publisher service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

func NewPublisherClient deprecated

func NewPublisherClient(cc grpc.ClientConnInterface) PublisherClient

Deprecated: Please use funcs in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type PublisherServer deprecated

type PublisherServer = src.PublisherServer

PublisherServer is the server API for Publisher service.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type PubsubMessage deprecated

type PubsubMessage = src.PubsubMessage

A message that is published by publishers and consumed by subscribers. The message must contain either a non-empty data field or at least one attribute. Note that client libraries represent this object differently depending on the language. See the corresponding [client library documentation](https://cloud.google.com/pubsub/docs/reference/libraries) for more information. See [quotas and limits] (https://cloud.google.com/pubsub/quotas) for more information about message limits.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type PullRequest deprecated

type PullRequest = src.PullRequest

Request for the `Pull` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type PullResponse deprecated

type PullResponse = src.PullResponse

Response for the `Pull` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type PushConfig deprecated

type PushConfig = src.PushConfig

Configuration for a push delivery endpoint.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type PushConfig_OidcToken deprecated

type PushConfig_OidcToken = src.PushConfig_OidcToken

Contains information needed for generating an [OpenID Connect token](https://developers.google.com/identity/protocols/OpenIDConnect).

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type PushConfig_OidcToken_

type PushConfig_OidcToken_ = src.PushConfig_OidcToken_

type ReceivedMessage deprecated

type ReceivedMessage = src.ReceivedMessage

A message and its corresponding acknowledgment ID.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type RetryPolicy deprecated

type RetryPolicy = src.RetryPolicy

A policy that specifies how Cloud Pub/Sub retries message delivery. Retry delay will be exponential based on provided minimum and maximum backoffs. https://en.wikipedia.org/wiki/Exponential_backoff. RetryPolicy will be triggered on NACKs or acknowledgement deadline exceeded events for a given message. Retry Policy is implemented on a best effort basis. At times, the delay between consecutive deliveries may not match the configuration. That is, delay can be more or less than configured backoff.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type Schema deprecated

type Schema = src.Schema

A schema resource.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type SchemaServiceClient deprecated

type SchemaServiceClient = src.SchemaServiceClient

SchemaServiceClient is the client API for SchemaService service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

func NewSchemaServiceClient deprecated

func NewSchemaServiceClient(cc grpc.ClientConnInterface) SchemaServiceClient

Deprecated: Please use funcs in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type SchemaServiceServer deprecated

type SchemaServiceServer = src.SchemaServiceServer

SchemaServiceServer is the server API for SchemaService service.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type SchemaSettings deprecated

type SchemaSettings = src.SchemaSettings

Settings for validating messages published against a schema.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type SchemaView deprecated

type SchemaView = src.SchemaView

View of Schema object fields to be returned by GetSchema and ListSchemas.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type Schema_Type deprecated

type Schema_Type = src.Schema_Type

Possible schema definition types.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type SeekRequest deprecated

type SeekRequest = src.SeekRequest

Request for the `Seek` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type SeekRequest_Snapshot

type SeekRequest_Snapshot = src.SeekRequest_Snapshot

type SeekRequest_Time

type SeekRequest_Time = src.SeekRequest_Time

type SeekResponse deprecated

type SeekResponse = src.SeekResponse

Response for the `Seek` method (this response is empty).

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type Snapshot deprecated

type Snapshot = src.Snapshot

A snapshot resource. Snapshots are used in [Seek](https://cloud.google.com/pubsub/docs/replay-overview) operations, which allow you to manage message acknowledgments in bulk. That is, you can set the acknowledgment state of messages in an existing subscription to the state captured by a snapshot.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type StreamingPullRequest deprecated

type StreamingPullRequest = src.StreamingPullRequest

Request for the `StreamingPull` streaming RPC method. This request is used to establish the initial stream as well as to stream acknowledgements and ack deadline modifications from the client to the server.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type StreamingPullResponse deprecated

type StreamingPullResponse = src.StreamingPullResponse

Response for the `StreamingPull` method. This response is used to stream messages from the server to the client.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type StreamingPullResponse_AcknowledgeConfirmation deprecated

type StreamingPullResponse_AcknowledgeConfirmation = src.StreamingPullResponse_AcknowledgeConfirmation

Acknowledgement IDs sent in one or more previous requests to acknowledge a previously received message.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type StreamingPullResponse_ModifyAckDeadlineConfirmation deprecated

type StreamingPullResponse_ModifyAckDeadlineConfirmation = src.StreamingPullResponse_ModifyAckDeadlineConfirmation

Acknowledgement IDs sent in one or more previous requests to modify the deadline for a specific message.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type StreamingPullResponse_SubscriptionProperties deprecated

type StreamingPullResponse_SubscriptionProperties = src.StreamingPullResponse_SubscriptionProperties

Subscription properties sent as part of the response.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type SubscriberClient deprecated

type SubscriberClient = src.SubscriberClient

SubscriberClient is the client API for Subscriber service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

func NewSubscriberClient deprecated

func NewSubscriberClient(cc grpc.ClientConnInterface) SubscriberClient

Deprecated: Please use funcs in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type SubscriberServer deprecated

type SubscriberServer = src.SubscriberServer

SubscriberServer is the server API for Subscriber service.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type Subscriber_StreamingPullClient

type Subscriber_StreamingPullClient = src.Subscriber_StreamingPullClient

type Subscriber_StreamingPullServer

type Subscriber_StreamingPullServer = src.Subscriber_StreamingPullServer

type Subscription deprecated

type Subscription = src.Subscription

A subscription resource.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type Subscription_State deprecated

type Subscription_State = src.Subscription_State

Possible states for a subscription.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type Topic deprecated

type Topic = src.Topic

A topic resource.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type UnimplementedPublisherServer deprecated

type UnimplementedPublisherServer = src.UnimplementedPublisherServer

UnimplementedPublisherServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type UnimplementedSchemaServiceServer deprecated

type UnimplementedSchemaServiceServer = src.UnimplementedSchemaServiceServer

UnimplementedSchemaServiceServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type UnimplementedSubscriberServer deprecated

type UnimplementedSubscriberServer = src.UnimplementedSubscriberServer

UnimplementedSubscriberServer can be embedded to have forward compatible implementations.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type UpdateSnapshotRequest deprecated

type UpdateSnapshotRequest = src.UpdateSnapshotRequest

Request for the UpdateSnapshot method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type UpdateSubscriptionRequest deprecated

type UpdateSubscriptionRequest = src.UpdateSubscriptionRequest

Request for the UpdateSubscription method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type UpdateTopicRequest deprecated

type UpdateTopicRequest = src.UpdateTopicRequest

Request for the UpdateTopic method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ValidateMessageRequest deprecated

type ValidateMessageRequest = src.ValidateMessageRequest

Request for the `ValidateMessage` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ValidateMessageRequest_Name

type ValidateMessageRequest_Name = src.ValidateMessageRequest_Name

type ValidateMessageRequest_Schema

type ValidateMessageRequest_Schema = src.ValidateMessageRequest_Schema

type ValidateMessageResponse deprecated

type ValidateMessageResponse = src.ValidateMessageResponse

Response for the `ValidateMessage` method. Empty for now.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ValidateSchemaRequest deprecated

type ValidateSchemaRequest = src.ValidateSchemaRequest

Request for the `ValidateSchema` method.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

type ValidateSchemaResponse deprecated

type ValidateSchemaResponse = src.ValidateSchemaResponse

Response for the `ValidateSchema` method. Empty for now.

Deprecated: Please use types in: cloud.google.com/go/pubsub/apiv1/pubsubpb

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL