Skip to content

Commit

Permalink
Regenerate LRO API: comment changes only
Browse files Browse the repository at this point in the history
  • Loading branch information
jskeet committed Mar 6, 2019
1 parent 85f2eba commit e539ddc
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 37 deletions.
15 changes: 10 additions & 5 deletions apis/Google.LongRunning/Google.LongRunning/Operations.cs
Expand Up @@ -397,7 +397,8 @@ public enum ResultOneofCase {
}

/// <summary>
/// The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation].
/// The request message for
/// [Operations.GetOperation][google.longrunning.Operations.GetOperation].
/// </summary>
public sealed partial class GetOperationRequest : pb::IMessage<GetOperationRequest> {
private static readonly pb::MessageParser<GetOperationRequest> _parser = new pb::MessageParser<GetOperationRequest>(() => new GetOperationRequest());
Expand Down Expand Up @@ -532,7 +533,8 @@ public sealed partial class GetOperationRequest : pb::IMessage<GetOperationReque
}

/// <summary>
/// The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
/// The request message for
/// [Operations.ListOperations][google.longrunning.Operations.ListOperations].
/// </summary>
public sealed partial class ListOperationsRequest : pb::IMessage<ListOperationsRequest> {
private static readonly pb::MessageParser<ListOperationsRequest> _parser = new pb::MessageParser<ListOperationsRequest>(() => new ListOperationsRequest());
Expand Down Expand Up @@ -760,7 +762,8 @@ public sealed partial class ListOperationsRequest : pb::IMessage<ListOperationsR
}

/// <summary>
/// The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
/// The response message for
/// [Operations.ListOperations][google.longrunning.Operations.ListOperations].
/// </summary>
public sealed partial class ListOperationsResponse : pb::IMessage<ListOperationsResponse> {
private static readonly pb::MessageParser<ListOperationsResponse> _parser = new pb::MessageParser<ListOperationsResponse>(() => new ListOperationsResponse());
Expand Down Expand Up @@ -918,7 +921,8 @@ public sealed partial class ListOperationsResponse : pb::IMessage<ListOperations
}

/// <summary>
/// The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
/// The request message for
/// [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
/// </summary>
public sealed partial class CancelOperationRequest : pb::IMessage<CancelOperationRequest> {
private static readonly pb::MessageParser<CancelOperationRequest> _parser = new pb::MessageParser<CancelOperationRequest>(() => new CancelOperationRequest());
Expand Down Expand Up @@ -1053,7 +1057,8 @@ public sealed partial class CancelOperationRequest : pb::IMessage<CancelOperatio
}

/// <summary>
/// The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
/// The request message for
/// [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
/// </summary>
public sealed partial class DeleteOperationRequest : pb::IMessage<DeleteOperationRequest> {
private static readonly pb::MessageParser<DeleteOperationRequest> _parser = new pb::MessageParser<DeleteOperationRequest>(() => new DeleteOperationRequest());
Expand Down
40 changes: 24 additions & 16 deletions apis/Google.LongRunning/Google.LongRunning/OperationsClient.cs
Expand Up @@ -668,8 +668,9 @@ public virtual Operations.OperationsClient GrpcClient
/// other methods to check whether the cancellation succeeded or whether the
/// operation completed despite cancellation. On successful cancellation,
/// the operation is not deleted; instead, it becomes an operation with
/// an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
/// corresponding to `Code.CANCELLED`.
/// an [Operation.error][google.longrunning.Operation.error] value with a
/// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
/// `Code.CANCELLED`.
/// </summary>
/// <param name="name">
/// The name of the operation resource to be cancelled.
Expand Down Expand Up @@ -698,8 +699,9 @@ public virtual Operations.OperationsClient GrpcClient
/// other methods to check whether the cancellation succeeded or whether the
/// operation completed despite cancellation. On successful cancellation,
/// the operation is not deleted; instead, it becomes an operation with
/// an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
/// corresponding to `Code.CANCELLED`.
/// an [Operation.error][google.longrunning.Operation.error] value with a
/// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
/// `Code.CANCELLED`.
/// </summary>
/// <param name="name">
/// The name of the operation resource to be cancelled.
Expand All @@ -725,8 +727,9 @@ public virtual Operations.OperationsClient GrpcClient
/// other methods to check whether the cancellation succeeded or whether the
/// operation completed despite cancellation. On successful cancellation,
/// the operation is not deleted; instead, it becomes an operation with
/// an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
/// corresponding to `Code.CANCELLED`.
/// an [Operation.error][google.longrunning.Operation.error] value with a
/// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
/// `Code.CANCELLED`.
/// </summary>
/// <param name="name">
/// The name of the operation resource to be cancelled.
Expand All @@ -752,8 +755,9 @@ public virtual Operations.OperationsClient GrpcClient
/// other methods to check whether the cancellation succeeded or whether the
/// operation completed despite cancellation. On successful cancellation,
/// the operation is not deleted; instead, it becomes an operation with
/// an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
/// corresponding to `Code.CANCELLED`.
/// an [Operation.error][google.longrunning.Operation.error] value with a
/// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
/// `Code.CANCELLED`.
/// </summary>
/// <param name="request">
/// The request object containing all of the parameters for the API call.
Expand All @@ -780,8 +784,9 @@ public virtual Operations.OperationsClient GrpcClient
/// other methods to check whether the cancellation succeeded or whether the
/// operation completed despite cancellation. On successful cancellation,
/// the operation is not deleted; instead, it becomes an operation with
/// an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
/// corresponding to `Code.CANCELLED`.
/// an [Operation.error][google.longrunning.Operation.error] value with a
/// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
/// `Code.CANCELLED`.
/// </summary>
/// <param name="request">
/// The request object containing all of the parameters for the API call.
Expand All @@ -807,8 +812,9 @@ public virtual Operations.OperationsClient GrpcClient
/// other methods to check whether the cancellation succeeded or whether the
/// operation completed despite cancellation. On successful cancellation,
/// the operation is not deleted; instead, it becomes an operation with
/// an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
/// corresponding to `Code.CANCELLED`.
/// an [Operation.error][google.longrunning.Operation.error] value with a
/// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
/// `Code.CANCELLED`.
/// </summary>
/// <param name="request">
/// The request object containing all of the parameters for the API call.
Expand Down Expand Up @@ -1122,8 +1128,9 @@ public OperationsClientImpl(Operations.OperationsClient grpcClient, OperationsSe
/// other methods to check whether the cancellation succeeded or whether the
/// operation completed despite cancellation. On successful cancellation,
/// the operation is not deleted; instead, it becomes an operation with
/// an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
/// corresponding to `Code.CANCELLED`.
/// an [Operation.error][google.longrunning.Operation.error] value with a
/// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
/// `Code.CANCELLED`.
/// </summary>
/// <param name="request">
/// The request object containing all of the parameters for the API call.
Expand Down Expand Up @@ -1151,8 +1158,9 @@ public OperationsClientImpl(Operations.OperationsClient grpcClient, OperationsSe
/// other methods to check whether the cancellation succeeded or whether the
/// operation completed despite cancellation. On successful cancellation,
/// the operation is not deleted; instead, it becomes an operation with
/// an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
/// corresponding to `Code.CANCELLED`.
/// an [Operation.error][google.longrunning.Operation.error] value with a
/// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
/// `Code.CANCELLED`.
/// </summary>
/// <param name="request">
/// The request object containing all of the parameters for the API call.
Expand Down
37 changes: 21 additions & 16 deletions apis/Google.LongRunning/Google.LongRunning/OperationsGrpc.cs
Expand Up @@ -27,12 +27,12 @@ namespace Google.LongRunning {
/// Manages long-running operations with an API service.
///
/// When an API method normally takes long time to complete, it can be designed
/// to return [Operation][google.longrunning.Operation] to the client, and the client can use this
/// interface to receive the real response asynchronously by polling the
/// operation resource, or pass the operation resource to another API (such as
/// Google Cloud Pub/Sub API) to receive the response. Any API service that
/// returns long-running operations should implement the `Operations` interface
/// so developers can have a consistent client experience.
/// to return [Operation][google.longrunning.Operation] to the client, and the
/// client can use this interface to receive the real response asynchronously by
/// polling the operation resource, or pass the operation resource to another API
/// (such as Google Cloud Pub/Sub API) to receive the response. Any API service
/// that returns long-running operations should implement the `Operations`
/// interface so developers can have a consistent client experience.
/// </summary>
public static partial class Operations
{
Expand Down Expand Up @@ -134,8 +134,9 @@ public abstract partial class OperationsBase
/// other methods to check whether the cancellation succeeded or whether the
/// operation completed despite cancellation. On successful cancellation,
/// the operation is not deleted; instead, it becomes an operation with
/// an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
/// corresponding to `Code.CANCELLED`.
/// an [Operation.error][google.longrunning.Operation.error] value with a
/// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
/// `Code.CANCELLED`.
/// </summary>
/// <param name="request">The request received from the client.</param>
/// <param name="context">The context of the server-side call handler being invoked.</param>
Expand Down Expand Up @@ -347,8 +348,9 @@ protected OperationsClient(ClientBaseConfiguration configuration) : base(configu
/// other methods to check whether the cancellation succeeded or whether the
/// operation completed despite cancellation. On successful cancellation,
/// the operation is not deleted; instead, it becomes an operation with
/// an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
/// corresponding to `Code.CANCELLED`.
/// an [Operation.error][google.longrunning.Operation.error] value with a
/// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
/// `Code.CANCELLED`.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
Expand All @@ -368,8 +370,9 @@ protected OperationsClient(ClientBaseConfiguration configuration) : base(configu
/// other methods to check whether the cancellation succeeded or whether the
/// operation completed despite cancellation. On successful cancellation,
/// the operation is not deleted; instead, it becomes an operation with
/// an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
/// corresponding to `Code.CANCELLED`.
/// an [Operation.error][google.longrunning.Operation.error] value with a
/// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
/// `Code.CANCELLED`.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
Expand All @@ -387,8 +390,9 @@ protected OperationsClient(ClientBaseConfiguration configuration) : base(configu
/// other methods to check whether the cancellation succeeded or whether the
/// operation completed despite cancellation. On successful cancellation,
/// the operation is not deleted; instead, it becomes an operation with
/// an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
/// corresponding to `Code.CANCELLED`.
/// an [Operation.error][google.longrunning.Operation.error] value with a
/// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
/// `Code.CANCELLED`.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="headers">The initial metadata to send with the call. This parameter is optional.</param>
Expand All @@ -408,8 +412,9 @@ protected OperationsClient(ClientBaseConfiguration configuration) : base(configu
/// other methods to check whether the cancellation succeeded or whether the
/// operation completed despite cancellation. On successful cancellation,
/// the operation is not deleted; instead, it becomes an operation with
/// an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
/// corresponding to `Code.CANCELLED`.
/// an [Operation.error][google.longrunning.Operation.error] value with a
/// [google.rpc.Status.code][google.rpc.Status.code] of 1, corresponding to
/// `Code.CANCELLED`.
/// </summary>
/// <param name="request">The request to send to the server.</param>
/// <param name="options">The options for the call.</param>
Expand Down

0 comments on commit e539ddc

Please sign in to comment.