Skip to content

Commit

Permalink
Regenerate PubSub API
Browse files Browse the repository at this point in the history
Mostly comment changes; adds ExpirationPolicy in protos.
(Reordering of a retry filter is insignificant)
  • Loading branch information
jskeet committed Oct 16, 2018
1 parent 28ae98e commit 1d0c50c
Show file tree
Hide file tree
Showing 4 changed files with 464 additions and 292 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@ private PublisherServiceApiSettings(PublisherServiceApiSettings existing) : base
public static sys::Predicate<grpccore::RpcException> IdempotentRetryFilter { get; } =
gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.DeadlineExceeded, grpccore::StatusCode.Unavailable);

/// <summary>
/// The filter specifying which RPC <see cref="grpccore::StatusCode"/>s are eligible for retry
/// for "NonIdempotent" <see cref="PublisherServiceApiClient"/> RPC methods.
/// </summary>
/// <remarks>
/// There are no RPC <see cref="grpccore::StatusCode"/>s eligible for retry for "NonIdempotent" RPC methods.
/// </remarks>
public static sys::Predicate<grpccore::RpcException> NonIdempotentRetryFilter { get; } =
gaxgrpc::RetrySettings.FilterForStatusCodes();

/// <summary>
/// The filter specifying which RPC <see cref="grpccore::StatusCode"/>s are eligible for retry
/// for "OnePlusDelivery" <see cref="PublisherServiceApiClient"/> RPC methods.
Expand All @@ -99,16 +109,6 @@ private PublisherServiceApiSettings(PublisherServiceApiSettings existing) : base
public static sys::Predicate<grpccore::RpcException> OnePlusDeliveryRetryFilter { get; } =
gaxgrpc::RetrySettings.FilterForStatusCodes(grpccore::StatusCode.Aborted, grpccore::StatusCode.Cancelled, grpccore::StatusCode.DeadlineExceeded, grpccore::StatusCode.Internal, grpccore::StatusCode.ResourceExhausted, grpccore::StatusCode.Unavailable, grpccore::StatusCode.Unknown);

/// <summary>
/// The filter specifying which RPC <see cref="grpccore::StatusCode"/>s are eligible for retry
/// for "NonIdempotent" <see cref="PublisherServiceApiClient"/> RPC methods.
/// </summary>
/// <remarks>
/// There are no RPC <see cref="grpccore::StatusCode"/>s eligible for retry for "NonIdempotent" RPC methods.
/// </remarks>
public static sys::Predicate<grpccore::RpcException> NonIdempotentRetryFilter { get; } =
gaxgrpc::RetrySettings.FilterForStatusCodes();

/// <summary>
/// "Default" retry backoff for <see cref="PublisherServiceApiClient"/> RPC methods.
/// </summary>
Expand Down Expand Up @@ -853,8 +853,7 @@ public virtual Publisher.PublisherClient GrpcClient

/// <summary>
/// Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
/// does not exist. The message payload must not be empty; it must contain
/// either a non-empty data field, or at least one attribute.
/// does not exist.
/// </summary>
/// <param name="topic">
/// The messages in the request will be published on this topic.
Expand Down Expand Up @@ -882,8 +881,7 @@ public virtual Publisher.PublisherClient GrpcClient

/// <summary>
/// Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
/// does not exist. The message payload must not be empty; it must contain
/// either a non-empty data field, or at least one attribute.
/// does not exist.
/// </summary>
/// <param name="topic">
/// The messages in the request will be published on this topic.
Expand All @@ -908,8 +906,7 @@ public virtual Publisher.PublisherClient GrpcClient

/// <summary>
/// Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
/// does not exist. The message payload must not be empty; it must contain
/// either a non-empty data field, or at least one attribute.
/// does not exist.
/// </summary>
/// <param name="topic">
/// The messages in the request will be published on this topic.
Expand Down Expand Up @@ -937,8 +934,7 @@ public virtual Publisher.PublisherClient GrpcClient

/// <summary>
/// Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
/// does not exist. The message payload must not be empty; it must contain
/// either a non-empty data field, or at least one attribute.
/// does not exist.
/// </summary>
/// <param name="request">
/// The request object containing all of the parameters for the API call.
Expand All @@ -958,8 +954,7 @@ public virtual Publisher.PublisherClient GrpcClient

/// <summary>
/// Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
/// does not exist. The message payload must not be empty; it must contain
/// either a non-empty data field, or at least one attribute.
/// does not exist.
/// </summary>
/// <param name="request">
/// The request object containing all of the parameters for the API call.
Expand All @@ -978,8 +973,7 @@ public virtual Publisher.PublisherClient GrpcClient

/// <summary>
/// Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
/// does not exist. The message payload must not be empty; it must contain
/// either a non-empty data field, or at least one attribute.
/// does not exist.
/// </summary>
/// <param name="request">
/// The request object containing all of the parameters for the API call.
Expand Down Expand Up @@ -1120,8 +1114,8 @@ public virtual Publisher.PublisherClient GrpcClient
/// Lists matching topics.
/// </summary>
/// <param name="project">
/// The name of the cloud project that topics belong to.
/// Format is `projects/{project}`.
/// The name of the project in which to list topics.
/// Format is `projects/{project-id}`.
/// </param>
/// <param name="pageToken">
/// The token returned from the previous request.
Expand Down Expand Up @@ -1154,8 +1148,8 @@ public virtual Publisher.PublisherClient GrpcClient
/// Lists matching topics.
/// </summary>
/// <param name="project">
/// The name of the cloud project that topics belong to.
/// Format is `projects/{project}`.
/// The name of the project in which to list topics.
/// Format is `projects/{project-id}`.
/// </param>
/// <param name="pageToken">
/// The token returned from the previous request.
Expand Down Expand Up @@ -2108,8 +2102,7 @@ public PublisherServiceApiClientImpl(Publisher.PublisherClient grpcClient, Publi

/// <summary>
/// Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
/// does not exist. The message payload must not be empty; it must contain
/// either a non-empty data field, or at least one attribute.
/// does not exist.
/// </summary>
/// <param name="request">
/// The request object containing all of the parameters for the API call.
Expand All @@ -2130,8 +2123,7 @@ public PublisherServiceApiClientImpl(Publisher.PublisherClient grpcClient, Publi

/// <summary>
/// Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic
/// does not exist. The message payload must not be empty; it must contain
/// either a non-empty data field, or at least one attribute.
/// does not exist.
/// </summary>
/// <param name="request">
/// The request object containing all of the parameters for the API call.
Expand Down

0 comments on commit 1d0c50c

Please sign in to comment.