Skip to content
This repository was archived by the owner on Sep 16, 2023. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
🦉 Updates from OwlBot post-processor
  • Loading branch information
gcf-owl-bot[bot] committed Apr 26, 2022
commit d37dec656b321eb855158a3071736ca88da581f0
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@
* methods:
*
* <ol>
* <li> A "flattened" method. With this type of method, the fields of the request type have been
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li> A "request object" method. This type of method only takes one parameter, a request object,
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li> A "callable" method. This type of method takes no parameters and returns an immutable API
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand Down Expand Up @@ -142,6 +142,38 @@ public ErrorGroupServiceStub getStub() {
return stub;
}

// Inserted by synthtool to preserve backwards-compatibility
/**
* Get the specified group.
*
* <p>Sample code:
*
* <pre><code>
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
* GroupName groupName = GroupName.of("[PROJECT]", "[GROUP]");
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
* }
* </code></pre>
*
* @param groupName Required. The group resource name. Written as
* &lt;code&gt;projects/&lt;var&gt;projectID&lt;/var&gt;/groups/&lt;var&gt;group_name&lt;/var&gt;&lt;/code&gt;.
* Call &lt;a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list"&gt;
* &lt;code&gt;groupStats.list&lt;/code&gt;&lt;/a&gt; to return a list of groups belonging to
* this project.
* <p>Example: &lt;code&gt;projects/my-project-123/groups/my-group&lt;/code&gt;
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
* @deprecated Use ErrorGroupServiceClient#getGroup(ErrorGroupName)
*/
@Deprecated
public final ErrorGroup getGroup(GroupName groupName) {

GetGroupRequest request =
GetGroupRequest.newBuilder()
.setGroupName(groupName == null ? null : groupName.toString())
.build();
return getGroup(request);
}

// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* Get the specified group.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.devtools.clouderrorreporting.v1beta1.stub.ErrorGroupServiceStubSettings;
Expand All @@ -39,10 +38,10 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (clouderrorreporting.googleapis.com) and default port (443)
* are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (clouderrorreporting.googleapis.com) and default port (443) are
* used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,13 +56,13 @@
* methods:
*
* <ol>
* <li> A "flattened" method. With this type of method, the fields of the request type have been
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li> A "request object" method. This type of method only takes one parameter, a request object,
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li> A "callable" method. This type of method takes no parameters and returns an immutable API
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand Down Expand Up @@ -633,7 +633,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted

public static class ListGroupStatsPagedResponse
extends AbstractPagedListResponse<
ListGroupStatsRequest, ListGroupStatsResponse, ErrorGroupStats, ListGroupStatsPage,
ListGroupStatsRequest,
ListGroupStatsResponse,
ErrorGroupStats,
ListGroupStatsPage,
ListGroupStatsFixedSizeCollection> {

public static ApiFuture<ListGroupStatsPagedResponse> createAsync(
Expand Down Expand Up @@ -683,7 +686,10 @@ public ApiFuture<ListGroupStatsPage> createPageAsync(

public static class ListGroupStatsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListGroupStatsRequest, ListGroupStatsResponse, ErrorGroupStats, ListGroupStatsPage,
ListGroupStatsRequest,
ListGroupStatsResponse,
ErrorGroupStats,
ListGroupStatsPage,
ListGroupStatsFixedSizeCollection> {

private ListGroupStatsFixedSizeCollection(List<ListGroupStatsPage> pages, int collectionSize) {
Expand All @@ -703,7 +709,10 @@ protected ListGroupStatsFixedSizeCollection createCollection(

public static class ListEventsPagedResponse
extends AbstractPagedListResponse<
ListEventsRequest, ListEventsResponse, ErrorEvent, ListEventsPage,
ListEventsRequest,
ListEventsResponse,
ErrorEvent,
ListEventsPage,
ListEventsFixedSizeCollection> {

public static ApiFuture<ListEventsPagedResponse> createAsync(
Expand Down Expand Up @@ -750,7 +759,10 @@ public ApiFuture<ListEventsPage> createPageAsync(

public static class ListEventsFixedSizeCollection
extends AbstractFixedSizeCollection<
ListEventsRequest, ListEventsResponse, ErrorEvent, ListEventsPage,
ListEventsRequest,
ListEventsResponse,
ErrorEvent,
ListEventsPage,
ListEventsFixedSizeCollection> {

private ListEventsFixedSizeCollection(List<ListEventsPage> pages, int collectionSize) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.devtools.clouderrorreporting.v1beta1.stub.ErrorStatsServiceStubSettings;
Expand All @@ -43,10 +42,10 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (clouderrorreporting.googleapis.com) and default port (443)
* are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (clouderrorreporting.googleapis.com) and default port (443) are
* used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,13 @@
* methods:
*
* <ol>
* <li> A "flattened" method. With this type of method, the fields of the request type have been
* <li>A "flattened" method. With this type of method, the fields of the request type have been
* converted into function parameters. It may be the case that not all fields are available as
* parameters, and not every API method will have a flattened method entry point.
* <li> A "request object" method. This type of method only takes one parameter, a request object,
* <li>A "request object" method. This type of method only takes one parameter, a request object,
* which must be constructed before the call. Not every API method will have a request object
* method.
* <li> A "callable" method. This type of method takes no parameters and returns an immutable API
* <li>A "callable" method. This type of method takes no parameters and returns an immutable API
* callable object, which can be used to initiate calls to the service.
* </ol>
*
Expand Down Expand Up @@ -151,7 +151,7 @@ public ReportErrorsServiceStub getStub() {
* <p>This endpoint accepts &#42;&#42;either&#42;&#42; an OAuth token,
*
* <ul>
* <li> &#42;or&#42;&#42; an [API key](https://support.google.com/cloud/answer/6158862) for
* <li>&#42;or&#42;&#42; an [API key](https://support.google.com/cloud/answer/6158862) for
* authentication. To use an API key, append it to the URL as the value of a `key`
* parameter. For example:
* </ul>
Expand Down Expand Up @@ -201,7 +201,7 @@ public final ReportErrorEventResponse reportErrorEvent(
* <p>This endpoint accepts &#42;&#42;either&#42;&#42; an OAuth token,
*
* <ul>
* <li> &#42;or&#42;&#42; an [API key](https://support.google.com/cloud/answer/6158862) for
* <li>&#42;or&#42;&#42; an [API key](https://support.google.com/cloud/answer/6158862) for
* authentication. To use an API key, append it to the URL as the value of a `key`
* parameter. For example:
* </ul>
Expand Down Expand Up @@ -248,7 +248,7 @@ public final ReportErrorEventResponse reportErrorEvent(
* <p>This endpoint accepts &#42;&#42;either&#42;&#42; an OAuth token,
*
* <ul>
* <li> &#42;or&#42;&#42; an [API key](https://support.google.com/cloud/answer/6158862) for
* <li>&#42;or&#42;&#42; an [API key](https://support.google.com/cloud/answer/6158862) for
* authentication. To use an API key, append it to the URL as the value of a `key`
* parameter. For example:
* </ul>
Expand Down Expand Up @@ -290,7 +290,7 @@ public final ReportErrorEventResponse reportErrorEvent(ReportErrorEventRequest r
* <p>This endpoint accepts &#42;&#42;either&#42;&#42; an OAuth token,
*
* <ul>
* <li> &#42;or&#42;&#42; an [API key](https://support.google.com/cloud/answer/6158862) for
* <li>&#42;or&#42;&#42; an [API key](https://support.google.com/cloud/answer/6158862) for
* authentication. To use an API key, append it to the URL as the value of a `key`
* parameter. For example:
* </ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.ClientContext;
import com.google.api.gax.rpc.ClientSettings;
import com.google.api.gax.rpc.StubSettings;
import com.google.api.gax.rpc.TransportChannelProvider;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.devtools.clouderrorreporting.v1beta1.stub.ReportErrorsServiceStubSettings;
Expand All @@ -39,10 +38,10 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (clouderrorreporting.googleapis.com) and default port (443)
* are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (clouderrorreporting.googleapis.com) and default port (443) are
* used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (clouderrorreporting.googleapis.com) and default port (443)
* are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (clouderrorreporting.googleapis.com) and default port (443) are
* used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,10 +65,10 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (clouderrorreporting.googleapis.com) and default port (443)
* are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (clouderrorreporting.googleapis.com) and default port (443) are
* used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import io.grpc.MethodDescriptor;
import io.grpc.protobuf.ProtoUtils;
import java.io.IOException;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import javax.annotation.Generated;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@
* <p>The default instance has everything set to sensible defaults:
*
* <ul>
* <li> The default service address (clouderrorreporting.googleapis.com) and default port (443)
* are used.
* <li> Credentials are acquired automatically through Application Default Credentials.
* <li> Retries are configured for idempotent methods but not for non-idempotent methods.
* <li>The default service address (clouderrorreporting.googleapis.com) and default port (443) are
* used.
* <li>Credentials are acquired automatically through Application Default Credentials.
* <li>Retries are configured for idempotent methods but not for non-idempotent methods.
* </ul>
*
* <p>The builder of this class is recursive, so contained classes are themselves builders. When
Expand Down
Loading