*
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
- * GroupName groupName = GroupName.of("[PROJECT]", "[GROUP]");
+ * ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
* }
*
@@ -149,7 +150,7 @@ public ErrorGroupServiceStub getStub() {
return stub;
}
- // AUTO-GENERATED DOCUMENTATION AND METHOD
+ // Inserted by synthtool to preserve backwards-compatibility
/**
* Get the specified group.
*
@@ -162,14 +163,16 @@ public ErrorGroupServiceStub getStub() {
* }
*
*
- * @param groupName [Required] The group resource name. Written as
+ * @param groupName Required. The group resource name. Written as
* <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
* Call <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
* <code>groupStats.list</code></a> to return a list of groups belonging to
* this project.
* Example: <code>projects/my-project-123/groups/my-group</code> * @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 = @@ -187,12 +190,42 @@ public final ErrorGroup getGroup(GroupName groupName) { * *
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
- * GroupName groupName = GroupName.of("[PROJECT]", "[GROUP]");
+ * ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
+ * ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
+ * }
+ *
+ *
+ * @param groupName Required. The group resource name. Written as
+ * <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
+ * Call <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
+ * <code>groupStats.list</code></a> to return a list of groups belonging to
+ * this project.
+ * Example: <code>projects/my-project-123/groups/my-group</code> + * @throws com.google.api.gax.rpc.ApiException if the remote call fails + */ + public final ErrorGroup getGroup(ErrorGroupName groupName) { + + GetGroupRequest request = + GetGroupRequest.newBuilder() + .setGroupName(groupName == null ? null : groupName.toString()) + .build(); + return getGroup(request); + } + + // AUTO-GENERATED DOCUMENTATION AND METHOD + /** + * Get the specified group. + * + *
Sample code: + * + *
+ * try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
+ * ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
* ErrorGroup response = errorGroupServiceClient.getGroup(groupName.toString());
* }
*
*
- * @param groupName [Required] The group resource name. Written as
+ * @param groupName Required. The group resource name. Written as
* <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
* Call <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
* <code>groupStats.list</code></a> to return a list of groups belonging to
@@ -214,7 +247,7 @@ public final ErrorGroup getGroup(String groupName) {
*
*
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
- * GroupName groupName = GroupName.of("[PROJECT]", "[GROUP]");
+ * ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
* GetGroupRequest request = GetGroupRequest.newBuilder()
* .setGroupName(groupName.toString())
* .build();
@@ -237,7 +270,7 @@ public final ErrorGroup getGroup(GetGroupRequest request) {
*
*
* try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
- * GroupName groupName = GroupName.of("[PROJECT]", "[GROUP]");
+ * ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
* GetGroupRequest request = GetGroupRequest.newBuilder()
* .setGroupName(groupName.toString())
* .build();
@@ -264,7 +297,7 @@ public final UnaryCallable getGroupCallable() {
* }
*
*
- * @param group [Required] The group which replaces the resource on the server.
+ * @param group Required. The group which replaces the resource on the server.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ErrorGroup updateGroup(ErrorGroup group) {
diff --git a/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClient.java b/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClient.java
index 8b04aa17..d7413b2b 100644
--- a/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClient.java
+++ b/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClient.java
@@ -181,17 +181,18 @@ public ErrorStatsServiceStub getStub() {
* }
*
*
- * @param projectName [Required] The resource name of the Google Cloud Platform project. Written
- * as <code>projects/</code> plus the <a
+ * @param projectName Required. The resource name of the Google Cloud Platform project. Written as
+ * <code>projects/</code> plus the <a
* href="https://support.google.com/cloud/answer/6158840">Google Cloud Platform project
* ID</a>.
* Example: <code>projects/my-project-123</code>. - * @param timeRange [Optional] List data for the given time range. If not set a default time range - * is used. The field time_range_begin in the response will specify the beginning of this time - * range. Only <code>ErrorGroupStats</code> with a non-zero count in the given - * time range are returned, unless the request contains an explicit group_id list. If a - * group_id list is given, also <code>ErrorGroupStats</code> with zero occurrences - * are returned. + * @param timeRange Optional. List data for the given time range. If not set, a default time range + * is used. The field <code>time_range_begin</code> in the response will specify + * the beginning of this time range. Only <code>ErrorGroupStats</code> with a + * non-zero count in the given time range are returned, unless the request contains an + * explicit <code>group_id</code> list. If a <code>group_id</code> + * list is given, also <code>ErrorGroupStats</code> with zero occurrences are + * returned. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListGroupStatsPagedResponse listGroupStats( @@ -220,17 +221,18 @@ public final ListGroupStatsPagedResponse listGroupStats( * } * * - * @param projectName [Required] The resource name of the Google Cloud Platform project. Written - * as <code>projects/</code> plus the <a + * @param projectName Required. The resource name of the Google Cloud Platform project. Written as + * <code>projects/</code> plus the <a * href="https://support.google.com/cloud/answer/6158840">Google Cloud Platform project * ID</a>. *
Example: <code>projects/my-project-123</code>. - * @param timeRange [Optional] List data for the given time range. If not set a default time range - * is used. The field time_range_begin in the response will specify the beginning of this time - * range. Only <code>ErrorGroupStats</code> with a non-zero count in the given - * time range are returned, unless the request contains an explicit group_id list. If a - * group_id list is given, also <code>ErrorGroupStats</code> with zero occurrences - * are returned. + * @param timeRange Optional. List data for the given time range. If not set, a default time range + * is used. The field <code>time_range_begin</code> in the response will specify + * the beginning of this time range. Only <code>ErrorGroupStats</code> with a + * non-zero count in the given time range are returned, unless the request contains an + * explicit <code>group_id</code> list. If a <code>group_id</code> + * list is given, also <code>ErrorGroupStats</code> with zero occurrences are + * returned. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ListGroupStatsPagedResponse listGroupStats( @@ -252,10 +254,8 @@ public final ListGroupStatsPagedResponse listGroupStats( *
* try (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* ProjectName projectName = ProjectName.of("[PROJECT]");
- * QueryTimeRange timeRange = QueryTimeRange.newBuilder().build();
* ListGroupStatsRequest request = ListGroupStatsRequest.newBuilder()
* .setProjectName(projectName.toString())
- * .setTimeRange(timeRange)
* .build();
* for (ErrorGroupStats element : errorStatsServiceClient.listGroupStats(request).iterateAll()) {
* // doThingsWith(element);
@@ -279,10 +279,8 @@ public final ListGroupStatsPagedResponse listGroupStats(ListGroupStatsRequest re
*
* try (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* ProjectName projectName = ProjectName.of("[PROJECT]");
- * QueryTimeRange timeRange = QueryTimeRange.newBuilder().build();
* ListGroupStatsRequest request = ListGroupStatsRequest.newBuilder()
* .setProjectName(projectName.toString())
- * .setTimeRange(timeRange)
* .build();
* ApiFuture<ListGroupStatsPagedResponse> future = errorStatsServiceClient.listGroupStatsPagedCallable().futureCall(request);
* // Do something
@@ -306,10 +304,8 @@ public final ListGroupStatsPagedResponse listGroupStats(ListGroupStatsRequest re
*
* try (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
* ProjectName projectName = ProjectName.of("[PROJECT]");
- * QueryTimeRange timeRange = QueryTimeRange.newBuilder().build();
* ListGroupStatsRequest request = ListGroupStatsRequest.newBuilder()
* .setProjectName(projectName.toString())
- * .setTimeRange(timeRange)
* .build();
* while (true) {
* ListGroupStatsResponse response = errorStatsServiceClient.listGroupStatsCallable().call(request);
@@ -347,10 +343,10 @@ public final ListGroupStatsPagedResponse listGroupStats(ListGroupStatsRequest re
* }
*
*
- * @param projectName [Required] The resource name of the Google Cloud Platform project. Written
- * as `projects/` plus the [Google Cloud Platform project
+ * @param projectName Required. The resource name of the Google Cloud Platform project. Written as
+ * `projects/` plus the [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
- * @param groupId [Required] The group for which events shall be returned.
+ * @param groupId Required. The group for which events shall be returned.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListEventsPagedResponse listEvents(ProjectName projectName, String groupId) {
@@ -378,10 +374,10 @@ public final ListEventsPagedResponse listEvents(ProjectName projectName, String
* }
*
*
- * @param projectName [Required] The resource name of the Google Cloud Platform project. Written
- * as `projects/` plus the [Google Cloud Platform project
+ * @param projectName Required. The resource name of the Google Cloud Platform project. Written as
+ * `projects/` plus the [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
- * @param groupId [Required] The group for which events shall be returned.
+ * @param groupId Required. The group for which events shall be returned.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
public final ListEventsPagedResponse listEvents(String projectName, String groupId) {
@@ -489,8 +485,8 @@ public final UnaryCallable listEventsCall
* }
*
*
- * @param projectName [Required] The resource name of the Google Cloud Platform project. Written
- * as `projects/` plus the [Google Cloud Platform project
+ * @param projectName Required. The resource name of the Google Cloud Platform project. Written as
+ * `projects/` plus the [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
@@ -516,8 +512,8 @@ public final DeleteEventsResponse deleteEvents(ProjectName projectName) {
* }
*
*
- * @param projectName [Required] The resource name of the Google Cloud Platform project. Written
- * as `projects/` plus the [Google Cloud Platform project
+ * @param projectName Required. The resource name of the Google Cloud Platform project. Written as
+ * `projects/` plus the [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
diff --git a/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClient.java b/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClient.java
index d4f9d89b..317b806a 100644
--- a/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClient.java
+++ b/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClient.java
@@ -154,12 +154,12 @@ public ReportErrorsServiceStub getStub() {
/**
* Report an individual error event.
*
- * This endpoint accepts <strong>either</strong> an OAuth token, - * <strong>or</strong> an <a - * href="https://support.google.com/cloud/answer/6158862">API key</a> for authentication. - * To use an API key, append it to the URL as the value of a `key` parameter. For example: - * <pre>POST - * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> + *
This endpoint accepts **either** an OAuth token, **or** 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: + * + *
`POST + * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456` * *
Sample code: * @@ -171,10 +171,10 @@ public ReportErrorsServiceStub getStub() { * } * * - * @param projectName [Required] The resource name of the Google Cloud Platform project. Written - * as `projects/` plus the [Google Cloud Platform project + * @param projectName Required. The resource name of the Google Cloud Platform project. Written as + * `projects/` plus the [Google Cloud Platform project * ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`. - * @param event [Required] The error event to be reported. + * @param event Required. The error event to be reported. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ReportErrorEventResponse reportErrorEvent( @@ -192,12 +192,12 @@ public final ReportErrorEventResponse reportErrorEvent( /** * Report an individual error event. * - *
This endpoint accepts <strong>either</strong> an OAuth token, - * <strong>or</strong> an <a - * href="https://support.google.com/cloud/answer/6158862">API key</a> for authentication. - * To use an API key, append it to the URL as the value of a `key` parameter. For example: - * <pre>POST - * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> + *
This endpoint accepts **either** an OAuth token, **or** 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: + * + *
`POST + * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456` * *
Sample code: * @@ -209,10 +209,10 @@ public final ReportErrorEventResponse reportErrorEvent( * } * * - * @param projectName [Required] The resource name of the Google Cloud Platform project. Written - * as `projects/` plus the [Google Cloud Platform project + * @param projectName Required. The resource name of the Google Cloud Platform project. Written as + * `projects/` plus the [Google Cloud Platform project * ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`. - * @param event [Required] The error event to be reported. + * @param event Required. The error event to be reported. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ public final ReportErrorEventResponse reportErrorEvent( @@ -227,12 +227,12 @@ public final ReportErrorEventResponse reportErrorEvent( /** * Report an individual error event. * - *
This endpoint accepts <strong>either</strong> an OAuth token, - * <strong>or</strong> an <a - * href="https://support.google.com/cloud/answer/6158862">API key</a> for authentication. - * To use an API key, append it to the URL as the value of a `key` parameter. For example: - * <pre>POST - * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> + *
This endpoint accepts **either** an OAuth token, **or** 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: + * + *
`POST + * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456` * *
Sample code: * @@ -259,12 +259,12 @@ public final ReportErrorEventResponse reportErrorEvent(ReportErrorEventRequest r /** * Report an individual error event. * - *
This endpoint accepts <strong>either</strong> an OAuth token, - * <strong>or</strong> an <a - * href="https://support.google.com/cloud/answer/6158862">API key</a> for authentication. - * To use an API key, append it to the URL as the value of a `key` parameter. For example: - * <pre>POST - * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre> + *
This endpoint accepts **either** an OAuth token, **or** 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: + * + *
`POST + * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456` * *
Sample code: * diff --git a/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/package-info.java b/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/package-info.java index 2628aa96..0cf79788 100644 --- a/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/package-info.java +++ b/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/package-info.java @@ -19,33 +19,33 @@ * *
The interfaces provided are listed below, along with usage samples. * - *
======================= ErrorGroupServiceClient ======================= + *
======================= ErrorStatsServiceClient ======================= * - *
Service Description: Service for retrieving and updating individual error groups. + *
Service Description: An API for retrieving and managing error statistics as well as data for + * individual events. * - *
Sample for ErrorGroupServiceClient: + *
Sample for ErrorStatsServiceClient: * *
*
- * try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
- * GroupName groupName = GroupName.of("[PROJECT]", "[GROUP]");
- * ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
+ * try (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
+ * ProjectName projectName = ProjectName.of("[PROJECT]");
+ * DeleteEventsResponse response = errorStatsServiceClient.deleteEvents(projectName);
* }
*
*
*
- * ======================= ErrorStatsServiceClient =======================
+ * ======================= ErrorGroupServiceClient =======================
*
- * Service Description: An API for retrieving and managing error statistics as well as data for - * individual events. + *
Service Description: Service for retrieving and updating individual error groups. * - *
Sample for ErrorStatsServiceClient: + *
Sample for ErrorGroupServiceClient: * *
*
- * try (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
- * ProjectName projectName = ProjectName.of("[PROJECT]");
- * DeleteEventsResponse response = errorStatsServiceClient.deleteEvents(projectName);
+ * try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
+ * ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
+ * ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
* }
*
*
diff --git a/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStubSettings.java b/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStubSettings.java
index f7063dc2..797d2d02 100644
--- a/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStubSettings.java
+++ b/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStubSettings.java
@@ -239,7 +239,7 @@ private static Builder initDefaults(Builder builder) {
builder
.updateGroupSettings()
- .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
return builder;
diff --git a/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStubSettings.java b/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStubSettings.java
index c977866b..676b50cd 100644
--- a/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStubSettings.java
+++ b/google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStubSettings.java
@@ -392,7 +392,7 @@ private static Builder initDefaults(Builder builder) {
builder
.deleteEventsSettings()
- .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
+ .setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
return builder;
diff --git a/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClientTest.java b/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClientTest.java
index 0f9128dc..6bc90b5f 100644
--- a/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClientTest.java
+++ b/google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClientTest.java
@@ -23,8 +23,8 @@
import com.google.api.gax.rpc.ApiClientHeaderProvider;
import com.google.api.gax.rpc.InvalidArgumentException;
import com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup;
+import com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupName;
import com.google.devtools.clouderrorreporting.v1beta1.GetGroupRequest;
-import com.google.devtools.clouderrorreporting.v1beta1.GroupName;
import com.google.devtools.clouderrorreporting.v1beta1.UpdateGroupRequest;
import com.google.protobuf.AbstractMessage;
import io.grpc.Status;
@@ -32,6 +32,7 @@
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
+import java.util.UUID;
import org.junit.After;
import org.junit.AfterClass;
import org.junit.Assert;
@@ -41,8 +42,8 @@
@javax.annotation.Generated("by GAPIC")
public class ErrorGroupServiceClientTest {
- private static MockErrorGroupService mockErrorGroupService;
private static MockErrorStatsService mockErrorStatsService;
+ private static MockErrorGroupService mockErrorGroupService;
private static MockReportErrorsService mockReportErrorsService;
private static MockServiceHelper serviceHelper;
private ErrorGroupServiceClient client;
@@ -50,14 +51,14 @@ public class ErrorGroupServiceClientTest {
@BeforeClass
public static void startStaticServer() {
- mockErrorGroupService = new MockErrorGroupService();
mockErrorStatsService = new MockErrorStatsService();
+ mockErrorGroupService = new MockErrorGroupService();
mockReportErrorsService = new MockReportErrorsService();
serviceHelper =
new MockServiceHelper(
- "in-process-1",
+ UUID.randomUUID().toString(),
Arrays.
* Report an individual error event.
- * This endpoint accepts <strong>either</strong> an OAuth token,
- * <strong>or</strong> an
- * <a href="https://support.google.com/cloud/answer/6158862">API key</a>
+ * This endpoint accepts **either** an OAuth token,
+ * **or** 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:
- * <pre>POST
- * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
+ * `POST
+ * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456`
*
*/
public void reportErrorEvent(
@@ -191,13 +190,12 @@ protected ReportErrorsServiceStub build(
*
*
* Report an individual error event.
- * This endpoint accepts <strong>either</strong> an OAuth token,
- * <strong>or</strong> an
- * <a href="https://support.google.com/cloud/answer/6158862">API key</a>
+ * This endpoint accepts **either** an OAuth token,
+ * **or** 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:
- * <pre>POST
- * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
+ * `POST
+ * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456`
*
*/
public void reportErrorEvent(
@@ -241,13 +239,12 @@ protected ReportErrorsServiceBlockingStub build(
*
*
* Report an individual error event.
- * This endpoint accepts <strong>either</strong> an OAuth token,
- * <strong>or</strong> an
- * <a href="https://support.google.com/cloud/answer/6158862">API key</a>
+ * This endpoint accepts **either** an OAuth token,
+ * **or** 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:
- * <pre>POST
- * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
+ * `POST
+ * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456`
*
*/
public com.google.devtools.clouderrorreporting.v1beta1.ReportErrorEventResponse
@@ -287,13 +284,12 @@ protected ReportErrorsServiceFutureStub build(
*
*
* Report an individual error event.
- * This endpoint accepts <strong>either</strong> an OAuth token,
- * <strong>or</strong> an
- * <a href="https://support.google.com/cloud/answer/6158862">API key</a>
+ * This endpoint accepts **either** an OAuth token,
+ * **or** 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:
- * <pre>POST
- * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456</pre>
+ * `POST
+ * https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456`
*
*/
public com.google.common.util.concurrent.ListenableFuture<
diff --git a/pom.xml b/pom.xml
index c6b68982..abb37026 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The projectName.
*/
public java.lang.String getProjectName() {
java.lang.Object ref = projectName_;
@@ -136,14 +145,18 @@ public java.lang.String getProjectName() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for projectName.
*/
public com.google.protobuf.ByteString getProjectNameBytes() {
java.lang.Object ref = projectName_;
@@ -489,14 +502,18 @@ public Builder mergeFrom(
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The projectName.
*/
public java.lang.String getProjectName() {
java.lang.Object ref = projectName_;
@@ -513,14 +530,18 @@ public java.lang.String getProjectName() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for projectName.
*/
public com.google.protobuf.ByteString getProjectNameBytes() {
java.lang.Object ref = projectName_;
@@ -537,14 +558,19 @@ public com.google.protobuf.ByteString getProjectNameBytes() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The projectName to set.
+ * @return This builder for chaining.
*/
public Builder setProjectName(java.lang.String value) {
if (value == null) {
@@ -559,14 +585,18 @@ public Builder setProjectName(java.lang.String value) {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectName() {
@@ -578,14 +608,19 @@ public Builder clearProjectName() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for projectName to set.
+ * @return This builder for chaining.
*/
public Builder setProjectNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsRequestOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsRequestOrBuilder.java
index ea43c441..373ba039 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsRequestOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsRequestOrBuilder.java
@@ -27,28 +27,36 @@ public interface DeleteEventsRequestOrBuilder
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The projectName.
*/
java.lang.String getProjectName();
/**
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for projectName.
*/
com.google.protobuf.ByteString getProjectNameBytes();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsResponse.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsResponse.java
index 866d514f..f522cb9a 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsResponse.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsResponse.java
@@ -39,6 +39,12 @@ private DeleteEventsResponse(com.google.protobuf.GeneratedMessageV3.Builder> b
private DeleteEventsResponse() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new DeleteEventsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContext.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContext.java
index f7dabf11..eca99f5b 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContext.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContext.java
@@ -44,6 +44,12 @@ private ErrorContext() {
user_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ErrorContext();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private ErrorContext(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -156,6 +161,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
+ *
+ * @return Whether the httpRequest field is set.
*/
public boolean hasHttpRequest() {
return httpRequest_ != null;
@@ -169,6 +176,8 @@ public boolean hasHttpRequest() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
+ *
+ * @return The httpRequest.
*/
public com.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext getHttpRequest() {
return httpRequest_ == null
@@ -207,6 +216,8 @@ public com.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext getHtt
*
*
* string user = 2;
+ *
+ * @return The user.
*/
public java.lang.String getUser() {
java.lang.Object ref = user_;
@@ -234,6 +245,8 @@ public java.lang.String getUser() {
*
*
* string user = 2;
+ *
+ * @return The bytes for user.
*/
public com.google.protobuf.ByteString getUserBytes() {
java.lang.Object ref = user_;
@@ -257,11 +270,12 @@ public com.google.protobuf.ByteString getUserBytes() {
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
+ *
+ * @return Whether the reportLocation field is set.
*/
public boolean hasReportLocation() {
return reportLocation_ != null;
@@ -274,11 +288,12 @@ public boolean hasReportLocation() {
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
+ *
+ * @return The reportLocation.
*/
public com.google.devtools.clouderrorreporting.v1beta1.SourceLocation getReportLocation() {
return reportLocation_ == null
@@ -293,8 +308,7 @@ public com.google.devtools.clouderrorreporting.v1beta1.SourceLocation getReportL
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
@@ -700,6 +714,8 @@ public Builder mergeFrom(
*
* .google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
*
+ *
+ * @return Whether the httpRequest field is set.
*/
public boolean hasHttpRequest() {
return httpRequestBuilder_ != null || httpRequest_ != null;
@@ -714,6 +730,8 @@ public boolean hasHttpRequest() {
*
* .google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
*
+ *
+ * @return The httpRequest.
*/
public com.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext getHttpRequest() {
if (httpRequestBuilder_ == null) {
@@ -908,6 +926,8 @@ public Builder clearHttpRequest() {
*
*
* string user = 2;
+ *
+ * @return The user.
*/
public java.lang.String getUser() {
java.lang.Object ref = user_;
@@ -935,6 +955,8 @@ public java.lang.String getUser() {
*
*
* string user = 2;
+ *
+ * @return The bytes for user.
*/
public com.google.protobuf.ByteString getUserBytes() {
java.lang.Object ref = user_;
@@ -962,6 +984,9 @@ public com.google.protobuf.ByteString getUserBytes() {
*
*
* string user = 2;
+ *
+ * @param value The user to set.
+ * @return This builder for chaining.
*/
public Builder setUser(java.lang.String value) {
if (value == null) {
@@ -987,6 +1012,8 @@ public Builder setUser(java.lang.String value) {
*
*
* string user = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearUser() {
@@ -1009,6 +1036,9 @@ public Builder clearUser() {
*
*
* string user = 2;
+ *
+ * @param value The bytes for user to set.
+ * @return This builder for chaining.
*/
public Builder setUserBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1035,11 +1065,12 @@ public Builder setUserBytes(com.google.protobuf.ByteString value) {
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
+ *
+ * @return Whether the reportLocation field is set.
*/
public boolean hasReportLocation() {
return reportLocationBuilder_ != null || reportLocation_ != null;
@@ -1052,11 +1083,12 @@ public boolean hasReportLocation() {
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
+ *
+ * @return The reportLocation.
*/
public com.google.devtools.clouderrorreporting.v1beta1.SourceLocation getReportLocation() {
if (reportLocationBuilder_ == null) {
@@ -1075,8 +1107,7 @@ public com.google.devtools.clouderrorreporting.v1beta1.SourceLocation getReportL
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
@@ -1103,8 +1134,7 @@ public Builder setReportLocation(
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
@@ -1128,8 +1158,7 @@ public Builder setReportLocation(
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
@@ -1161,8 +1190,7 @@ public Builder mergeReportLocation(
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
@@ -1186,8 +1214,7 @@ public Builder clearReportLocation() {
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
@@ -1206,8 +1233,7 @@ public Builder clearReportLocation() {
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
@@ -1230,8 +1256,7 @@ public Builder clearReportLocation() {
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContextOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContextOrBuilder.java
index 103eee7d..00c91044 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContextOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContextOrBuilder.java
@@ -32,6 +32,8 @@ public interface ErrorContextOrBuilder
*
*
* .google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
+ *
+ * @return Whether the httpRequest field is set.
*/
boolean hasHttpRequest();
/**
@@ -43,6 +45,8 @@ public interface ErrorContextOrBuilder
*
*
* .google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
+ *
+ * @return The httpRequest.
*/
com.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext getHttpRequest();
/**
@@ -73,6 +77,8 @@ public interface ErrorContextOrBuilder
*
*
* string user = 2;
+ *
+ * @return The user.
*/
java.lang.String getUser();
/**
@@ -90,6 +96,8 @@ public interface ErrorContextOrBuilder
*
*
* string user = 2;
+ *
+ * @return The bytes for user.
*/
com.google.protobuf.ByteString getUserBytes();
@@ -101,11 +109,12 @@ public interface ErrorContextOrBuilder
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
+ *
+ * @return Whether the reportLocation field is set.
*/
boolean hasReportLocation();
/**
@@ -116,11 +125,12 @@ public interface ErrorContextOrBuilder
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
+ *
+ * @return The reportLocation.
*/
com.google.devtools.clouderrorreporting.v1beta1.SourceLocation getReportLocation();
/**
@@ -131,8 +141,7 @@ public interface ErrorContextOrBuilder
* report the error, usually the place where it was logged.
* For a logged exception this would be the source line where the
* exception is logged, usually close to the place where it was
- * caught. This value is in contrast to `Exception.cause_location`,
- * which describes the source line where the exception was thrown.
+ * caught.
*
*
* .google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEvent.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEvent.java
index 7062dc74..8b802a2d 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEvent.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEvent.java
@@ -41,6 +41,12 @@ private ErrorEvent() {
message_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ErrorEvent();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private ErrorEvent(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -169,6 +174,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.protobuf.Timestamp event_time = 1;
+ *
+ * @return Whether the eventTime field is set.
*/
public boolean hasEventTime() {
return eventTime_ != null;
@@ -183,6 +190,8 @@ public boolean hasEventTime() {
*
*
* .google.protobuf.Timestamp event_time = 1;
+ *
+ * @return The eventTime.
*/
public com.google.protobuf.Timestamp getEventTime() {
return eventTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : eventTime_;
@@ -212,6 +221,8 @@ public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * @return Whether the serviceContext field is set.
*/
public boolean hasServiceContext() {
return serviceContext_ != null;
@@ -224,6 +235,8 @@ public boolean hasServiceContext() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * @return The serviceContext.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContext getServiceContext() {
return serviceContext_ == null
@@ -254,6 +267,8 @@ public com.google.devtools.clouderrorreporting.v1beta1.ServiceContext getService
*
*
* string message = 3;
+ *
+ * @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
@@ -274,6 +289,8 @@ public java.lang.String getMessage() {
*
*
* string message = 3;
+ *
+ * @return The bytes for message.
*/
public com.google.protobuf.ByteString getMessageBytes() {
java.lang.Object ref = message_;
@@ -297,6 +314,8 @@ public com.google.protobuf.ByteString getMessageBytes() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
+ *
+ * @return Whether the context field is set.
*/
public boolean hasContext() {
return context_ != null;
@@ -309,6 +328,8 @@ public boolean hasContext() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
+ *
+ * @return The context.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorContext getContext() {
return context_ == null
@@ -748,6 +769,8 @@ public Builder mergeFrom(
*
*
* .google.protobuf.Timestamp event_time = 1;
+ *
+ * @return Whether the eventTime field is set.
*/
public boolean hasEventTime() {
return eventTimeBuilder_ != null || eventTime_ != null;
@@ -762,6 +785,8 @@ public boolean hasEventTime() {
*
*
* .google.protobuf.Timestamp event_time = 1;
+ *
+ * @return The eventTime.
*/
public com.google.protobuf.Timestamp getEventTime() {
if (eventTimeBuilder_ == null) {
@@ -939,6 +964,8 @@ public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * @return Whether the serviceContext field is set.
*/
public boolean hasServiceContext() {
return serviceContextBuilder_ != null || serviceContext_ != null;
@@ -951,6 +978,8 @@ public boolean hasServiceContext() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * @return The serviceContext.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContext getServiceContext() {
if (serviceContextBuilder_ == null) {
@@ -1121,6 +1150,8 @@ public Builder clearServiceContext() {
*
*
* string message = 3;
+ *
+ * @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
@@ -1141,6 +1172,8 @@ public java.lang.String getMessage() {
*
*
* string message = 3;
+ *
+ * @return The bytes for message.
*/
public com.google.protobuf.ByteString getMessageBytes() {
java.lang.Object ref = message_;
@@ -1161,6 +1194,9 @@ public com.google.protobuf.ByteString getMessageBytes() {
*
*
* string message = 3;
+ *
+ * @param value The message to set.
+ * @return This builder for chaining.
*/
public Builder setMessage(java.lang.String value) {
if (value == null) {
@@ -1179,6 +1215,8 @@ public Builder setMessage(java.lang.String value) {
*
*
* string message = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMessage() {
@@ -1194,6 +1232,9 @@ public Builder clearMessage() {
*
*
* string message = 3;
+ *
+ * @param value The bytes for message to set.
+ * @return This builder for chaining.
*/
public Builder setMessageBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1220,6 +1261,8 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
+ *
+ * @return Whether the context field is set.
*/
public boolean hasContext() {
return contextBuilder_ != null || context_ != null;
@@ -1232,6 +1275,8 @@ public boolean hasContext() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
+ *
+ * @return The context.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorContext getContext() {
if (contextBuilder_ == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEventOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEventOrBuilder.java
index 9415231d..de016632 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEventOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEventOrBuilder.java
@@ -33,6 +33,8 @@ public interface ErrorEventOrBuilder
*
*
* .google.protobuf.Timestamp event_time = 1;
+ *
+ * @return Whether the eventTime field is set.
*/
boolean hasEventTime();
/**
@@ -45,6 +47,8 @@ public interface ErrorEventOrBuilder
*
*
* .google.protobuf.Timestamp event_time = 1;
+ *
+ * @return The eventTime.
*/
com.google.protobuf.Timestamp getEventTime();
/**
@@ -68,6 +72,8 @@ public interface ErrorEventOrBuilder
*
*
* .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * @return Whether the serviceContext field is set.
*/
boolean hasServiceContext();
/**
@@ -78,6 +84,8 @@ public interface ErrorEventOrBuilder
*
*
* .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * @return The serviceContext.
*/
com.google.devtools.clouderrorreporting.v1beta1.ServiceContext getServiceContext();
/**
@@ -100,6 +108,8 @@ public interface ErrorEventOrBuilder
*
*
* string message = 3;
+ *
+ * @return The message.
*/
java.lang.String getMessage();
/**
@@ -110,6 +120,8 @@ public interface ErrorEventOrBuilder
*
*
* string message = 3;
+ *
+ * @return The bytes for message.
*/
com.google.protobuf.ByteString getMessageBytes();
@@ -121,6 +133,8 @@ public interface ErrorEventOrBuilder
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
+ *
+ * @return Whether the context field is set.
*/
boolean hasContext();
/**
@@ -131,6 +145,8 @@ public interface ErrorEventOrBuilder
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
+ *
+ * @return The context.
*/
com.google.devtools.clouderrorreporting.v1beta1.ErrorContext getContext();
/**
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroup.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroup.java
index 18095ad2..b75808f0 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroup.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroup.java
@@ -43,6 +43,12 @@ private ErrorGroup() {
trackingIssues_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ErrorGroup();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -83,11 +89,11 @@ private ErrorGroup(
}
case 26:
{
- if (!((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
trackingIssues_ =
new java.util.ArrayList<
com.google.devtools.clouderrorreporting.v1beta1.TrackingIssue>();
- mutable_bitField0_ |= 0x00000004;
+ mutable_bitField0_ |= 0x00000001;
}
trackingIssues_.add(
input.readMessage(
@@ -109,7 +115,7 @@ private ErrorGroup(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000004) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
trackingIssues_ = java.util.Collections.unmodifiableList(trackingIssues_);
}
this.unknownFields = unknownFields.build();
@@ -132,7 +138,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup.Builder.class);
}
- private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
@@ -144,6 +149,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -165,6 +172,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -189,6 +198,8 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string group_id = 2;
+ *
+ * @return The groupId.
*/
public java.lang.String getGroupId() {
java.lang.Object ref = groupId_;
@@ -210,6 +221,8 @@ public java.lang.String getGroupId() {
*
*
* string group_id = 2;
+ *
+ * @return The bytes for groupId.
*/
public com.google.protobuf.ByteString getGroupIdBytes() {
java.lang.Object ref = groupId_;
@@ -530,7 +543,7 @@ public Builder clear() {
if (trackingIssuesBuilder_ == null) {
trackingIssues_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
trackingIssuesBuilder_.clear();
}
@@ -562,19 +575,17 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup buildPartial()
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup result =
new com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.name_ = name_;
result.groupId_ = groupId_;
if (trackingIssuesBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
trackingIssues_ = java.util.Collections.unmodifiableList(trackingIssues_);
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.trackingIssues_ = trackingIssues_;
} else {
result.trackingIssues_ = trackingIssuesBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -637,7 +648,7 @@ public Builder mergeFrom(com.google.devtools.clouderrorreporting.v1beta1.ErrorGr
if (!other.trackingIssues_.isEmpty()) {
if (trackingIssues_.isEmpty()) {
trackingIssues_ = other.trackingIssues_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTrackingIssuesIsMutable();
trackingIssues_.addAll(other.trackingIssues_);
@@ -650,7 +661,7 @@ public Builder mergeFrom(com.google.devtools.clouderrorreporting.v1beta1.ErrorGr
trackingIssuesBuilder_.dispose();
trackingIssuesBuilder_ = null;
trackingIssues_ = other.trackingIssues_;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
trackingIssuesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getTrackingIssuesFieldBuilder()
@@ -702,6 +713,8 @@ public Builder mergeFrom(
*
*
* string name = 1;
+ *
+ * @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
@@ -723,6 +736,8 @@ public java.lang.String getName() {
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
public com.google.protobuf.ByteString getNameBytes() {
java.lang.Object ref = name_;
@@ -744,6 +759,9 @@ public com.google.protobuf.ByteString getNameBytes() {
*
*
* string name = 1;
+ *
+ * @param value The name to set.
+ * @return This builder for chaining.
*/
public Builder setName(java.lang.String value) {
if (value == null) {
@@ -763,6 +781,8 @@ public Builder setName(java.lang.String value) {
*
*
* string name = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearName() {
@@ -779,6 +799,9 @@ public Builder clearName() {
*
*
* string name = 1;
+ *
+ * @param value The bytes for name to set.
+ * @return This builder for chaining.
*/
public Builder setNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -801,6 +824,8 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) {
*
*
* string group_id = 2;
+ *
+ * @return The groupId.
*/
public java.lang.String getGroupId() {
java.lang.Object ref = groupId_;
@@ -822,6 +847,8 @@ public java.lang.String getGroupId() {
*
*
* string group_id = 2;
+ *
+ * @return The bytes for groupId.
*/
public com.google.protobuf.ByteString getGroupIdBytes() {
java.lang.Object ref = groupId_;
@@ -843,6 +870,9 @@ public com.google.protobuf.ByteString getGroupIdBytes() {
*
*
* string group_id = 2;
+ *
+ * @param value The groupId to set.
+ * @return This builder for chaining.
*/
public Builder setGroupId(java.lang.String value) {
if (value == null) {
@@ -862,6 +892,8 @@ public Builder setGroupId(java.lang.String value) {
*
*
* string group_id = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearGroupId() {
@@ -878,6 +910,9 @@ public Builder clearGroupId() {
*
*
* string group_id = 2;
+ *
+ * @param value The bytes for groupId to set.
+ * @return This builder for chaining.
*/
public Builder setGroupIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -894,11 +929,11 @@ public Builder setGroupIdBytes(com.google.protobuf.ByteString value) {
trackingIssues_ = java.util.Collections.emptyList();
private void ensureTrackingIssuesIsMutable() {
- if (!((bitField0_ & 0x00000004) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
trackingIssues_ =
new java.util.ArrayListstring name = 1;
+ *
+ * @return The name.
*/
java.lang.String getName();
/**
@@ -43,6 +45,8 @@ public interface ErrorGroupOrBuilder
*
*
* string name = 1;
+ *
+ * @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
@@ -55,6 +59,8 @@ public interface ErrorGroupOrBuilder
*
*
* string group_id = 2;
+ *
+ * @return The groupId.
*/
java.lang.String getGroupId();
/**
@@ -66,6 +72,8 @@ public interface ErrorGroupOrBuilder
*
*
* string group_id = 2;
+ *
+ * @return The bytes for groupId.
*/
com.google.protobuf.ByteString getGroupIdBytes();
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupOrder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupOrder.java
index 6f4a7841..56d8e397 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupOrder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupOrder.java
@@ -142,12 +142,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static ErrorGroupOrder valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static ErrorGroupOrder forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceProto.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceProto.java
index b1bd7f40..f665f13c 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceProto.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceProto.java
@@ -47,44 +47,46 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\nEgoogle/devtools/clouderrorreporting/v1"
+ "beta1/error_group_service.proto\022+google."
+ "devtools.clouderrorreporting.v1beta1\032\034go"
- + "ogle/api/annotations.proto\0328google/devto"
- + "ols/clouderrorreporting/v1beta1/common.p"
- + "roto\"%\n\017GetGroupRequest\022\022\n\ngroup_name\030\001 "
- + "\001(\t\"\\\n\022UpdateGroupRequest\022F\n\005group\030\001 \001(\013"
- + "27.google.devtools.clouderrorreporting.v"
- + "1beta1.ErrorGroup2\216\003\n\021ErrorGroupService\022"
- + "\264\001\n\010GetGroup\022<.google.devtools.clouderro"
- + "rreporting.v1beta1.GetGroupRequest\0327.goo"
- + "gle.devtools.clouderrorreporting.v1beta1"
- + ".ErrorGroup\"1\202\323\344\223\002+\022)/v1beta1/{group_nam"
- + "e=projects/*/groups/*}\022\301\001\n\013UpdateGroup\022?"
+ + "ogle/api/annotations.proto\032\027google/api/c"
+ + "lient.proto\032\037google/api/field_behavior.p"
+ + "roto\032\031google/api/resource.proto\0328google/"
+ + "devtools/clouderrorreporting/v1beta1/com"
+ + "mon.proto\"\\\n\017GetGroupRequest\022I\n\ngroup_na"
+ + "me\030\001 \001(\tB5\340A\002\372A/\n-clouderrorreporting.go"
+ + "ogleapis.com/ErrorGroup\"a\n\022UpdateGroupRe"
+ + "quest\022K\n\005group\030\001 \001(\01327.google.devtools.c"
+ + "louderrorreporting.v1beta1.ErrorGroupB\003\340"
+ + "A\0022\373\003\n\021ErrorGroupService\022\301\001\n\010GetGroup\022<."
+ + "google.devtools.clouderrorreporting.v1be"
+ + "ta1.GetGroupRequest\0327.google.devtools.cl"
+ + "ouderrorreporting.v1beta1.ErrorGroup\">\202\323"
+ + "\344\223\002+\022)/v1beta1/{group_name=projects/*/gr"
+ + "oups/*}\332A\ngroup_name\022\311\001\n\013UpdateGroup\022?.g"
+ + "oogle.devtools.clouderrorreporting.v1bet"
+ + "a1.UpdateGroupRequest\0327.google.devtools."
+ + "clouderrorreporting.v1beta1.ErrorGroup\"@"
+ + "\202\323\344\223\0022\032)/v1beta1/{group.name=projects/*/"
+ + "groups/*}:\005group\332A\005group\032V\312A\"clouderrorr"
+ + "eporting.googleapis.com\322A.https://www.go"
+ + "ogleapis.com/auth/cloud-platformB\372\001\n/com"
+ ".google.devtools.clouderrorreporting.v1b"
- + "eta1.UpdateGroupRequest\0327.google.devtool"
- + "s.clouderrorreporting.v1beta1.ErrorGroup"
- + "\"8\202\323\344\223\0022\032)/v1beta1/{group.name=projects/"
- + "*/groups/*}:\005groupB\367\001\n/com.google.devtoo"
- + "ls.clouderrorreporting.v1beta1B\026ErrorGro"
- + "upServiceProtoP\001Z^google.golang.org/genp"
- + "roto/googleapis/devtools/clouderrorrepor"
- + "ting/v1beta1;clouderrorreporting\252\002#Googl"
- + "e.Cloud.ErrorReporting.V1Beta1\312\002#Google\\"
- + "Cloud\\ErrorReporting\\V1beta1b\006proto3"
+ + "eta1B\026ErrorGroupServiceProtoP\001Z^google.g"
+ + "olang.org/genproto/googleapis/devtools/c"
+ + "louderrorreporting/v1beta1;clouderrorrep"
+ + "orting\370\001\001\252\002#Google.Cloud.ErrorReporting."
+ + "V1Beta1\312\002#Google\\Cloud\\ErrorReporting\\V1"
+ + "beta1b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.devtools.clouderrorreporting.v1beta1.CommonProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.ClientProto.getDescriptor(),
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
+ com.google.devtools.clouderrorreporting.v1beta1.CommonProto.getDescriptor(),
+ });
internal_static_google_devtools_clouderrorreporting_v1beta1_GetGroupRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_devtools_clouderrorreporting_v1beta1_GetGroupRequest_fieldAccessorTable =
@@ -103,10 +105,18 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
+ registry.add(com.google.api.ClientProto.defaultHost);
+ registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
registry.add(com.google.api.AnnotationsProto.http);
+ registry.add(com.google.api.ClientProto.methodSignature);
+ registry.add(com.google.api.ClientProto.oauthScopes);
+ registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
+ com.google.api.ClientProto.getDescriptor();
+ com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.api.ResourceProto.getDescriptor();
com.google.devtools.clouderrorreporting.v1beta1.CommonProto.getDescriptor();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStats.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStats.java
index de770a72..858c48d9 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStats.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStats.java
@@ -43,6 +43,12 @@ private ErrorGroupStats() {
affectedServices_ = java.util.Collections.emptyList();
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ErrorGroupStats();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -96,11 +102,11 @@ private ErrorGroupStats(
}
case 34:
{
- if (!((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
timedCounts_ =
new java.util.ArrayList<
com.google.devtools.clouderrorreporting.v1beta1.TimedCount>();
- mutable_bitField0_ |= 0x00000008;
+ mutable_bitField0_ |= 0x00000001;
}
timedCounts_.add(
input.readMessage(
@@ -140,11 +146,11 @@ private ErrorGroupStats(
}
case 58:
{
- if (!((mutable_bitField0_ & 0x00000040) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000002) != 0)) {
affectedServices_ =
new java.util.ArrayList<
com.google.devtools.clouderrorreporting.v1beta1.ServiceContext>();
- mutable_bitField0_ |= 0x00000040;
+ mutable_bitField0_ |= 0x00000002;
}
affectedServices_.add(
input.readMessage(
@@ -188,10 +194,10 @@ private ErrorGroupStats(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000008) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
timedCounts_ = java.util.Collections.unmodifiableList(timedCounts_);
}
- if (((mutable_bitField0_ & 0x00000040) != 0)) {
+ if (((mutable_bitField0_ & 0x00000002) != 0)) {
affectedServices_ = java.util.Collections.unmodifiableList(affectedServices_);
}
this.unknownFields = unknownFields.build();
@@ -214,7 +220,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats.Builder.class);
}
- private int bitField0_;
public static final int GROUP_FIELD_NUMBER = 1;
private com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup group_;
/**
@@ -225,6 +230,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * @return Whether the group field is set.
*/
public boolean hasGroup() {
return group_ != null;
@@ -237,6 +244,8 @@ public boolean hasGroup() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * @return The group.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup getGroup() {
return group_ == null
@@ -267,6 +276,8 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrBuilder getGr
*
*
* int64 count = 2;
+ *
+ * @return The count.
*/
public long getCount() {
return count_;
@@ -293,6 +304,8 @@ public long getCount() {
*
*
* int64 affected_users_count = 3;
+ *
+ * @return The affectedUsersCount.
*/
public long getAffectedUsersCount() {
return affectedUsersCount_;
@@ -397,6 +410,8 @@ public com.google.devtools.clouderrorreporting.v1beta1.TimedCount getTimedCounts
*
*
* .google.protobuf.Timestamp first_seen_time = 5;
+ *
+ * @return Whether the firstSeenTime field is set.
*/
public boolean hasFirstSeenTime() {
return firstSeenTime_ != null;
@@ -411,6 +426,8 @@ public boolean hasFirstSeenTime() {
*
*
* .google.protobuf.Timestamp first_seen_time = 5;
+ *
+ * @return The firstSeenTime.
*/
public com.google.protobuf.Timestamp getFirstSeenTime() {
return firstSeenTime_ == null
@@ -444,6 +461,8 @@ public com.google.protobuf.TimestampOrBuilder getFirstSeenTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp last_seen_time = 6;
+ *
+ * @return Whether the lastSeenTime field is set.
*/
public boolean hasLastSeenTime() {
return lastSeenTime_ != null;
@@ -458,6 +477,8 @@ public boolean hasLastSeenTime() {
*
*
* .google.protobuf.Timestamp last_seen_time = 6;
+ *
+ * @return The lastSeenTime.
*/
public com.google.protobuf.Timestamp getLastSeenTime() {
return lastSeenTime_ == null
@@ -579,6 +600,8 @@ public com.google.devtools.clouderrorreporting.v1beta1.ServiceContext getAffecte
*
*
* int32 num_affected_services = 8;
+ *
+ * @return The numAffectedServices.
*/
public int getNumAffectedServices() {
return numAffectedServices_;
@@ -598,6 +621,8 @@ public int getNumAffectedServices() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorEvent representative = 9;
+ *
+ * @return Whether the representative field is set.
*/
public boolean hasRepresentative() {
return representative_ != null;
@@ -614,6 +639,8 @@ public boolean hasRepresentative() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorEvent representative = 9;
+ *
+ * @return The representative.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorEvent getRepresentative() {
return representative_ == null
@@ -955,7 +982,7 @@ public Builder clear() {
if (timedCountsBuilder_ == null) {
timedCounts_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
timedCountsBuilder_.clear();
}
@@ -973,7 +1000,7 @@ public Builder clear() {
}
if (affectedServicesBuilder_ == null) {
affectedServices_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
affectedServicesBuilder_.clear();
}
@@ -1014,7 +1041,6 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats buildPart
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats result =
new com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (groupBuilder_ == null) {
result.group_ = group_;
} else {
@@ -1023,9 +1049,9 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats buildPart
result.count_ = count_;
result.affectedUsersCount_ = affectedUsersCount_;
if (timedCountsBuilder_ == null) {
- if (((bitField0_ & 0x00000008) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
timedCounts_ = java.util.Collections.unmodifiableList(timedCounts_);
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.timedCounts_ = timedCounts_;
} else {
@@ -1042,9 +1068,9 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats buildPart
result.lastSeenTime_ = lastSeenTimeBuilder_.build();
}
if (affectedServicesBuilder_ == null) {
- if (((bitField0_ & 0x00000040) != 0)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
affectedServices_ = java.util.Collections.unmodifiableList(affectedServices_);
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000002);
}
result.affectedServices_ = affectedServices_;
} else {
@@ -1056,7 +1082,6 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats buildPart
} else {
result.representative_ = representativeBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1122,7 +1147,7 @@ public Builder mergeFrom(
if (!other.timedCounts_.isEmpty()) {
if (timedCounts_.isEmpty()) {
timedCounts_ = other.timedCounts_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureTimedCountsIsMutable();
timedCounts_.addAll(other.timedCounts_);
@@ -1135,7 +1160,7 @@ public Builder mergeFrom(
timedCountsBuilder_.dispose();
timedCountsBuilder_ = null;
timedCounts_ = other.timedCounts_;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000001);
timedCountsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getTimedCountsFieldBuilder()
@@ -1155,7 +1180,7 @@ public Builder mergeFrom(
if (!other.affectedServices_.isEmpty()) {
if (affectedServices_.isEmpty()) {
affectedServices_ = other.affectedServices_;
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureAffectedServicesIsMutable();
affectedServices_.addAll(other.affectedServices_);
@@ -1168,7 +1193,7 @@ public Builder mergeFrom(
affectedServicesBuilder_.dispose();
affectedServicesBuilder_ = null;
affectedServices_ = other.affectedServices_;
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000002);
affectedServicesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
? getAffectedServicesFieldBuilder()
@@ -1231,6 +1256,8 @@ public Builder mergeFrom(
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * @return Whether the group field is set.
*/
public boolean hasGroup() {
return groupBuilder_ != null || group_ != null;
@@ -1243,6 +1270,8 @@ public boolean hasGroup() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * @return The group.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup getGroup() {
if (groupBuilder_ == null) {
@@ -1409,6 +1438,8 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrBuilder getGr
*
*
* int64 count = 2;
+ *
+ * @return The count.
*/
public long getCount() {
return count_;
@@ -1422,6 +1453,9 @@ public long getCount() {
*
*
* int64 count = 2;
+ *
+ * @param value The count to set.
+ * @return This builder for chaining.
*/
public Builder setCount(long value) {
@@ -1438,6 +1472,8 @@ public Builder setCount(long value) {
*
*
* int64 count = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCount() {
@@ -1466,6 +1502,8 @@ public Builder clearCount() {
*
*
* int64 affected_users_count = 3;
+ *
+ * @return The affectedUsersCount.
*/
public long getAffectedUsersCount() {
return affectedUsersCount_;
@@ -1489,6 +1527,9 @@ public long getAffectedUsersCount() {
*
*
* int64 affected_users_count = 3;
+ *
+ * @param value The affectedUsersCount to set.
+ * @return This builder for chaining.
*/
public Builder setAffectedUsersCount(long value) {
@@ -1515,6 +1556,8 @@ public Builder setAffectedUsersCount(long value) {
*
*
* int64 affected_users_count = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearAffectedUsersCount() {
@@ -1527,11 +1570,11 @@ public Builder clearAffectedUsersCount() {
timedCounts_ = java.util.Collections.emptyList();
private void ensureTimedCountsIsMutable() {
- if (!((bitField0_ & 0x00000008) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
timedCounts_ =
new java.util.ArrayList.google.protobuf.Timestamp first_seen_time = 5;
+ *
+ * @return Whether the firstSeenTime field is set.
*/
public boolean hasFirstSeenTime() {
return firstSeenTimeBuilder_ != null || firstSeenTime_ != null;
@@ -2010,6 +2055,8 @@ public boolean hasFirstSeenTime() {
*
*
* .google.protobuf.Timestamp first_seen_time = 5;
+ *
+ * @return The firstSeenTime.
*/
public com.google.protobuf.Timestamp getFirstSeenTime() {
if (firstSeenTimeBuilder_ == null) {
@@ -2195,6 +2242,8 @@ public com.google.protobuf.TimestampOrBuilder getFirstSeenTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp last_seen_time = 6;
+ *
+ * @return Whether the lastSeenTime field is set.
*/
public boolean hasLastSeenTime() {
return lastSeenTimeBuilder_ != null || lastSeenTime_ != null;
@@ -2209,6 +2258,8 @@ public boolean hasLastSeenTime() {
*
*
* .google.protobuf.Timestamp last_seen_time = 6;
+ *
+ * @return The lastSeenTime.
*/
public com.google.protobuf.Timestamp getLastSeenTime() {
if (lastSeenTimeBuilder_ == null) {
@@ -2382,11 +2433,11 @@ public com.google.protobuf.TimestampOrBuilder getLastSeenTimeOrBuilder() {
affectedServices_ = java.util.Collections.emptyList();
private void ensureAffectedServicesIsMutable() {
- if (!((bitField0_ & 0x00000040) != 0)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
affectedServices_ =
new java.util.ArrayListint32 num_affected_services = 8;
+ *
+ * @return The numAffectedServices.
*/
public int getNumAffectedServices() {
return numAffectedServices_;
@@ -2844,6 +2897,9 @@ public int getNumAffectedServices() {
*
*
* int32 num_affected_services = 8;
+ *
+ * @param value The numAffectedServices to set.
+ * @return This builder for chaining.
*/
public Builder setNumAffectedServices(int value) {
@@ -2860,6 +2916,8 @@ public Builder setNumAffectedServices(int value) {
*
*
* int32 num_affected_services = 8;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNumAffectedServices() {
@@ -2886,6 +2944,8 @@ public Builder clearNumAffectedServices() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorEvent representative = 9;
+ *
+ * @return Whether the representative field is set.
*/
public boolean hasRepresentative() {
return representativeBuilder_ != null || representative_ != null;
@@ -2902,6 +2962,8 @@ public boolean hasRepresentative() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorEvent representative = 9;
+ *
+ * @return The representative.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorEvent getRepresentative() {
if (representativeBuilder_ == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStatsOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStatsOrBuilder.java
index ce8cf047..cf0e9e1c 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStatsOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStatsOrBuilder.java
@@ -31,6 +31,8 @@ public interface ErrorGroupStatsOrBuilder
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * @return Whether the group field is set.
*/
boolean hasGroup();
/**
@@ -41,6 +43,8 @@ public interface ErrorGroupStatsOrBuilder
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * @return The group.
*/
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup getGroup();
/**
@@ -63,6 +67,8 @@ public interface ErrorGroupStatsOrBuilder
*
*
* int64 count = 2;
+ *
+ * @return The count.
*/
long getCount();
@@ -85,6 +91,8 @@ public interface ErrorGroupStatsOrBuilder
*
*
* int64 affected_users_count = 3;
+ *
+ * @return The affectedUsersCount.
*/
long getAffectedUsersCount();
@@ -171,6 +179,8 @@ com.google.devtools.clouderrorreporting.v1beta1.TimedCountOrBuilder getTimedCoun
*
*
* .google.protobuf.Timestamp first_seen_time = 5;
+ *
+ * @return Whether the firstSeenTime field is set.
*/
boolean hasFirstSeenTime();
/**
@@ -183,6 +193,8 @@ com.google.devtools.clouderrorreporting.v1beta1.TimedCountOrBuilder getTimedCoun
*
*
* .google.protobuf.Timestamp first_seen_time = 5;
+ *
+ * @return The firstSeenTime.
*/
com.google.protobuf.Timestamp getFirstSeenTime();
/**
@@ -208,6 +220,8 @@ com.google.devtools.clouderrorreporting.v1beta1.TimedCountOrBuilder getTimedCoun
*
*
* .google.protobuf.Timestamp last_seen_time = 6;
+ *
+ * @return Whether the lastSeenTime field is set.
*/
boolean hasLastSeenTime();
/**
@@ -220,6 +234,8 @@ com.google.devtools.clouderrorreporting.v1beta1.TimedCountOrBuilder getTimedCoun
*
*
* .google.protobuf.Timestamp last_seen_time = 6;
+ *
+ * @return The lastSeenTime.
*/
com.google.protobuf.Timestamp getLastSeenTime();
/**
@@ -318,6 +334,8 @@ com.google.devtools.clouderrorreporting.v1beta1.TimedCountOrBuilder getTimedCoun
*
*
* int32 num_affected_services = 8;
+ *
+ * @return The numAffectedServices.
*/
int getNumAffectedServices();
@@ -333,6 +351,8 @@ com.google.devtools.clouderrorreporting.v1beta1.TimedCountOrBuilder getTimedCoun
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorEvent representative = 9;
+ *
+ * @return Whether the representative field is set.
*/
boolean hasRepresentative();
/**
@@ -347,6 +367,8 @@ com.google.devtools.clouderrorreporting.v1beta1.TimedCountOrBuilder getTimedCoun
*
*
* .google.devtools.clouderrorreporting.v1beta1.ErrorEvent representative = 9;
+ *
+ * @return The representative.
*/
com.google.devtools.clouderrorreporting.v1beta1.ErrorEvent getRepresentative();
/**
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceProto.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceProto.java
index c6f9a8ab..40e55c1e 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceProto.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceProto.java
@@ -79,112 +79,119 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\nEgoogle/devtools/clouderrorreporting/v1"
+ "beta1/error_stats_service.proto\022+google."
+ "devtools.clouderrorreporting.v1beta1\032\034go"
- + "ogle/api/annotations.proto\0328google/devto"
- + "ols/clouderrorreporting/v1beta1/common.p"
- + "roto\032\036google/protobuf/duration.proto\032\037go"
- + "ogle/protobuf/timestamp.proto\"\241\004\n\025ListGr"
- + "oupStatsRequest\022\024\n\014project_name\030\001 \001(\t\022\020\n"
- + "\010group_id\030\002 \003(\t\022Y\n\016service_filter\030\003 \001(\0132"
- + "A.google.devtools.clouderrorreporting.v1"
- + "beta1.ServiceContextFilter\022O\n\ntime_range"
- + "\030\005 \001(\0132;.google.devtools.clouderrorrepor"
- + "ting.v1beta1.QueryTimeRange\0227\n\024timed_cou"
- + "nt_duration\030\006 \001(\0132\031.google.protobuf.Dura"
- + "tion\022S\n\talignment\030\007 \001(\0162@.google.devtool"
- + "s.clouderrorreporting.v1beta1.TimedCount"
- + "Alignment\0222\n\016alignment_time\030\010 \001(\0132\032.goog"
- + "le.protobuf.Timestamp\022K\n\005order\030\t \001(\0162<.g"
- + "oogle.devtools.clouderrorreporting.v1bet"
- + "a1.ErrorGroupOrder\022\021\n\tpage_size\030\013 \001(\005\022\022\n"
- + "\npage_token\030\014 \001(\t\"\300\001\n\026ListGroupStatsResp"
- + "onse\022W\n\021error_group_stats\030\001 \003(\0132<.google"
- + ".devtools.clouderrorreporting.v1beta1.Er"
- + "rorGroupStats\022\027\n\017next_page_token\030\002 \001(\t\0224"
- + "\n\020time_range_begin\030\004 \001(\0132\032.google.protob"
- + "uf.Timestamp\"\206\004\n\017ErrorGroupStats\022F\n\005grou"
- + "p\030\001 \001(\01327.google.devtools.clouderrorrepo"
- + "rting.v1beta1.ErrorGroup\022\r\n\005count\030\002 \001(\003\022"
- + "\034\n\024affected_users_count\030\003 \001(\003\022M\n\014timed_c"
- + "ounts\030\004 \003(\01327.google.devtools.clouderror"
- + "reporting.v1beta1.TimedCount\0223\n\017first_se"
- + "en_time\030\005 \001(\0132\032.google.protobuf.Timestam"
- + "p\0222\n\016last_seen_time\030\006 \001(\0132\032.google.proto"
- + "buf.Timestamp\022V\n\021affected_services\030\007 \003(\013"
- + "2;.google.devtools.clouderrorreporting.v"
- + "1beta1.ServiceContext\022\035\n\025num_affected_se"
- + "rvices\030\010 \001(\005\022O\n\016representative\030\t \001(\01327.g"
- + "oogle.devtools.clouderrorreporting.v1bet"
- + "a1.ErrorEvent\"y\n\nTimedCount\022\r\n\005count\030\001 \001"
- + "(\003\022.\n\nstart_time\030\002 \001(\0132\032.google.protobuf"
- + ".Timestamp\022,\n\010end_time\030\003 \001(\0132\032.google.pr"
- + "otobuf.Timestamp\"\216\002\n\021ListEventsRequest\022\024"
- + "\n\014project_name\030\001 \001(\t\022\020\n\010group_id\030\002 \001(\t\022Y"
+ + "ogle/api/annotations.proto\032\027google/api/c"
+ + "lient.proto\032\037google/api/field_behavior.p"
+ + "roto\032\031google/api/resource.proto\0328google/"
+ + "devtools/clouderrorreporting/v1beta1/com"
+ + "mon.proto\032\036google/protobuf/duration.prot"
+ + "o\032\037google/protobuf/timestamp.proto\"\203\005\n\025L"
+ + "istGroupStatsRequest\022I\n\014project_name\030\001 \001"
+ + "(\tB3\340A\002\372A-\n+cloudresourcemanager.googlea"
+ + "pis.com/Project\022\025\n\010group_id\030\002 \003(\tB\003\340A\001\022^"
+ "\n\016service_filter\030\003 \001(\0132A.google.devtools"
+ ".clouderrorreporting.v1beta1.ServiceCont"
- + "extFilter\022O\n\ntime_range\030\004 \001(\0132;.google.d"
- + "evtools.clouderrorreporting.v1beta1.Quer"
- + "yTimeRange\022\021\n\tpage_size\030\006 \001(\005\022\022\n\npage_to"
- + "ken\030\007 \001(\t\"\262\001\n\022ListEventsResponse\022M\n\014erro"
- + "r_events\030\001 \003(\01327.google.devtools.clouder"
- + "rorreporting.v1beta1.ErrorEvent\022\027\n\017next_"
- + "page_token\030\002 \001(\t\0224\n\020time_range_begin\030\004 \001"
- + "(\0132\032.google.protobuf.Timestamp\"\347\001\n\016Query"
- + "TimeRange\022R\n\006period\030\001 \001(\0162B.google.devto"
- + "ols.clouderrorreporting.v1beta1.QueryTim"
- + "eRange.Period\"\200\001\n\006Period\022\026\n\022PERIOD_UNSPE"
- + "CIFIED\020\000\022\021\n\rPERIOD_1_HOUR\020\001\022\022\n\016PERIOD_6_"
- + "HOURS\020\002\022\020\n\014PERIOD_1_DAY\020\003\022\021\n\rPERIOD_1_WE"
- + "EK\020\004\022\022\n\016PERIOD_30_DAYS\020\005\"O\n\024ServiceConte"
- + "xtFilter\022\017\n\007service\030\002 \001(\t\022\017\n\007version\030\003 \001"
- + "(\t\022\025\n\rresource_type\030\004 \001(\t\"+\n\023DeleteEvent"
- + "sRequest\022\024\n\014project_name\030\001 \001(\t\"\026\n\024Delete"
- + "EventsResponse*u\n\023TimedCountAlignment\022%\n"
- + "!ERROR_COUNT_ALIGNMENT_UNSPECIFIED\020\000\022\033\n\027"
- + "ALIGNMENT_EQUAL_ROUNDED\020\001\022\032\n\026ALIGNMENT_E"
- + "QUAL_AT_END\020\002*}\n\017ErrorGroupOrder\022\033\n\027GROU"
- + "P_ORDER_UNSPECIFIED\020\000\022\016\n\nCOUNT_DESC\020\001\022\022\n"
- + "\016LAST_SEEN_DESC\020\002\022\020\n\014CREATED_DESC\020\003\022\027\n\023A"
- + "FFECTED_USERS_DESC\020\0042\362\004\n\021ErrorStatsServi"
- + "ce\022\320\001\n\016ListGroupStats\022B.google.devtools."
- + "clouderrorreporting.v1beta1.ListGroupSta"
- + "tsRequest\032C.google.devtools.clouderrorre"
- + "porting.v1beta1.ListGroupStatsResponse\"5"
- + "\202\323\344\223\002/\022-/v1beta1/{project_name=projects/"
- + "*}/groupStats\022\300\001\n\nListEvents\022>.google.de"
- + "vtools.clouderrorreporting.v1beta1.ListE"
- + "ventsRequest\032?.google.devtools.clouderro"
- + "rreporting.v1beta1.ListEventsResponse\"1\202"
- + "\323\344\223\002+\022)/v1beta1/{project_name=projects/*"
- + "}/events\022\306\001\n\014DeleteEvents\022@.google.devto"
- + "ols.clouderrorreporting.v1beta1.DeleteEv"
- + "entsRequest\032A.google.devtools.clouderror"
- + "reporting.v1beta1.DeleteEventsResponse\"1"
- + "\202\323\344\223\002+*)/v1beta1/{project_name=projects/"
- + "*}/eventsB\367\001\n/com.google.devtools.cloude"
- + "rrorreporting.v1beta1B\026ErrorStatsService"
- + "ProtoP\001Z^google.golang.org/genproto/goog"
- + "leapis/devtools/clouderrorreporting/v1be"
- + "ta1;clouderrorreporting\252\002#Google.Cloud.E"
- + "rrorReporting.V1Beta1\312\002#Google\\Cloud\\Err"
- + "orReporting\\V1beta1b\006proto3"
+ + "extFilterB\003\340A\001\022T\n\ntime_range\030\005 \001(\0132;.goo"
+ + "gle.devtools.clouderrorreporting.v1beta1"
+ + ".QueryTimeRangeB\003\340A\001\022<\n\024timed_count_dura"
+ + "tion\030\006 \001(\0132\031.google.protobuf.DurationB\003\340"
+ + "A\001\022X\n\talignment\030\007 \001(\0162@.google.devtools."
+ + "clouderrorreporting.v1beta1.TimedCountAl"
+ + "ignmentB\003\340A\001\0227\n\016alignment_time\030\010 \001(\0132\032.g"
+ + "oogle.protobuf.TimestampB\003\340A\001\022P\n\005order\030\t"
+ + " \001(\0162<.google.devtools.clouderrorreporti"
+ + "ng.v1beta1.ErrorGroupOrderB\003\340A\001\022\026\n\tpage_"
+ + "size\030\013 \001(\005B\003\340A\001\022\027\n\npage_token\030\014 \001(\tB\003\340A\001"
+ + "\"\300\001\n\026ListGroupStatsResponse\022W\n\021error_gro"
+ + "up_stats\030\001 \003(\0132<.google.devtools.clouder"
+ + "rorreporting.v1beta1.ErrorGroupStats\022\027\n\017"
+ + "next_page_token\030\002 \001(\t\0224\n\020time_range_begi"
+ + "n\030\004 \001(\0132\032.google.protobuf.Timestamp\"\206\004\n\017"
+ + "ErrorGroupStats\022F\n\005group\030\001 \001(\01327.google."
+ + "devtools.clouderrorreporting.v1beta1.Err"
+ + "orGroup\022\r\n\005count\030\002 \001(\003\022\034\n\024affected_users"
+ + "_count\030\003 \001(\003\022M\n\014timed_counts\030\004 \003(\01327.goo"
+ + "gle.devtools.clouderrorreporting.v1beta1"
+ + ".TimedCount\0223\n\017first_seen_time\030\005 \001(\0132\032.g"
+ + "oogle.protobuf.Timestamp\0222\n\016last_seen_ti"
+ + "me\030\006 \001(\0132\032.google.protobuf.Timestamp\022V\n\021"
+ + "affected_services\030\007 \003(\0132;.google.devtool"
+ + "s.clouderrorreporting.v1beta1.ServiceCon"
+ + "text\022\035\n\025num_affected_services\030\010 \001(\005\022O\n\016r"
+ + "epresentative\030\t \001(\01327.google.devtools.cl"
+ + "ouderrorreporting.v1beta1.ErrorEvent\"y\n\n"
+ + "TimedCount\022\r\n\005count\030\001 \001(\003\022.\n\nstart_time\030"
+ + "\002 \001(\0132\032.google.protobuf.Timestamp\022,\n\010end"
+ + "_time\030\003 \001(\0132\032.google.protobuf.Timestamp\""
+ + "\334\002\n\021ListEventsRequest\022I\n\014project_name\030\001 "
+ + "\001(\tB3\340A\002\372A-\n+cloudresourcemanager.google"
+ + "apis.com/Project\022\025\n\010group_id\030\002 \001(\tB\003\340A\002\022"
+ + "^\n\016service_filter\030\003 \001(\0132A.google.devtool"
+ + "s.clouderrorreporting.v1beta1.ServiceCon"
+ + "textFilterB\003\340A\001\022T\n\ntime_range\030\004 \001(\0132;.go"
+ + "ogle.devtools.clouderrorreporting.v1beta"
+ + "1.QueryTimeRangeB\003\340A\001\022\026\n\tpage_size\030\006 \001(\005"
+ + "B\003\340A\001\022\027\n\npage_token\030\007 \001(\tB\003\340A\001\"\262\001\n\022ListE"
+ + "ventsResponse\022M\n\014error_events\030\001 \003(\01327.go"
+ + "ogle.devtools.clouderrorreporting.v1beta"
+ + "1.ErrorEvent\022\027\n\017next_page_token\030\002 \001(\t\0224\n"
+ + "\020time_range_begin\030\004 \001(\0132\032.google.protobu"
+ + "f.Timestamp\"\347\001\n\016QueryTimeRange\022R\n\006period"
+ + "\030\001 \001(\0162B.google.devtools.clouderrorrepor"
+ + "ting.v1beta1.QueryTimeRange.Period\"\200\001\n\006P"
+ + "eriod\022\026\n\022PERIOD_UNSPECIFIED\020\000\022\021\n\rPERIOD_"
+ + "1_HOUR\020\001\022\022\n\016PERIOD_6_HOURS\020\002\022\020\n\014PERIOD_1"
+ + "_DAY\020\003\022\021\n\rPERIOD_1_WEEK\020\004\022\022\n\016PERIOD_30_D"
+ + "AYS\020\005\"^\n\024ServiceContextFilter\022\024\n\007service"
+ + "\030\002 \001(\tB\003\340A\001\022\024\n\007version\030\003 \001(\tB\003\340A\001\022\032\n\rres"
+ + "ource_type\030\004 \001(\tB\003\340A\001\"`\n\023DeleteEventsReq"
+ + "uest\022I\n\014project_name\030\001 \001(\tB3\340A\002\372A-\n+clou"
+ + "dresourcemanager.googleapis.com/Project\""
+ + "\026\n\024DeleteEventsResponse*u\n\023TimedCountAli"
+ + "gnment\022%\n!ERROR_COUNT_ALIGNMENT_UNSPECIF"
+ + "IED\020\000\022\033\n\027ALIGNMENT_EQUAL_ROUNDED\020\001\022\032\n\026AL"
+ + "IGNMENT_EQUAL_AT_END\020\002*}\n\017ErrorGroupOrde"
+ + "r\022\033\n\027GROUP_ORDER_UNSPECIFIED\020\000\022\016\n\nCOUNT_"
+ + "DESC\020\001\022\022\n\016LAST_SEEN_DESC\020\002\022\020\n\014CREATED_DE"
+ + "SC\020\003\022\027\n\023AFFECTED_USERS_DESC\020\0042\213\006\n\021ErrorS"
+ + "tatsService\022\352\001\n\016ListGroupStats\022B.google."
+ + "devtools.clouderrorreporting.v1beta1.Lis"
+ + "tGroupStatsRequest\032C.google.devtools.clo"
+ + "uderrorreporting.v1beta1.ListGroupStatsR"
+ + "esponse\"O\202\323\344\223\002/\022-/v1beta1/{project_name="
+ + "projects/*}/groupStats\332A\027project_name,ti"
+ + "me_range\022\330\001\n\nListEvents\022>.google.devtool"
+ + "s.clouderrorreporting.v1beta1.ListEvents"
+ + "Request\032?.google.devtools.clouderrorrepo"
+ + "rting.v1beta1.ListEventsResponse\"I\202\323\344\223\002+"
+ + "\022)/v1beta1/{project_name=projects/*}/eve"
+ + "nts\332A\025project_name,group_id\022\325\001\n\014DeleteEv"
+ + "ents\022@.google.devtools.clouderrorreporti"
+ + "ng.v1beta1.DeleteEventsRequest\032A.google."
+ + "devtools.clouderrorreporting.v1beta1.Del"
+ + "eteEventsResponse\"@\202\323\344\223\002+*)/v1beta1/{pro"
+ + "ject_name=projects/*}/events\332A\014project_n"
+ + "ame\032V\312A\"clouderrorreporting.googleapis.c"
+ + "om\322A.https://www.googleapis.com/auth/clo"
+ + "ud-platformB\372\001\n/com.google.devtools.clou"
+ + "derrorreporting.v1beta1B\026ErrorStatsServi"
+ + "ceProtoP\001Z^google.golang.org/genproto/go"
+ + "ogleapis/devtools/clouderrorreporting/v1"
+ + "beta1;clouderrorreporting\370\001\001\252\002#Google.Cl"
+ + "oud.ErrorReporting.V1Beta1\312\002#Google\\Clou"
+ + "d\\ErrorReporting\\V1beta1b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.devtools.clouderrorreporting.v1beta1.CommonProto.getDescriptor(),
- com.google.protobuf.DurationProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.ClientProto.getDescriptor(),
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
+ com.google.devtools.clouderrorreporting.v1beta1.CommonProto.getDescriptor(),
+ com.google.protobuf.DurationProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
internal_static_google_devtools_clouderrorreporting_v1beta1_ListGroupStatsRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_devtools_clouderrorreporting_v1beta1_ListGroupStatsRequest_fieldAccessorTable =
@@ -282,10 +289,18 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
new java.lang.String[] {});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
+ registry.add(com.google.api.ClientProto.defaultHost);
+ registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
registry.add(com.google.api.AnnotationsProto.http);
+ registry.add(com.google.api.ClientProto.methodSignature);
+ registry.add(com.google.api.ClientProto.oauthScopes);
+ registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
+ com.google.api.ClientProto.getDescriptor();
+ com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.api.ResourceProto.getDescriptor();
com.google.devtools.clouderrorreporting.v1beta1.CommonProto.getDescriptor();
com.google.protobuf.DurationProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequest.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequest.java
index edfdb326..9665ac88 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequest.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequest.java
@@ -41,6 +41,12 @@ private GetGroupRequest() {
groupName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new GetGroupRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private GetGroupRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -112,7 +117,7 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * [Required] The group resource name. Written as
+ * Required. The group resource name. Written as
* <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
* Call
* <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
@@ -121,7 +126,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
* Example: <code>projects/my-project-123/groups/my-group</code>
*
*
- * string group_name = 1;
+ *
+ * string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The groupName.
*/
public java.lang.String getGroupName() {
java.lang.Object ref = groupName_;
@@ -138,7 +147,7 @@ public java.lang.String getGroupName() {
*
*
*
- * [Required] The group resource name. Written as
+ * Required. The group resource name. Written as
* <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
* Call
* <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
@@ -147,7 +156,11 @@ public java.lang.String getGroupName() {
* Example: <code>projects/my-project-123/groups/my-group</code>
*
*
- * string group_name = 1;
+ *
+ * string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for groupName.
*/
public com.google.protobuf.ByteString getGroupNameBytes() {
java.lang.Object ref = groupName_;
@@ -489,7 +502,7 @@ public Builder mergeFrom(
*
*
*
- * [Required] The group resource name. Written as
+ * Required. The group resource name. Written as
* <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
* Call
* <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
@@ -498,7 +511,11 @@ public Builder mergeFrom(
* Example: <code>projects/my-project-123/groups/my-group</code>
*
*
- * string group_name = 1;
+ *
+ * string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The groupName.
*/
public java.lang.String getGroupName() {
java.lang.Object ref = groupName_;
@@ -515,7 +532,7 @@ public java.lang.String getGroupName() {
*
*
*
- * [Required] The group resource name. Written as
+ * Required. The group resource name. Written as
* <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
* Call
* <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
@@ -524,7 +541,11 @@ public java.lang.String getGroupName() {
* Example: <code>projects/my-project-123/groups/my-group</code>
*
*
- * string group_name = 1;
+ *
+ * string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for groupName.
*/
public com.google.protobuf.ByteString getGroupNameBytes() {
java.lang.Object ref = groupName_;
@@ -541,7 +562,7 @@ public com.google.protobuf.ByteString getGroupNameBytes() {
*
*
*
- * [Required] The group resource name. Written as
+ * Required. The group resource name. Written as
* <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
* Call
* <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
@@ -550,7 +571,12 @@ public com.google.protobuf.ByteString getGroupNameBytes() {
* Example: <code>projects/my-project-123/groups/my-group</code>
*
*
- * string group_name = 1;
+ *
+ * string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The groupName to set.
+ * @return This builder for chaining.
*/
public Builder setGroupName(java.lang.String value) {
if (value == null) {
@@ -565,7 +591,7 @@ public Builder setGroupName(java.lang.String value) {
*
*
*
- * [Required] The group resource name. Written as
+ * Required. The group resource name. Written as
* <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
* Call
* <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
@@ -574,7 +600,11 @@ public Builder setGroupName(java.lang.String value) {
* Example: <code>projects/my-project-123/groups/my-group</code>
*
*
- * string group_name = 1;
+ *
+ * string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
*/
public Builder clearGroupName() {
@@ -586,7 +616,7 @@ public Builder clearGroupName() {
*
*
*
- * [Required] The group resource name. Written as
+ * Required. The group resource name. Written as
* <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
* Call
* <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
@@ -595,7 +625,12 @@ public Builder clearGroupName() {
* Example: <code>projects/my-project-123/groups/my-group</code>
*
*
- * string group_name = 1;
+ *
+ * string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for groupName to set.
+ * @return This builder for chaining.
*/
public Builder setGroupNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequestOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequestOrBuilder.java
index c08c1fd6..a76f35f5 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequestOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequestOrBuilder.java
@@ -27,7 +27,7 @@ public interface GetGroupRequestOrBuilder
*
*
*
- * [Required] The group resource name. Written as
+ * Required. The group resource name. Written as
* <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
* Call
* <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
@@ -36,14 +36,18 @@ public interface GetGroupRequestOrBuilder
* Example: <code>projects/my-project-123/groups/my-group</code>
*
*
- * string group_name = 1;
+ *
+ * string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The groupName.
*/
java.lang.String getGroupName();
/**
*
*
*
- * [Required] The group resource name. Written as
+ * Required. The group resource name. Written as
* <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
* Call
* <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
@@ -52,7 +56,11 @@ public interface GetGroupRequestOrBuilder
* Example: <code>projects/my-project-123/groups/my-group</code>
*
*
- * string group_name = 1;
+ *
+ * string group_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for groupName.
*/
com.google.protobuf.ByteString getGroupNameBytes();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GroupName.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GroupName.java
index 9a5e8551..b3787f35 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GroupName.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GroupName.java
@@ -26,6 +26,7 @@
// AUTO-GENERATED DOCUMENTATION AND CLASS
@javax.annotation.Generated("by GAPIC protoc plugin")
+@Deprecated
public class GroupName implements ResourceName {
private static final PathTemplate PATH_TEMPLATE =
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContext.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContext.java
index 1c7fc438..f88cde1b 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContext.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContext.java
@@ -48,6 +48,12 @@ private HttpRequestContext() {
remoteIp_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new HttpRequestContext();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -61,7 +67,6 @@ private HttpRequestContext(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -156,6 +161,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string method = 1;
+ *
+ * @return The method.
*/
public java.lang.String getMethod() {
java.lang.Object ref = method_;
@@ -176,6 +183,8 @@ public java.lang.String getMethod() {
*
*
* string method = 1;
+ *
+ * @return The bytes for method.
*/
public com.google.protobuf.ByteString getMethodBytes() {
java.lang.Object ref = method_;
@@ -199,6 +208,8 @@ public com.google.protobuf.ByteString getMethodBytes() {
*
*
* string url = 2;
+ *
+ * @return The url.
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
@@ -219,6 +230,8 @@ public java.lang.String getUrl() {
*
*
* string url = 2;
+ *
+ * @return The bytes for url.
*/
public com.google.protobuf.ByteString getUrlBytes() {
java.lang.Object ref = url_;
@@ -242,6 +255,8 @@ public com.google.protobuf.ByteString getUrlBytes() {
*
*
* string user_agent = 3;
+ *
+ * @return The userAgent.
*/
public java.lang.String getUserAgent() {
java.lang.Object ref = userAgent_;
@@ -262,6 +277,8 @@ public java.lang.String getUserAgent() {
*
*
* string user_agent = 3;
+ *
+ * @return The bytes for userAgent.
*/
public com.google.protobuf.ByteString getUserAgentBytes() {
java.lang.Object ref = userAgent_;
@@ -285,6 +302,8 @@ public com.google.protobuf.ByteString getUserAgentBytes() {
*
*
* string referrer = 4;
+ *
+ * @return The referrer.
*/
public java.lang.String getReferrer() {
java.lang.Object ref = referrer_;
@@ -305,6 +324,8 @@ public java.lang.String getReferrer() {
*
*
* string referrer = 4;
+ *
+ * @return The bytes for referrer.
*/
public com.google.protobuf.ByteString getReferrerBytes() {
java.lang.Object ref = referrer_;
@@ -328,6 +349,8 @@ public com.google.protobuf.ByteString getReferrerBytes() {
*
*
* int32 response_status_code = 5;
+ *
+ * @return The responseStatusCode.
*/
public int getResponseStatusCode() {
return responseStatusCode_;
@@ -346,6 +369,8 @@ public int getResponseStatusCode() {
*
*
* string remote_ip = 6;
+ *
+ * @return The remoteIp.
*/
public java.lang.String getRemoteIp() {
java.lang.Object ref = remoteIp_;
@@ -369,6 +394,8 @@ public java.lang.String getRemoteIp() {
*
*
* string remote_ip = 6;
+ *
+ * @return The bytes for remoteIp.
*/
public com.google.protobuf.ByteString getRemoteIpBytes() {
java.lang.Object ref = remoteIp_;
@@ -800,6 +827,8 @@ public Builder mergeFrom(
*
*
* string method = 1;
+ *
+ * @return The method.
*/
public java.lang.String getMethod() {
java.lang.Object ref = method_;
@@ -820,6 +849,8 @@ public java.lang.String getMethod() {
*
*
* string method = 1;
+ *
+ * @return The bytes for method.
*/
public com.google.protobuf.ByteString getMethodBytes() {
java.lang.Object ref = method_;
@@ -840,6 +871,9 @@ public com.google.protobuf.ByteString getMethodBytes() {
*
*
* string method = 1;
+ *
+ * @param value The method to set.
+ * @return This builder for chaining.
*/
public Builder setMethod(java.lang.String value) {
if (value == null) {
@@ -858,6 +892,8 @@ public Builder setMethod(java.lang.String value) {
*
*
* string method = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearMethod() {
@@ -873,6 +909,9 @@ public Builder clearMethod() {
*
*
* string method = 1;
+ *
+ * @param value The bytes for method to set.
+ * @return This builder for chaining.
*/
public Builder setMethodBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -894,6 +933,8 @@ public Builder setMethodBytes(com.google.protobuf.ByteString value) {
*
*
* string url = 2;
+ *
+ * @return The url.
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
@@ -914,6 +955,8 @@ public java.lang.String getUrl() {
*
*
* string url = 2;
+ *
+ * @return The bytes for url.
*/
public com.google.protobuf.ByteString getUrlBytes() {
java.lang.Object ref = url_;
@@ -934,6 +977,9 @@ public com.google.protobuf.ByteString getUrlBytes() {
*
*
* string url = 2;
+ *
+ * @param value The url to set.
+ * @return This builder for chaining.
*/
public Builder setUrl(java.lang.String value) {
if (value == null) {
@@ -952,6 +998,8 @@ public Builder setUrl(java.lang.String value) {
*
*
* string url = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearUrl() {
@@ -967,6 +1015,9 @@ public Builder clearUrl() {
*
*
* string url = 2;
+ *
+ * @param value The bytes for url to set.
+ * @return This builder for chaining.
*/
public Builder setUrlBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -988,6 +1039,8 @@ public Builder setUrlBytes(com.google.protobuf.ByteString value) {
*
*
* string user_agent = 3;
+ *
+ * @return The userAgent.
*/
public java.lang.String getUserAgent() {
java.lang.Object ref = userAgent_;
@@ -1008,6 +1061,8 @@ public java.lang.String getUserAgent() {
*
*
* string user_agent = 3;
+ *
+ * @return The bytes for userAgent.
*/
public com.google.protobuf.ByteString getUserAgentBytes() {
java.lang.Object ref = userAgent_;
@@ -1028,6 +1083,9 @@ public com.google.protobuf.ByteString getUserAgentBytes() {
*
*
* string user_agent = 3;
+ *
+ * @param value The userAgent to set.
+ * @return This builder for chaining.
*/
public Builder setUserAgent(java.lang.String value) {
if (value == null) {
@@ -1046,6 +1104,8 @@ public Builder setUserAgent(java.lang.String value) {
*
*
* string user_agent = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearUserAgent() {
@@ -1061,6 +1121,9 @@ public Builder clearUserAgent() {
*
*
* string user_agent = 3;
+ *
+ * @param value The bytes for userAgent to set.
+ * @return This builder for chaining.
*/
public Builder setUserAgentBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1082,6 +1145,8 @@ public Builder setUserAgentBytes(com.google.protobuf.ByteString value) {
*
*
* string referrer = 4;
+ *
+ * @return The referrer.
*/
public java.lang.String getReferrer() {
java.lang.Object ref = referrer_;
@@ -1102,6 +1167,8 @@ public java.lang.String getReferrer() {
*
*
* string referrer = 4;
+ *
+ * @return The bytes for referrer.
*/
public com.google.protobuf.ByteString getReferrerBytes() {
java.lang.Object ref = referrer_;
@@ -1122,6 +1189,9 @@ public com.google.protobuf.ByteString getReferrerBytes() {
*
*
* string referrer = 4;
+ *
+ * @param value The referrer to set.
+ * @return This builder for chaining.
*/
public Builder setReferrer(java.lang.String value) {
if (value == null) {
@@ -1140,6 +1210,8 @@ public Builder setReferrer(java.lang.String value) {
*
*
* string referrer = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearReferrer() {
@@ -1155,6 +1227,9 @@ public Builder clearReferrer() {
*
*
* string referrer = 4;
+ *
+ * @param value The bytes for referrer to set.
+ * @return This builder for chaining.
*/
public Builder setReferrerBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1176,6 +1251,8 @@ public Builder setReferrerBytes(com.google.protobuf.ByteString value) {
*
*
* int32 response_status_code = 5;
+ *
+ * @return The responseStatusCode.
*/
public int getResponseStatusCode() {
return responseStatusCode_;
@@ -1188,6 +1265,9 @@ public int getResponseStatusCode() {
*
*
* int32 response_status_code = 5;
+ *
+ * @param value The responseStatusCode to set.
+ * @return This builder for chaining.
*/
public Builder setResponseStatusCode(int value) {
@@ -1203,6 +1283,8 @@ public Builder setResponseStatusCode(int value) {
*
*
* int32 response_status_code = 5;
+ *
+ * @return This builder for chaining.
*/
public Builder clearResponseStatusCode() {
@@ -1223,6 +1305,8 @@ public Builder clearResponseStatusCode() {
*
*
* string remote_ip = 6;
+ *
+ * @return The remoteIp.
*/
public java.lang.String getRemoteIp() {
java.lang.Object ref = remoteIp_;
@@ -1246,6 +1330,8 @@ public java.lang.String getRemoteIp() {
*
*
* string remote_ip = 6;
+ *
+ * @return The bytes for remoteIp.
*/
public com.google.protobuf.ByteString getRemoteIpBytes() {
java.lang.Object ref = remoteIp_;
@@ -1269,6 +1355,9 @@ public com.google.protobuf.ByteString getRemoteIpBytes() {
*
*
* string remote_ip = 6;
+ *
+ * @param value The remoteIp to set.
+ * @return This builder for chaining.
*/
public Builder setRemoteIp(java.lang.String value) {
if (value == null) {
@@ -1290,6 +1379,8 @@ public Builder setRemoteIp(java.lang.String value) {
*
*
* string remote_ip = 6;
+ *
+ * @return This builder for chaining.
*/
public Builder clearRemoteIp() {
@@ -1308,6 +1399,9 @@ public Builder clearRemoteIp() {
*
*
* string remote_ip = 6;
+ *
+ * @param value The bytes for remoteIp to set.
+ * @return This builder for chaining.
*/
public Builder setRemoteIpBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContextOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContextOrBuilder.java
index 19bbce06..fc04e995 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContextOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContextOrBuilder.java
@@ -31,6 +31,8 @@ public interface HttpRequestContextOrBuilder
*
*
* string method = 1;
+ *
+ * @return The method.
*/
java.lang.String getMethod();
/**
@@ -41,6 +43,8 @@ public interface HttpRequestContextOrBuilder
*
*
* string method = 1;
+ *
+ * @return The bytes for method.
*/
com.google.protobuf.ByteString getMethodBytes();
@@ -52,6 +56,8 @@ public interface HttpRequestContextOrBuilder
*
*
* string url = 2;
+ *
+ * @return The url.
*/
java.lang.String getUrl();
/**
@@ -62,6 +68,8 @@ public interface HttpRequestContextOrBuilder
*
*
* string url = 2;
+ *
+ * @return The bytes for url.
*/
com.google.protobuf.ByteString getUrlBytes();
@@ -73,6 +81,8 @@ public interface HttpRequestContextOrBuilder
*
*
* string user_agent = 3;
+ *
+ * @return The userAgent.
*/
java.lang.String getUserAgent();
/**
@@ -83,6 +93,8 @@ public interface HttpRequestContextOrBuilder
*
*
* string user_agent = 3;
+ *
+ * @return The bytes for userAgent.
*/
com.google.protobuf.ByteString getUserAgentBytes();
@@ -94,6 +106,8 @@ public interface HttpRequestContextOrBuilder
*
*
* string referrer = 4;
+ *
+ * @return The referrer.
*/
java.lang.String getReferrer();
/**
@@ -104,6 +118,8 @@ public interface HttpRequestContextOrBuilder
*
*
* string referrer = 4;
+ *
+ * @return The bytes for referrer.
*/
com.google.protobuf.ByteString getReferrerBytes();
@@ -115,6 +131,8 @@ public interface HttpRequestContextOrBuilder
*
*
* int32 response_status_code = 5;
+ *
+ * @return The responseStatusCode.
*/
int getResponseStatusCode();
@@ -129,6 +147,8 @@ public interface HttpRequestContextOrBuilder
*
*
* string remote_ip = 6;
+ *
+ * @return The remoteIp.
*/
java.lang.String getRemoteIp();
/**
@@ -142,6 +162,8 @@ public interface HttpRequestContextOrBuilder
*
*
* string remote_ip = 6;
+ *
+ * @return The bytes for remoteIp.
*/
com.google.protobuf.ByteString getRemoteIpBytes();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequest.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequest.java
index ce2b67ec..23e9cbf0 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequest.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequest.java
@@ -43,6 +43,12 @@ private ListEventsRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListEventsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -56,7 +62,6 @@ private ListEventsRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -169,14 +174,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The projectName.
*/
public java.lang.String getProjectName() {
java.lang.Object ref = projectName_;
@@ -193,14 +202,18 @@ public java.lang.String getProjectName() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for projectName.
*/
public com.google.protobuf.ByteString getProjectNameBytes() {
java.lang.Object ref = projectName_;
@@ -220,10 +233,12 @@ public com.google.protobuf.ByteString getProjectNameBytes() {
*
*
*
- * [Required] The group for which events shall be returned.
+ * Required. The group for which events shall be returned.
*
*
- * string group_id = 2;
+ * string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The groupId.
*/
public java.lang.String getGroupId() {
java.lang.Object ref = groupId_;
@@ -240,10 +255,12 @@ public java.lang.String getGroupId() {
*
*
*
- * [Required] The group for which events shall be returned.
+ * Required. The group for which events shall be returned.
*
*
- * string group_id = 2;
+ * string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for groupId.
*/
public com.google.protobuf.ByteString getGroupIdBytes() {
java.lang.Object ref = groupId_;
@@ -263,13 +280,16 @@ public com.google.protobuf.ByteString getGroupIdBytes() {
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
+ *
+ * @return Whether the serviceFilter field is set.
*/
public boolean hasServiceFilter() {
return serviceFilter_ != null;
@@ -278,13 +298,16 @@ public boolean hasServiceFilter() {
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
+ *
+ * @return The serviceFilter.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter getServiceFilter() {
return serviceFilter_ == null
@@ -295,12 +318,13 @@ public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter getS
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilterOrBuilder
@@ -314,12 +338,16 @@ public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter getS
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the timeRange field is set.
*/
public boolean hasTimeRange() {
return timeRange_ != null;
@@ -328,12 +356,16 @@ public boolean hasTimeRange() {
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The timeRange.
*/
public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange getTimeRange() {
return timeRange_ == null
@@ -344,12 +376,14 @@ public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange getTimeRan
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRangeOrBuilder
getTimeRangeOrBuilder() {
@@ -362,10 +396,12 @@ public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange getTimeRan
*
*
*
- * [Optional] The maximum number of results to return per response.
+ * Optional. The maximum number of results to return per response.
*
*
- * int32 page_size = 6;
+ * int32 page_size = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -377,10 +413,12 @@ public int getPageSize() {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response.
+ * Optional. A `next_page_token` provided by a previous response.
*
*
- * string page_token = 7;
+ * string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -397,10 +435,12 @@ public java.lang.String getPageToken() {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response.
+ * Optional. A `next_page_token` provided by a previous response.
*
*
- * string page_token = 7;
+ * string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -847,14 +887,18 @@ public Builder mergeFrom(
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The projectName.
*/
public java.lang.String getProjectName() {
java.lang.Object ref = projectName_;
@@ -871,14 +915,18 @@ public java.lang.String getProjectName() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for projectName.
*/
public com.google.protobuf.ByteString getProjectNameBytes() {
java.lang.Object ref = projectName_;
@@ -895,14 +943,19 @@ public com.google.protobuf.ByteString getProjectNameBytes() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The projectName to set.
+ * @return This builder for chaining.
*/
public Builder setProjectName(java.lang.String value) {
if (value == null) {
@@ -917,14 +970,18 @@ public Builder setProjectName(java.lang.String value) {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectName() {
@@ -936,14 +993,19 @@ public Builder clearProjectName() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for projectName to set.
+ * @return This builder for chaining.
*/
public Builder setProjectNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -961,10 +1023,12 @@ public Builder setProjectNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * [Required] The group for which events shall be returned.
+ * Required. The group for which events shall be returned.
*
*
- * string group_id = 2;
+ * string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The groupId.
*/
public java.lang.String getGroupId() {
java.lang.Object ref = groupId_;
@@ -981,10 +1045,12 @@ public java.lang.String getGroupId() {
*
*
*
- * [Required] The group for which events shall be returned.
+ * Required. The group for which events shall be returned.
*
*
- * string group_id = 2;
+ * string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for groupId.
*/
public com.google.protobuf.ByteString getGroupIdBytes() {
java.lang.Object ref = groupId_;
@@ -1001,10 +1067,13 @@ public com.google.protobuf.ByteString getGroupIdBytes() {
*
*
*
- * [Required] The group for which events shall be returned.
+ * Required. The group for which events shall be returned.
*
*
- * string group_id = 2;
+ * string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The groupId to set.
+ * @return This builder for chaining.
*/
public Builder setGroupId(java.lang.String value) {
if (value == null) {
@@ -1019,10 +1088,12 @@ public Builder setGroupId(java.lang.String value) {
*
*
*
- * [Required] The group for which events shall be returned.
+ * Required. The group for which events shall be returned.
*
*
- * string group_id = 2;
+ * string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearGroupId() {
@@ -1034,10 +1105,13 @@ public Builder clearGroupId() {
*
*
*
- * [Required] The group for which events shall be returned.
+ * Required. The group for which events shall be returned.
*
*
- * string group_id = 2;
+ * string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for groupId to set.
+ * @return This builder for chaining.
*/
public Builder setGroupIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1060,13 +1134,16 @@ public Builder setGroupIdBytes(com.google.protobuf.ByteString value) {
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
+ *
+ * @return Whether the serviceFilter field is set.
*/
public boolean hasServiceFilter() {
return serviceFilterBuilder_ != null || serviceFilter_ != null;
@@ -1075,13 +1152,16 @@ public boolean hasServiceFilter() {
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
+ *
+ * @return The serviceFilter.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter getServiceFilter() {
if (serviceFilterBuilder_ == null) {
@@ -1097,12 +1177,13 @@ public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter getS
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setServiceFilter(
@@ -1123,12 +1204,13 @@ public Builder setServiceFilter(
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setServiceFilter(
@@ -1147,12 +1229,13 @@ public Builder setServiceFilter(
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder mergeServiceFilter(
@@ -1178,12 +1261,13 @@ public Builder mergeServiceFilter(
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder clearServiceFilter() {
@@ -1201,12 +1285,13 @@ public Builder clearServiceFilter() {
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter.Builder
@@ -1219,12 +1304,13 @@ public Builder clearServiceFilter() {
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilterOrBuilder
@@ -1242,12 +1328,13 @@ public Builder clearServiceFilter() {
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
@@ -1277,12 +1364,16 @@ public Builder clearServiceFilter() {
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the timeRange field is set.
*/
public boolean hasTimeRange() {
return timeRangeBuilder_ != null || timeRange_ != null;
@@ -1291,12 +1382,16 @@ public boolean hasTimeRange() {
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The timeRange.
*/
public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange getTimeRange() {
if (timeRangeBuilder_ == null) {
@@ -1311,12 +1406,14 @@ public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange getTimeRan
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder setTimeRange(
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange value) {
@@ -1336,12 +1433,14 @@ public Builder setTimeRange(
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder setTimeRange(
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Builder builderForValue) {
@@ -1358,12 +1457,14 @@ public Builder setTimeRange(
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder mergeTimeRange(
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange value) {
@@ -1387,12 +1488,14 @@ public Builder mergeTimeRange(
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder clearTimeRange() {
if (timeRangeBuilder_ == null) {
@@ -1409,12 +1512,14 @@ public Builder clearTimeRange() {
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Builder
getTimeRangeBuilder() {
@@ -1426,12 +1531,14 @@ public Builder clearTimeRange() {
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRangeOrBuilder
getTimeRangeOrBuilder() {
@@ -1447,12 +1554,14 @@ public Builder clearTimeRange() {
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange,
@@ -1476,10 +1585,12 @@ public Builder clearTimeRange() {
*
*
*
- * [Optional] The maximum number of results to return per response.
+ * Optional. The maximum number of results to return per response.
*
*
- * int32 page_size = 6;
+ * int32 page_size = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -1488,10 +1599,13 @@ public int getPageSize() {
*
*
*
- * [Optional] The maximum number of results to return per response.
+ * Optional. The maximum number of results to return per response.
*
*
- * int32 page_size = 6;
+ * int32 page_size = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -1503,10 +1617,12 @@ public Builder setPageSize(int value) {
*
*
*
- * [Optional] The maximum number of results to return per response.
+ * Optional. The maximum number of results to return per response.
*
*
- * int32 page_size = 6;
+ * int32 page_size = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -1520,10 +1636,12 @@ public Builder clearPageSize() {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response.
+ * Optional. A `next_page_token` provided by a previous response.
*
*
- * string page_token = 7;
+ * string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -1540,10 +1658,12 @@ public java.lang.String getPageToken() {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response.
+ * Optional. A `next_page_token` provided by a previous response.
*
*
- * string page_token = 7;
+ * string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -1560,10 +1680,13 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response.
+ * Optional. A `next_page_token` provided by a previous response.
*
*
- * string page_token = 7;
+ * string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -1578,10 +1701,12 @@ public Builder setPageToken(java.lang.String value) {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response.
+ * Optional. A `next_page_token` provided by a previous response.
*
*
- * string page_token = 7;
+ * string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -1593,10 +1718,13 @@ public Builder clearPageToken() {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response.
+ * Optional. A `next_page_token` provided by a previous response.
*
*
- * string page_token = 7;
+ * string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequestOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequestOrBuilder.java
index 8714155b..31728c63 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequestOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequestOrBuilder.java
@@ -27,28 +27,36 @@ public interface ListEventsRequestOrBuilder
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The projectName.
*/
java.lang.String getProjectName();
/**
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840).
* Example: `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for projectName.
*/
com.google.protobuf.ByteString getProjectNameBytes();
@@ -56,20 +64,24 @@ public interface ListEventsRequestOrBuilder
*
*
*
- * [Required] The group for which events shall be returned.
+ * Required. The group for which events shall be returned.
*
*
- * string group_id = 2;
+ * string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The groupId.
*/
java.lang.String getGroupId();
/**
*
*
*
- * [Required] The group for which events shall be returned.
+ * Required. The group for which events shall be returned.
*
*
- * string group_id = 2;
+ * string group_id = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for groupId.
*/
com.google.protobuf.ByteString getGroupIdBytes();
@@ -77,38 +89,45 @@ public interface ListEventsRequestOrBuilder
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
+ *
+ * @return Whether the serviceFilter field is set.
*/
boolean hasServiceFilter();
/**
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
+ *
+ * @return The serviceFilter.
*/
com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter getServiceFilter();
/**
*
*
*
- * [Optional] List only ErrorGroups which belong to a service context that
+ * Optional. List only ErrorGroups which belong to a service context that
* matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilterOrBuilder
@@ -118,36 +137,46 @@ public interface ListEventsRequestOrBuilder
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the timeRange field is set.
*/
boolean hasTimeRange();
/**
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The timeRange.
*/
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange getTimeRange();
/**
*
*
*
- * [Optional] List only data for the given time range.
+ * Optional. List only data for the given time range.
* If not set a default time range is used. The field time_range_begin
* in the response will specify the beginning of this time range.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRangeOrBuilder getTimeRangeOrBuilder();
@@ -155,10 +184,12 @@ public interface ListEventsRequestOrBuilder
*
*
*
- * [Optional] The maximum number of results to return per response.
+ * Optional. The maximum number of results to return per response.
*
*
- * int32 page_size = 6;
+ * int32 page_size = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -166,20 +197,24 @@ public interface ListEventsRequestOrBuilder
*
*
*
- * [Optional] A `next_page_token` provided by a previous response.
+ * Optional. A `next_page_token` provided by a previous response.
*
*
- * string page_token = 7;
+ * string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
*
*
*
- * [Optional] A `next_page_token` provided by a previous response.
+ * Optional. A `next_page_token` provided by a previous response.
*
*
- * string page_token = 7;
+ * string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponse.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponse.java
index d8414a4b..f89187cd 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponse.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponse.java
@@ -42,6 +42,12 @@ private ListEventsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListEventsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -139,7 +145,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse.Builder.class);
}
- private int bitField0_;
public static final int ERROR_EVENTS_FIELD_NUMBER = 1;
private java.util.List errorEvents_;
/**
@@ -219,6 +224,8 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorEvent getErrorEvents
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -241,6 +248,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -264,6 +273,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* .google.protobuf.Timestamp time_range_begin = 4;
+ *
+ * @return Whether the timeRangeBegin field is set.
*/
public boolean hasTimeRangeBegin() {
return timeRangeBegin_ != null;
@@ -276,6 +287,8 @@ public boolean hasTimeRangeBegin() {
*
*
* .google.protobuf.Timestamp time_range_begin = 4;
+ *
+ * @return The timeRangeBegin.
*/
public com.google.protobuf.Timestamp getTimeRangeBegin() {
return timeRangeBegin_ == null
@@ -573,7 +586,6 @@ public com.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse buildP
com.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse result =
new com.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (errorEventsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
errorEvents_ = java.util.Collections.unmodifiableList(errorEvents_);
@@ -589,7 +601,6 @@ public com.google.devtools.clouderrorreporting.v1beta1.ListEventsResponse buildP
} else {
result.timeRangeBegin_ = timeRangeBeginBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1106,6 +1117,8 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorEvent.Builder addErr
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1128,6 +1141,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1150,6 +1165,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1170,6 +1188,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1187,6 +1207,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1213,6 +1236,8 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.Timestamp time_range_begin = 4;
+ *
+ * @return Whether the timeRangeBegin field is set.
*/
public boolean hasTimeRangeBegin() {
return timeRangeBeginBuilder_ != null || timeRangeBegin_ != null;
@@ -1225,6 +1250,8 @@ public boolean hasTimeRangeBegin() {
*
*
* .google.protobuf.Timestamp time_range_begin = 4;
+ *
+ * @return The timeRangeBegin.
*/
public com.google.protobuf.Timestamp getTimeRangeBegin() {
if (timeRangeBeginBuilder_ == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponseOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponseOrBuilder.java
index 18d689d6..8f991ac5 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponseOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponseOrBuilder.java
@@ -86,6 +86,8 @@ com.google.devtools.clouderrorreporting.v1beta1.ErrorEventOrBuilder getErrorEven
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -98,6 +100,8 @@ com.google.devtools.clouderrorreporting.v1beta1.ErrorEventOrBuilder getErrorEven
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
@@ -109,6 +113,8 @@ com.google.devtools.clouderrorreporting.v1beta1.ErrorEventOrBuilder getErrorEven
*
*
* .google.protobuf.Timestamp time_range_begin = 4;
+ *
+ * @return Whether the timeRangeBegin field is set.
*/
boolean hasTimeRangeBegin();
/**
@@ -119,6 +125,8 @@ com.google.devtools.clouderrorreporting.v1beta1.ErrorEventOrBuilder getErrorEven
*
*
* .google.protobuf.Timestamp time_range_begin = 4;
+ *
+ * @return The timeRangeBegin.
*/
com.google.protobuf.Timestamp getTimeRangeBegin();
/**
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java
index 6404568e..fb371fa0 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java
@@ -45,6 +45,12 @@ private ListGroupStatsRequest() {
pageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListGroupStatsRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -79,9 +85,9 @@ private ListGroupStatsRequest(
case 18:
{
java.lang.String s = input.readStringRequireUtf8();
- if (!((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (!((mutable_bitField0_ & 0x00000001) != 0)) {
groupId_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000002;
+ mutable_bitField0_ |= 0x00000001;
}
groupId_.add(s);
break;
@@ -192,7 +198,7 @@ private ListGroupStatsRequest(
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
- if (((mutable_bitField0_ & 0x00000002) != 0)) {
+ if (((mutable_bitField0_ & 0x00000001) != 0)) {
groupId_ = groupId_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
@@ -215,21 +221,24 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest.Builder.class);
}
- private int bitField0_;
public static final int PROJECT_NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object projectName_;
/**
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as <code>projects/</code> plus the
* <a href="https://support.google.com/cloud/answer/6158840">Google Cloud
* Platform project ID</a>.
* Example: <code>projects/my-project-123</code>.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The projectName.
*/
public java.lang.String getProjectName() {
java.lang.Object ref = projectName_;
@@ -246,14 +255,18 @@ public java.lang.String getProjectName() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as <code>projects/</code> plus the
* <a href="https://support.google.com/cloud/answer/6158840">Google Cloud
* Platform project ID</a>.
* Example: <code>projects/my-project-123</code>.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for projectName.
*/
public com.google.protobuf.ByteString getProjectNameBytes() {
java.lang.Object ref = projectName_;
@@ -273,10 +286,12 @@ public com.google.protobuf.ByteString getProjectNameBytes() {
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return A list containing the groupId.
*/
public com.google.protobuf.ProtocolStringList getGroupIdList() {
return groupId_;
@@ -285,10 +300,12 @@ public com.google.protobuf.ProtocolStringList getGroupIdList() {
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The count of groupId.
*/
public int getGroupIdCount() {
return groupId_.size();
@@ -297,10 +314,13 @@ public int getGroupIdCount() {
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the element to return.
+ * @return The groupId at the given index.
*/
public java.lang.String getGroupId(int index) {
return groupId_.get(index);
@@ -309,10 +329,13 @@ public java.lang.String getGroupId(int index) {
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the groupId at the given index.
*/
public com.google.protobuf.ByteString getGroupIdBytes(int index) {
return groupId_.getByteString(index);
@@ -324,13 +347,16 @@ public com.google.protobuf.ByteString getGroupIdBytes(int index) {
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
+ *
+ * @return Whether the serviceFilter field is set.
*/
public boolean hasServiceFilter() {
return serviceFilter_ != null;
@@ -339,13 +365,16 @@ public boolean hasServiceFilter() {
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
+ *
+ * @return The serviceFilter.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter getServiceFilter() {
return serviceFilter_ == null
@@ -356,12 +385,13 @@ public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter getS
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilterOrBuilder
@@ -375,16 +405,21 @@ public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter getS
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the timeRange field is set.
*/
public boolean hasTimeRange() {
return timeRange_ != null;
@@ -393,16 +428,21 @@ public boolean hasTimeRange() {
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The timeRange.
*/
public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange getTimeRange() {
return timeRange_ == null
@@ -413,16 +453,19 @@ public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange getTimeRan
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRangeOrBuilder
getTimeRangeOrBuilder() {
@@ -435,11 +478,15 @@ public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange getTimeRan
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the timedCountDuration field is set.
*/
public boolean hasTimedCountDuration() {
return timedCountDuration_ != null;
@@ -448,11 +495,15 @@ public boolean hasTimedCountDuration() {
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The timedCountDuration.
*/
public com.google.protobuf.Duration getTimedCountDuration() {
return timedCountDuration_ == null
@@ -463,11 +514,13 @@ public com.google.protobuf.Duration getTimedCountDuration() {
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.protobuf.DurationOrBuilder getTimedCountDurationOrBuilder() {
return getTimedCountDuration();
@@ -479,11 +532,15 @@ public com.google.protobuf.DurationOrBuilder getTimedCountDurationOrBuilder() {
*
*
*
- * [Optional] The alignment of the timed counts to be returned.
+ * Optional. The alignment of the timed counts to be returned.
* Default is `ALIGNMENT_EQUAL_AT_END`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for alignment.
*/
public int getAlignmentValue() {
return alignment_;
@@ -492,11 +549,15 @@ public int getAlignmentValue() {
*
*
*
- * [Optional] The alignment of the timed counts to be returned.
+ * Optional. The alignment of the timed counts to be returned.
* Default is `ALIGNMENT_EQUAL_AT_END`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The alignment.
*/
public com.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment getAlignment() {
@SuppressWarnings("deprecation")
@@ -513,11 +574,14 @@ public com.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment getAl
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the alignmentTime field is set.
*/
public boolean hasAlignmentTime() {
return alignmentTime_ != null;
@@ -526,11 +590,14 @@ public boolean hasAlignmentTime() {
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The alignmentTime.
*/
public com.google.protobuf.Timestamp getAlignmentTime() {
return alignmentTime_ == null
@@ -541,11 +608,12 @@ public com.google.protobuf.Timestamp getAlignmentTime() {
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.protobuf.TimestampOrBuilder getAlignmentTimeOrBuilder() {
return getAlignmentTime();
@@ -557,11 +625,15 @@ public com.google.protobuf.TimestampOrBuilder getAlignmentTimeOrBuilder() {
*
*
*
- * [Optional] The sort order in which the results are returned.
+ * Optional. The sort order in which the results are returned.
* Default is `COUNT_DESC`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for order.
*/
public int getOrderValue() {
return order_;
@@ -570,11 +642,15 @@ public int getOrderValue() {
*
*
*
- * [Optional] The sort order in which the results are returned.
+ * Optional. The sort order in which the results are returned.
* Default is `COUNT_DESC`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The order.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder getOrder() {
@SuppressWarnings("deprecation")
@@ -591,11 +667,13 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder getOrder(
*
*
*
- * [Optional] The maximum number of results to return per response.
+ * Optional. The maximum number of results to return per response.
* Default is 20.
*
*
- * int32 page_size = 11;
+ * int32 page_size = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -607,12 +685,14 @@ public int getPageSize() {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response. To view
+ * Optional. A `next_page_token` provided by a previous response. To view
* additional results, pass this token along with the identical query
* parameters as the first request.
*
*
- * string page_token = 12;
+ * string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -629,12 +709,14 @@ public java.lang.String getPageToken() {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response. To view
+ * Optional. A `next_page_token` provided by a previous response. To view
* additional results, pass this token along with the identical query
* parameters as the first request.
*
*
- * string page_token = 12;
+ * string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -976,7 +1058,7 @@ public Builder clear() {
projectName_ = "";
groupId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
if (serviceFilterBuilder_ == null) {
serviceFilter_ = null;
} else {
@@ -1039,11 +1121,10 @@ public com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest bui
com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest result =
new com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
result.projectName_ = projectName_;
- if (((bitField0_ & 0x00000002) != 0)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
groupId_ = groupId_.getUnmodifiableView();
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
}
result.groupId_ = groupId_;
if (serviceFilterBuilder_ == null) {
@@ -1070,7 +1151,6 @@ public com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsRequest bui
result.order_ = order_;
result.pageSize_ = pageSize_;
result.pageToken_ = pageToken_;
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1131,7 +1211,7 @@ public Builder mergeFrom(
if (!other.groupId_.isEmpty()) {
if (groupId_.isEmpty()) {
groupId_ = other.groupId_;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureGroupIdIsMutable();
groupId_.addAll(other.groupId_);
@@ -1201,14 +1281,18 @@ public Builder mergeFrom(
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as <code>projects/</code> plus the
* <a href="https://support.google.com/cloud/answer/6158840">Google Cloud
* Platform project ID</a>.
* Example: <code>projects/my-project-123</code>.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The projectName.
*/
public java.lang.String getProjectName() {
java.lang.Object ref = projectName_;
@@ -1225,14 +1309,18 @@ public java.lang.String getProjectName() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as <code>projects/</code> plus the
* <a href="https://support.google.com/cloud/answer/6158840">Google Cloud
* Platform project ID</a>.
* Example: <code>projects/my-project-123</code>.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for projectName.
*/
public com.google.protobuf.ByteString getProjectNameBytes() {
java.lang.Object ref = projectName_;
@@ -1249,14 +1337,19 @@ public com.google.protobuf.ByteString getProjectNameBytes() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as <code>projects/</code> plus the
* <a href="https://support.google.com/cloud/answer/6158840">Google Cloud
* Platform project ID</a>.
* Example: <code>projects/my-project-123</code>.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The projectName to set.
+ * @return This builder for chaining.
*/
public Builder setProjectName(java.lang.String value) {
if (value == null) {
@@ -1271,14 +1364,18 @@ public Builder setProjectName(java.lang.String value) {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as <code>projects/</code> plus the
* <a href="https://support.google.com/cloud/answer/6158840">Google Cloud
* Platform project ID</a>.
* Example: <code>projects/my-project-123</code>.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectName() {
@@ -1290,14 +1387,19 @@ public Builder clearProjectName() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as <code>projects/</code> plus the
* <a href="https://support.google.com/cloud/answer/6158840">Google Cloud
* Platform project ID</a>.
* Example: <code>projects/my-project-123</code>.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for projectName to set.
+ * @return This builder for chaining.
*/
public Builder setProjectNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1314,19 +1416,21 @@ public Builder setProjectNameBytes(com.google.protobuf.ByteString value) {
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureGroupIdIsMutable() {
- if (!((bitField0_ & 0x00000002) != 0)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
groupId_ = new com.google.protobuf.LazyStringArrayList(groupId_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
/**
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return A list containing the groupId.
*/
public com.google.protobuf.ProtocolStringList getGroupIdList() {
return groupId_.getUnmodifiableView();
@@ -1335,10 +1439,12 @@ public com.google.protobuf.ProtocolStringList getGroupIdList() {
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The count of groupId.
*/
public int getGroupIdCount() {
return groupId_.size();
@@ -1347,10 +1453,13 @@ public int getGroupIdCount() {
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the element to return.
+ * @return The groupId at the given index.
*/
public java.lang.String getGroupId(int index) {
return groupId_.get(index);
@@ -1359,10 +1468,13 @@ public java.lang.String getGroupId(int index) {
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the groupId at the given index.
*/
public com.google.protobuf.ByteString getGroupIdBytes(int index) {
return groupId_.getByteString(index);
@@ -1371,10 +1483,14 @@ public com.google.protobuf.ByteString getGroupIdBytes(int index) {
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index to set the value at.
+ * @param value The groupId to set.
+ * @return This builder for chaining.
*/
public Builder setGroupId(int index, java.lang.String value) {
if (value == null) {
@@ -1389,10 +1505,13 @@ public Builder setGroupId(int index, java.lang.String value) {
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The groupId to add.
+ * @return This builder for chaining.
*/
public Builder addGroupId(java.lang.String value) {
if (value == null) {
@@ -1407,10 +1526,13 @@ public Builder addGroupId(java.lang.String value) {
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param values The groupId to add.
+ * @return This builder for chaining.
*/
public Builder addAllGroupId(java.lang.Iterable values) {
ensureGroupIdIsMutable();
@@ -1422,14 +1544,16 @@ public Builder addAllGroupId(java.lang.Iterable values) {
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
*/
public Builder clearGroupId() {
groupId_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -1437,10 +1561,13 @@ public Builder clearGroupId() {
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes of the groupId to add.
+ * @return This builder for chaining.
*/
public Builder addGroupIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1463,13 +1590,16 @@ public Builder addGroupIdBytes(com.google.protobuf.ByteString value) {
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
+ *
+ * @return Whether the serviceFilter field is set.
*/
public boolean hasServiceFilter() {
return serviceFilterBuilder_ != null || serviceFilter_ != null;
@@ -1478,13 +1608,16 @@ public boolean hasServiceFilter() {
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
+ *
+ * @return The serviceFilter.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter getServiceFilter() {
if (serviceFilterBuilder_ == null) {
@@ -1500,12 +1633,13 @@ public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter getS
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setServiceFilter(
@@ -1526,12 +1660,13 @@ public Builder setServiceFilter(
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder setServiceFilter(
@@ -1550,12 +1685,13 @@ public Builder setServiceFilter(
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder mergeServiceFilter(
@@ -1581,12 +1717,13 @@ public Builder mergeServiceFilter(
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public Builder clearServiceFilter() {
@@ -1604,12 +1741,13 @@ public Builder clearServiceFilter() {
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter.Builder
@@ -1622,12 +1760,13 @@ public Builder clearServiceFilter() {
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilterOrBuilder
@@ -1645,12 +1784,13 @@ public Builder clearServiceFilter() {
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
private com.google.protobuf.SingleFieldBuilderV3<
@@ -1680,16 +1820,21 @@ public Builder clearServiceFilter() {
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the timeRange field is set.
*/
public boolean hasTimeRange() {
return timeRangeBuilder_ != null || timeRange_ != null;
@@ -1698,16 +1843,21 @@ public boolean hasTimeRange() {
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The timeRange.
*/
public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange getTimeRange() {
if (timeRangeBuilder_ == null) {
@@ -1722,16 +1872,19 @@ public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange getTimeRan
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder setTimeRange(
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange value) {
@@ -1751,16 +1904,19 @@ public Builder setTimeRange(
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder setTimeRange(
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Builder builderForValue) {
@@ -1777,16 +1933,19 @@ public Builder setTimeRange(
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder mergeTimeRange(
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange value) {
@@ -1810,16 +1969,19 @@ public Builder mergeTimeRange(
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder clearTimeRange() {
if (timeRangeBuilder_ == null) {
@@ -1836,16 +1998,19 @@ public Builder clearTimeRange() {
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Builder
getTimeRangeBuilder() {
@@ -1857,16 +2022,19 @@ public Builder clearTimeRange() {
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRangeOrBuilder
getTimeRangeOrBuilder() {
@@ -1882,16 +2050,19 @@ public Builder clearTimeRange() {
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange,
@@ -1920,11 +2091,15 @@ public Builder clearTimeRange() {
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the timedCountDuration field is set.
*/
public boolean hasTimedCountDuration() {
return timedCountDurationBuilder_ != null || timedCountDuration_ != null;
@@ -1933,11 +2108,15 @@ public boolean hasTimedCountDuration() {
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The timedCountDuration.
*/
public com.google.protobuf.Duration getTimedCountDuration() {
if (timedCountDurationBuilder_ == null) {
@@ -1952,11 +2131,13 @@ public com.google.protobuf.Duration getTimedCountDuration() {
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder setTimedCountDuration(com.google.protobuf.Duration value) {
if (timedCountDurationBuilder_ == null) {
@@ -1975,11 +2156,13 @@ public Builder setTimedCountDuration(com.google.protobuf.Duration value) {
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder setTimedCountDuration(com.google.protobuf.Duration.Builder builderForValue) {
if (timedCountDurationBuilder_ == null) {
@@ -1995,11 +2178,13 @@ public Builder setTimedCountDuration(com.google.protobuf.Duration.Builder builde
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder mergeTimedCountDuration(com.google.protobuf.Duration value) {
if (timedCountDurationBuilder_ == null) {
@@ -2022,11 +2207,13 @@ public Builder mergeTimedCountDuration(com.google.protobuf.Duration value) {
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder clearTimedCountDuration() {
if (timedCountDurationBuilder_ == null) {
@@ -2043,11 +2230,13 @@ public Builder clearTimedCountDuration() {
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.protobuf.Duration.Builder getTimedCountDurationBuilder() {
@@ -2058,11 +2247,13 @@ public com.google.protobuf.Duration.Builder getTimedCountDurationBuilder() {
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.protobuf.DurationOrBuilder getTimedCountDurationOrBuilder() {
if (timedCountDurationBuilder_ != null) {
@@ -2077,11 +2268,13 @@ public com.google.protobuf.DurationOrBuilder getTimedCountDurationOrBuilder() {
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration,
@@ -2105,11 +2298,15 @@ public com.google.protobuf.DurationOrBuilder getTimedCountDurationOrBuilder() {
*
*
*
- * [Optional] The alignment of the timed counts to be returned.
+ * Optional. The alignment of the timed counts to be returned.
* Default is `ALIGNMENT_EQUAL_AT_END`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for alignment.
*/
public int getAlignmentValue() {
return alignment_;
@@ -2118,11 +2315,16 @@ public int getAlignmentValue() {
*
*
*
- * [Optional] The alignment of the timed counts to be returned.
+ * Optional. The alignment of the timed counts to be returned.
* Default is `ALIGNMENT_EQUAL_AT_END`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The enum numeric value on the wire for alignment to set.
+ * @return This builder for chaining.
*/
public Builder setAlignmentValue(int value) {
alignment_ = value;
@@ -2133,11 +2335,15 @@ public Builder setAlignmentValue(int value) {
*
*
*
- * [Optional] The alignment of the timed counts to be returned.
+ * Optional. The alignment of the timed counts to be returned.
* Default is `ALIGNMENT_EQUAL_AT_END`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The alignment.
*/
public com.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment getAlignment() {
@SuppressWarnings("deprecation")
@@ -2151,11 +2357,16 @@ public com.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment getAl
*
*
*
- * [Optional] The alignment of the timed counts to be returned.
+ * Optional. The alignment of the timed counts to be returned.
* Default is `ALIGNMENT_EQUAL_AT_END`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The alignment to set.
+ * @return This builder for chaining.
*/
public Builder setAlignment(
com.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment value) {
@@ -2171,11 +2382,15 @@ public Builder setAlignment(
*
*
*
- * [Optional] The alignment of the timed counts to be returned.
+ * Optional. The alignment of the timed counts to be returned.
* Default is `ALIGNMENT_EQUAL_AT_END`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return This builder for chaining.
*/
public Builder clearAlignment() {
@@ -2194,11 +2409,15 @@ public Builder clearAlignment() {
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ *
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the alignmentTime field is set.
*/
public boolean hasAlignmentTime() {
return alignmentTimeBuilder_ != null || alignmentTime_ != null;
@@ -2207,11 +2426,15 @@ public boolean hasAlignmentTime() {
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ *
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The alignmentTime.
*/
public com.google.protobuf.Timestamp getAlignmentTime() {
if (alignmentTimeBuilder_ == null) {
@@ -2226,11 +2449,13 @@ public com.google.protobuf.Timestamp getAlignmentTime() {
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ *
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder setAlignmentTime(com.google.protobuf.Timestamp value) {
if (alignmentTimeBuilder_ == null) {
@@ -2249,11 +2474,13 @@ public Builder setAlignmentTime(com.google.protobuf.Timestamp value) {
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ *
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder setAlignmentTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (alignmentTimeBuilder_ == null) {
@@ -2269,11 +2496,13 @@ public Builder setAlignmentTime(com.google.protobuf.Timestamp.Builder builderFor
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ *
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder mergeAlignmentTime(com.google.protobuf.Timestamp value) {
if (alignmentTimeBuilder_ == null) {
@@ -2296,11 +2525,13 @@ public Builder mergeAlignmentTime(com.google.protobuf.Timestamp value) {
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ *
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder clearAlignmentTime() {
if (alignmentTimeBuilder_ == null) {
@@ -2317,11 +2548,13 @@ public Builder clearAlignmentTime() {
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ *
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.protobuf.Timestamp.Builder getAlignmentTimeBuilder() {
@@ -2332,11 +2565,13 @@ public com.google.protobuf.Timestamp.Builder getAlignmentTimeBuilder() {
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ *
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.protobuf.TimestampOrBuilder getAlignmentTimeOrBuilder() {
if (alignmentTimeBuilder_ != null) {
@@ -2351,11 +2586,13 @@ public com.google.protobuf.TimestampOrBuilder getAlignmentTimeOrBuilder() {
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ *
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp,
@@ -2379,11 +2616,15 @@ public com.google.protobuf.TimestampOrBuilder getAlignmentTimeOrBuilder() {
*
*
*
- * [Optional] The sort order in which the results are returned.
+ * Optional. The sort order in which the results are returned.
* Default is `COUNT_DESC`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for order.
*/
public int getOrderValue() {
return order_;
@@ -2392,11 +2633,16 @@ public int getOrderValue() {
*
*
*
- * [Optional] The sort order in which the results are returned.
+ * Optional. The sort order in which the results are returned.
* Default is `COUNT_DESC`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The enum numeric value on the wire for order to set.
+ * @return This builder for chaining.
*/
public Builder setOrderValue(int value) {
order_ = value;
@@ -2407,11 +2653,15 @@ public Builder setOrderValue(int value) {
*
*
*
- * [Optional] The sort order in which the results are returned.
+ * Optional. The sort order in which the results are returned.
* Default is `COUNT_DESC`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The order.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder getOrder() {
@SuppressWarnings("deprecation")
@@ -2425,11 +2675,16 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder getOrder(
*
*
*
- * [Optional] The sort order in which the results are returned.
+ * Optional. The sort order in which the results are returned.
* Default is `COUNT_DESC`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @param value The order to set.
+ * @return This builder for chaining.
*/
public Builder setOrder(com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder value) {
if (value == null) {
@@ -2444,11 +2699,15 @@ public Builder setOrder(com.google.devtools.clouderrorreporting.v1beta1.ErrorGro
*
*
*
- * [Optional] The sort order in which the results are returned.
+ * Optional. The sort order in which the results are returned.
* Default is `COUNT_DESC`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return This builder for chaining.
*/
public Builder clearOrder() {
@@ -2462,11 +2721,13 @@ public Builder clearOrder() {
*
*
*
- * [Optional] The maximum number of results to return per response.
+ * Optional. The maximum number of results to return per response.
* Default is 20.
*
*
- * int32 page_size = 11;
+ * int32 page_size = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
*/
public int getPageSize() {
return pageSize_;
@@ -2475,11 +2736,14 @@ public int getPageSize() {
*
*
*
- * [Optional] The maximum number of results to return per response.
+ * Optional. The maximum number of results to return per response.
* Default is 20.
*
*
- * int32 page_size = 11;
+ * int32 page_size = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The pageSize to set.
+ * @return This builder for chaining.
*/
public Builder setPageSize(int value) {
@@ -2491,11 +2755,13 @@ public Builder setPageSize(int value) {
*
*
*
- * [Optional] The maximum number of results to return per response.
+ * Optional. The maximum number of results to return per response.
* Default is 20.
*
*
- * int32 page_size = 11;
+ * int32 page_size = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageSize() {
@@ -2509,12 +2775,14 @@ public Builder clearPageSize() {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response. To view
+ * Optional. A `next_page_token` provided by a previous response. To view
* additional results, pass this token along with the identical query
* parameters as the first request.
*
*
- * string page_token = 12;
+ * string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
*/
public java.lang.String getPageToken() {
java.lang.Object ref = pageToken_;
@@ -2531,12 +2799,14 @@ public java.lang.String getPageToken() {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response. To view
+ * Optional. A `next_page_token` provided by a previous response. To view
* additional results, pass this token along with the identical query
* parameters as the first request.
*
*
- * string page_token = 12;
+ * string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
*/
public com.google.protobuf.ByteString getPageTokenBytes() {
java.lang.Object ref = pageToken_;
@@ -2553,12 +2823,15 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response. To view
+ * Optional. A `next_page_token` provided by a previous response. To view
* additional results, pass this token along with the identical query
* parameters as the first request.
*
*
- * string page_token = 12;
+ * string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageToken(java.lang.String value) {
if (value == null) {
@@ -2573,12 +2846,14 @@ public Builder setPageToken(java.lang.String value) {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response. To view
+ * Optional. A `next_page_token` provided by a previous response. To view
* additional results, pass this token along with the identical query
* parameters as the first request.
*
*
- * string page_token = 12;
+ * string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
*/
public Builder clearPageToken() {
@@ -2590,12 +2865,15 @@ public Builder clearPageToken() {
*
*
*
- * [Optional] A `next_page_token` provided by a previous response. To view
+ * Optional. A `next_page_token` provided by a previous response. To view
* additional results, pass this token along with the identical query
* parameters as the first request.
*
*
- * string page_token = 12;
+ * string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for pageToken to set.
+ * @return This builder for chaining.
*/
public Builder setPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequestOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequestOrBuilder.java
index 4b3b8907..e28dc413 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequestOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequestOrBuilder.java
@@ -27,28 +27,36 @@ public interface ListGroupStatsRequestOrBuilder
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as <code>projects/</code> plus the
* <a href="https://support.google.com/cloud/answer/6158840">Google Cloud
* Platform project ID</a>.
* Example: <code>projects/my-project-123</code>.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The projectName.
*/
java.lang.String getProjectName();
/**
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as <code>projects/</code> plus the
* <a href="https://support.google.com/cloud/answer/6158840">Google Cloud
* Platform project ID</a>.
* Example: <code>projects/my-project-123</code>.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for projectName.
*/
com.google.protobuf.ByteString getProjectNameBytes();
@@ -56,40 +64,50 @@ public interface ListGroupStatsRequestOrBuilder
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return A list containing the groupId.
*/
java.util.List getGroupIdList();
/**
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The count of groupId.
*/
int getGroupIdCount();
/**
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the element to return.
+ * @return The groupId at the given index.
*/
java.lang.String getGroupId(int index);
/**
*
*
*
- * [Optional] List all <code>ErrorGroupStats</code> with these IDs.
+ * Optional. List all <code>ErrorGroupStats</code> with these IDs.
*
*
- * repeated string group_id = 2;
+ * repeated string group_id = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param index The index of the value to return.
+ * @return The bytes of the groupId at the given index.
*/
com.google.protobuf.ByteString getGroupIdBytes(int index);
@@ -97,38 +115,45 @@ public interface ListGroupStatsRequestOrBuilder
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
+ *
+ * @return Whether the serviceFilter field is set.
*/
boolean hasServiceFilter();
/**
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
+ *
+ * @return The serviceFilter.
*/
com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter getServiceFilter();
/**
*
*
*
- * [Optional] List only <code>ErrorGroupStats</code> which belong to a service
+ * Optional. List only <code>ErrorGroupStats</code> which belong to a service
* context that matches the filter.
* Data for all service contexts is returned if this field is not specified.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContextFilter service_filter = 3 [(.google.api.field_behavior) = OPTIONAL];
*
*/
com.google.devtools.clouderrorreporting.v1beta1.ServiceContextFilterOrBuilder
@@ -138,48 +163,61 @@ public interface ListGroupStatsRequestOrBuilder
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the timeRange field is set.
*/
boolean hasTimeRange();
/**
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The timeRange.
*/
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange getTimeRange();
/**
*
*
*
- * [Optional] List data for the given time range.
- * If not set a default time range is used. The field time_range_begin
- * in the response will specify the beginning of this time range.
+ * Optional. List data for the given time range.
+ * If not set, a default time range is used. The field
+ * <code>time_range_begin</code> in the response will specify the beginning
+ * of this time range.
* Only <code>ErrorGroupStats</code> with a non-zero count in the given time
- * range are returned, unless the request contains an explicit group_id list.
- * If a group_id list is given, also <code>ErrorGroupStats</code> with zero
- * occurrences are returned.
+ * range are returned, unless the request contains an explicit
+ * <code>group_id</code> list. If a <code>group_id</code> list is given, also
+ * <code>ErrorGroupStats</code> with zero occurrences are returned.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange time_range = 5 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRangeOrBuilder getTimeRangeOrBuilder();
@@ -187,33 +225,43 @@ public interface ListGroupStatsRequestOrBuilder
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the timedCountDuration field is set.
*/
boolean hasTimedCountDuration();
/**
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The timedCountDuration.
*/
com.google.protobuf.Duration getTimedCountDuration();
/**
*
*
*
- * [Optional] The preferred duration for a single returned `TimedCount`.
+ * Optional. The preferred duration for a single returned `TimedCount`.
* If not set, no timed counts are returned.
*
*
- * .google.protobuf.Duration timed_count_duration = 6;
+ *
+ * .google.protobuf.Duration timed_count_duration = 6 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
com.google.protobuf.DurationOrBuilder getTimedCountDurationOrBuilder();
@@ -221,22 +269,30 @@ public interface ListGroupStatsRequestOrBuilder
*
*
*
- * [Optional] The alignment of the timed counts to be returned.
+ * Optional. The alignment of the timed counts to be returned.
* Default is `ALIGNMENT_EQUAL_AT_END`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for alignment.
*/
int getAlignmentValue();
/**
*
*
*
- * [Optional] The alignment of the timed counts to be returned.
+ * Optional. The alignment of the timed counts to be returned.
* Default is `ALIGNMENT_EQUAL_AT_END`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment alignment = 7 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The alignment.
*/
com.google.devtools.clouderrorreporting.v1beta1.TimedCountAlignment getAlignment();
@@ -244,33 +300,40 @@ public interface ListGroupStatsRequestOrBuilder
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the alignmentTime field is set.
*/
boolean hasAlignmentTime();
/**
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The alignmentTime.
*/
com.google.protobuf.Timestamp getAlignmentTime();
/**
*
*
*
- * [Optional] Time where the timed counts shall be aligned if rounded
+ * Optional. Time where the timed counts shall be aligned if rounded
* alignment is chosen. Default is 00:00 UTC.
*
*
- * .google.protobuf.Timestamp alignment_time = 8;
+ * .google.protobuf.Timestamp alignment_time = 8 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
com.google.protobuf.TimestampOrBuilder getAlignmentTimeOrBuilder();
@@ -278,22 +341,30 @@ public interface ListGroupStatsRequestOrBuilder
*
*
*
- * [Optional] The sort order in which the results are returned.
+ * Optional. The sort order in which the results are returned.
* Default is `COUNT_DESC`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The enum numeric value on the wire for order.
*/
int getOrderValue();
/**
*
*
*
- * [Optional] The sort order in which the results are returned.
+ * Optional. The sort order in which the results are returned.
* Default is `COUNT_DESC`.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder order = 9 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The order.
*/
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrder getOrder();
@@ -301,11 +372,13 @@ public interface ListGroupStatsRequestOrBuilder
*
*
*
- * [Optional] The maximum number of results to return per response.
+ * Optional. The maximum number of results to return per response.
* Default is 20.
*
*
- * int32 page_size = 11;
+ * int32 page_size = 11 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageSize.
*/
int getPageSize();
@@ -313,24 +386,28 @@ public interface ListGroupStatsRequestOrBuilder
*
*
*
- * [Optional] A `next_page_token` provided by a previous response. To view
+ * Optional. A `next_page_token` provided by a previous response. To view
* additional results, pass this token along with the identical query
* parameters as the first request.
*
*
- * string page_token = 12;
+ * string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The pageToken.
*/
java.lang.String getPageToken();
/**
*
*
*
- * [Optional] A `next_page_token` provided by a previous response. To view
+ * Optional. A `next_page_token` provided by a previous response. To view
* additional results, pass this token along with the identical query
* parameters as the first request.
*
*
- * string page_token = 12;
+ * string page_token = 12 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for pageToken.
*/
com.google.protobuf.ByteString getPageTokenBytes();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponse.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponse.java
index 477e7028..bda4d975 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponse.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponse.java
@@ -42,6 +42,12 @@ private ListGroupStatsResponse() {
nextPageToken_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ListGroupStatsResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -139,7 +145,6 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse.Builder.class);
}
- private int bitField0_;
public static final int ERROR_GROUP_STATS_FIELD_NUMBER = 1;
private java.util.List
errorGroupStats_;
@@ -231,6 +236,8 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupStats getErrorG
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -253,6 +260,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -279,6 +288,8 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* .google.protobuf.Timestamp time_range_begin = 4;
+ *
+ * @return Whether the timeRangeBegin field is set.
*/
public boolean hasTimeRangeBegin() {
return timeRangeBegin_ != null;
@@ -294,6 +305,8 @@ public boolean hasTimeRangeBegin() {
*
*
* .google.protobuf.Timestamp time_range_begin = 4;
+ *
+ * @return The timeRangeBegin.
*/
public com.google.protobuf.Timestamp getTimeRangeBegin() {
return timeRangeBegin_ == null
@@ -595,7 +608,6 @@ public com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse bu
com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse result =
new com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse(this);
int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
if (errorGroupStatsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
errorGroupStats_ = java.util.Collections.unmodifiableList(errorGroupStats_);
@@ -611,7 +623,6 @@ public com.google.devtools.clouderrorreporting.v1beta1.ListGroupStatsResponse bu
} else {
result.timeRangeBegin_ = timeRangeBeginBuilder_.build();
}
- result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
@@ -1151,6 +1162,8 @@ public Builder removeErrorGroupStats(int index) {
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
public java.lang.String getNextPageToken() {
java.lang.Object ref = nextPageToken_;
@@ -1173,6 +1186,8 @@ public java.lang.String getNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
public com.google.protobuf.ByteString getNextPageTokenBytes() {
java.lang.Object ref = nextPageToken_;
@@ -1195,6 +1210,9 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageToken(java.lang.String value) {
if (value == null) {
@@ -1215,6 +1233,8 @@ public Builder setNextPageToken(java.lang.String value) {
*
*
* string next_page_token = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearNextPageToken() {
@@ -1232,6 +1252,9 @@ public Builder clearNextPageToken() {
*
*
* string next_page_token = 2;
+ *
+ * @param value The bytes for nextPageToken to set.
+ * @return This builder for chaining.
*/
public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1261,6 +1284,8 @@ public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) {
*
*
* .google.protobuf.Timestamp time_range_begin = 4;
+ *
+ * @return Whether the timeRangeBegin field is set.
*/
public boolean hasTimeRangeBegin() {
return timeRangeBeginBuilder_ != null || timeRangeBegin_ != null;
@@ -1276,6 +1301,8 @@ public boolean hasTimeRangeBegin() {
*
*
* .google.protobuf.Timestamp time_range_begin = 4;
+ *
+ * @return The timeRangeBegin.
*/
public com.google.protobuf.Timestamp getTimeRangeBegin() {
if (timeRangeBeginBuilder_ == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponseOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponseOrBuilder.java
index 539c7c5b..2ce3c68a 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponseOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponseOrBuilder.java
@@ -97,6 +97,8 @@ public interface ListGroupStatsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The nextPageToken.
*/
java.lang.String getNextPageToken();
/**
@@ -109,6 +111,8 @@ public interface ListGroupStatsResponseOrBuilder
*
*
* string next_page_token = 2;
+ *
+ * @return The bytes for nextPageToken.
*/
com.google.protobuf.ByteString getNextPageTokenBytes();
@@ -123,6 +127,8 @@ public interface ListGroupStatsResponseOrBuilder
*
*
* .google.protobuf.Timestamp time_range_begin = 4;
+ *
+ * @return Whether the timeRangeBegin field is set.
*/
boolean hasTimeRangeBegin();
/**
@@ -136,6 +142,8 @@ public interface ListGroupStatsResponseOrBuilder
*
*
* .google.protobuf.Timestamp time_range_begin = 4;
+ *
+ * @return The timeRangeBegin.
*/
com.google.protobuf.Timestamp getTimeRangeBegin();
/**
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ProjectName.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ProjectName.java
index ff4b9fc8..033ba640 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ProjectName.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ProjectName.java
@@ -24,7 +24,7 @@
import java.util.List;
import java.util.Map;
-// AUTO-GENERATED DOCUMENTATION AND CLASS
+/** AUTO-GENERATED DOCUMENTATION AND CLASS */
@javax.annotation.Generated("by GAPIC protoc plugin")
public class ProjectName implements ResourceName {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRange.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRange.java
index f65890e3..f8572bf9 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRange.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRange.java
@@ -42,6 +42,12 @@ private QueryTimeRange() {
period_ = 0;
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new QueryTimeRange();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -55,7 +61,6 @@ private QueryTimeRange(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -259,12 +264,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static Period valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static Period forNumber(int value) {
switch (value) {
case 0:
@@ -340,6 +353,8 @@ private Period(int value) {
*
*
* .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;
+ *
+ * @return The enum numeric value on the wire for period.
*/
public int getPeriodValue() {
return period_;
@@ -352,6 +367,8 @@ public int getPeriodValue() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;
+ *
+ * @return The period.
*/
public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period getPeriod() {
@SuppressWarnings("deprecation")
@@ -697,6 +714,8 @@ public Builder mergeFrom(
*
*
* .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;
+ *
+ * @return The enum numeric value on the wire for period.
*/
public int getPeriodValue() {
return period_;
@@ -709,6 +728,9 @@ public int getPeriodValue() {
*
*
* .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;
+ *
+ * @param value The enum numeric value on the wire for period to set.
+ * @return This builder for chaining.
*/
public Builder setPeriodValue(int value) {
period_ = value;
@@ -723,6 +745,8 @@ public Builder setPeriodValue(int value) {
*
*
* .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;
+ *
+ * @return The period.
*/
public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period getPeriod() {
@SuppressWarnings("deprecation")
@@ -740,6 +764,9 @@ public com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period get
*
*
* .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;
+ *
+ * @param value The period to set.
+ * @return This builder for chaining.
*/
public Builder setPeriod(
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period value) {
@@ -759,6 +786,8 @@ public Builder setPeriod(
*
*
* .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearPeriod() {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRangeOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRangeOrBuilder.java
index 5fff51ad..33728798 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRangeOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRangeOrBuilder.java
@@ -31,6 +31,8 @@ public interface QueryTimeRangeOrBuilder
*
*
* .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;
+ *
+ * @return The enum numeric value on the wire for period.
*/
int getPeriodValue();
/**
@@ -41,6 +43,8 @@ public interface QueryTimeRangeOrBuilder
*
*
* .google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period period = 1;
+ *
+ * @return The period.
*/
com.google.devtools.clouderrorreporting.v1beta1.QueryTimeRange.Period getPeriod();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java
index 2fe72df4..1d2a238d 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java
@@ -41,6 +41,12 @@ private ReportErrorEventRequest() {
projectName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReportErrorEventRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private ReportErrorEventRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -130,14 +135,18 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840). Example:
* `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The projectName.
*/
public java.lang.String getProjectName() {
java.lang.Object ref = projectName_;
@@ -154,14 +163,18 @@ public java.lang.String getProjectName() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840). Example:
* `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for projectName.
*/
public com.google.protobuf.ByteString getProjectNameBytes() {
java.lang.Object ref = projectName_;
@@ -181,10 +194,14 @@ public com.google.protobuf.ByteString getProjectNameBytes() {
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the event field is set.
*/
public boolean hasEvent() {
return event_ != null;
@@ -193,10 +210,14 @@ public boolean hasEvent() {
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The event.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent getEvent() {
return event_ == null
@@ -207,10 +228,12 @@ public com.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent getEve
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEventOrBuilder
getEventOrBuilder() {
@@ -580,14 +603,18 @@ public Builder mergeFrom(
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840). Example:
* `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The projectName.
*/
public java.lang.String getProjectName() {
java.lang.Object ref = projectName_;
@@ -604,14 +631,18 @@ public java.lang.String getProjectName() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840). Example:
* `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for projectName.
*/
public com.google.protobuf.ByteString getProjectNameBytes() {
java.lang.Object ref = projectName_;
@@ -628,14 +659,19 @@ public com.google.protobuf.ByteString getProjectNameBytes() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840). Example:
* `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The projectName to set.
+ * @return This builder for chaining.
*/
public Builder setProjectName(java.lang.String value) {
if (value == null) {
@@ -650,14 +686,18 @@ public Builder setProjectName(java.lang.String value) {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840). Example:
* `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return This builder for chaining.
*/
public Builder clearProjectName() {
@@ -669,14 +709,19 @@ public Builder clearProjectName() {
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840). Example:
* `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @param value The bytes for projectName to set.
+ * @return This builder for chaining.
*/
public Builder setProjectNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -699,10 +744,14 @@ public Builder setProjectNameBytes(com.google.protobuf.ByteString value) {
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the event field is set.
*/
public boolean hasEvent() {
return eventBuilder_ != null || event_ != null;
@@ -711,10 +760,14 @@ public boolean hasEvent() {
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The event.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent getEvent() {
if (eventBuilder_ == null) {
@@ -730,10 +783,12 @@ public com.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent getEve
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setEvent(
com.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent value) {
@@ -753,10 +808,12 @@ public Builder setEvent(
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setEvent(
com.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent.Builder
@@ -774,10 +831,12 @@ public Builder setEvent(
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder mergeEvent(
com.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent value) {
@@ -801,10 +860,12 @@ public Builder mergeEvent(
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder clearEvent() {
if (eventBuilder_ == null) {
@@ -821,10 +882,12 @@ public Builder clearEvent() {
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent.Builder
getEventBuilder() {
@@ -836,10 +899,12 @@ public Builder clearEvent() {
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEventOrBuilder
getEventOrBuilder() {
@@ -856,10 +921,12 @@ public Builder clearEvent() {
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent,
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequestOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequestOrBuilder.java
index c2c596ce..7d946648 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequestOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequestOrBuilder.java
@@ -27,28 +27,36 @@ public interface ReportErrorEventRequestOrBuilder
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840). Example:
* `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The projectName.
*/
java.lang.String getProjectName();
/**
*
*
*
- * [Required] The resource name of the Google Cloud Platform project. Written
+ * Required. The resource name of the Google Cloud Platform project. Written
* as `projects/` plus the
* [Google Cloud Platform project
* ID](https://support.google.com/cloud/answer/6158840). Example:
* `projects/my-project-123`.
*
*
- * string project_name = 1;
+ *
+ * string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
+ *
+ *
+ * @return The bytes for projectName.
*/
com.google.protobuf.ByteString getProjectNameBytes();
@@ -56,30 +64,40 @@ public interface ReportErrorEventRequestOrBuilder
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the event field is set.
*/
boolean hasEvent();
/**
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The event.
*/
com.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent getEvent();
/**
*
*
*
- * [Required] The error event to be reported.
+ * Required. The error event to be reported.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
com.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEventOrBuilder getEventOrBuilder();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventResponse.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventResponse.java
index 83a990ac..c60bbec6 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventResponse.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventResponse.java
@@ -40,6 +40,12 @@ private ReportErrorEventResponse(com.google.protobuf.GeneratedMessageV3.Builder<
private ReportErrorEventResponse() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReportErrorEventResponse();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceProto.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceProto.java
index 245a4d6e..1d875211 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceProto.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceProto.java
@@ -51,49 +51,51 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
"\nGgoogle/devtools/clouderrorreporting/v1"
+ "beta1/report_errors_service.proto\022+googl"
+ "e.devtools.clouderrorreporting.v1beta1\032\034"
- + "google/api/annotations.proto\0328google/dev"
- + "tools/clouderrorreporting/v1beta1/common"
- + ".proto\032\037google/protobuf/timestamp.proto\""
- + "\177\n\027ReportErrorEventRequest\022\024\n\014project_na"
- + "me\030\001 \001(\t\022N\n\005event\030\002 \001(\0132?.google.devtool"
- + "s.clouderrorreporting.v1beta1.ReportedEr"
- + "rorEvent\"\032\n\030ReportErrorEventResponse\"\367\001\n"
- + "\022ReportedErrorEvent\022.\n\nevent_time\030\001 \001(\0132"
- + "\032.google.protobuf.Timestamp\022T\n\017service_c"
- + "ontext\030\002 \001(\0132;.google.devtools.clouderro"
- + "rreporting.v1beta1.ServiceContext\022\017\n\007mes"
- + "sage\030\003 \001(\t\022J\n\007context\030\004 \001(\01329.google.dev"
- + "tools.clouderrorreporting.v1beta1.ErrorC"
- + "ontext2\370\001\n\023ReportErrorsService\022\340\001\n\020Repor"
- + "tErrorEvent\022D.google.devtools.clouderror"
- + "reporting.v1beta1.ReportErrorEventReques"
- + "t\032E.google.devtools.clouderrorreporting."
- + "v1beta1.ReportErrorEventResponse\"?\202\323\344\223\0029"
- + "\"0/v1beta1/{project_name=projects/*}/eve"
- + "nts:report:\005eventB\371\001\n/com.google.devtool"
- + "s.clouderrorreporting.v1beta1B\030ReportErr"
- + "orsServiceProtoP\001Z^google.golang.org/gen"
- + "proto/googleapis/devtools/clouderrorrepo"
- + "rting/v1beta1;clouderrorreporting\252\002#Goog"
- + "le.Cloud.ErrorReporting.V1Beta1\312\002#Google"
- + "\\Cloud\\ErrorReporting\\V1beta1b\006proto3"
+ + "google/api/annotations.proto\032\027google/api"
+ + "/client.proto\032\037google/api/field_behavior"
+ + ".proto\032\031google/api/resource.proto\0328googl"
+ + "e/devtools/clouderrorreporting/v1beta1/c"
+ + "ommon.proto\032\037google/protobuf/timestamp.p"
+ + "roto\"\271\001\n\027ReportErrorEventRequest\022I\n\014proj"
+ + "ect_name\030\001 \001(\tB3\340A\002\372A-\n+cloudresourceman"
+ + "ager.googleapis.com/Project\022S\n\005event\030\002 \001"
+ + "(\0132?.google.devtools.clouderrorreporting"
+ + ".v1beta1.ReportedErrorEventB\003\340A\002\"\032\n\030Repo"
+ + "rtErrorEventResponse\"\213\002\n\022ReportedErrorEv"
+ + "ent\0223\n\nevent_time\030\001 \001(\0132\032.google.protobu"
+ + "f.TimestampB\003\340A\001\022Y\n\017service_context\030\002 \001("
+ + "\0132;.google.devtools.clouderrorreporting."
+ + "v1beta1.ServiceContextB\003\340A\002\022\024\n\007message\030\003"
+ + " \001(\tB\003\340A\002\022O\n\007context\030\004 \001(\01329.google.devt"
+ + "ools.clouderrorreporting.v1beta1.ErrorCo"
+ + "ntextB\003\340A\0012\345\002\n\023ReportErrorsService\022\365\001\n\020R"
+ + "eportErrorEvent\022D.google.devtools.cloude"
+ + "rrorreporting.v1beta1.ReportErrorEventRe"
+ + "quest\032E.google.devtools.clouderrorreport"
+ + "ing.v1beta1.ReportErrorEventResponse\"T\202\323"
+ + "\344\223\0029\"0/v1beta1/{project_name=projects/*}"
+ + "/events:report:\005event\332A\022project_name,eve"
+ + "nt\032V\312A\"clouderrorreporting.googleapis.co"
+ + "m\322A.https://www.googleapis.com/auth/clou"
+ + "d-platformB\374\001\n/com.google.devtools.cloud"
+ + "errorreporting.v1beta1B\030ReportErrorsServ"
+ + "iceProtoP\001Z^google.golang.org/genproto/g"
+ + "oogleapis/devtools/clouderrorreporting/v"
+ + "1beta1;clouderrorreporting\370\001\001\252\002#Google.C"
+ + "loud.ErrorReporting.V1Beta1\312\002#Google\\Clo"
+ + "ud\\ErrorReporting\\V1beta1b\006proto3"
};
- com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
- new com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
- public com.google.protobuf.ExtensionRegistry assignDescriptors(
- com.google.protobuf.Descriptors.FileDescriptor root) {
- descriptor = root;
- return null;
- }
- };
- com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
- descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- com.google.api.AnnotationsProto.getDescriptor(),
- com.google.devtools.clouderrorreporting.v1beta1.CommonProto.getDescriptor(),
- com.google.protobuf.TimestampProto.getDescriptor(),
- },
- assigner);
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData,
+ new com.google.protobuf.Descriptors.FileDescriptor[] {
+ com.google.api.AnnotationsProto.getDescriptor(),
+ com.google.api.ClientProto.getDescriptor(),
+ com.google.api.FieldBehaviorProto.getDescriptor(),
+ com.google.api.ResourceProto.getDescriptor(),
+ com.google.devtools.clouderrorreporting.v1beta1.CommonProto.getDescriptor(),
+ com.google.protobuf.TimestampProto.getDescriptor(),
+ });
internal_static_google_devtools_clouderrorreporting_v1beta1_ReportErrorEventRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_devtools_clouderrorreporting_v1beta1_ReportErrorEventRequest_fieldAccessorTable =
@@ -118,10 +120,18 @@ public com.google.protobuf.ExtensionRegistry assignDescriptors(
});
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
+ registry.add(com.google.api.ClientProto.defaultHost);
+ registry.add(com.google.api.FieldBehaviorProto.fieldBehavior);
registry.add(com.google.api.AnnotationsProto.http);
+ registry.add(com.google.api.ClientProto.methodSignature);
+ registry.add(com.google.api.ClientProto.oauthScopes);
+ registry.add(com.google.api.ResourceProto.resourceReference);
com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor(
descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
+ com.google.api.ClientProto.getDescriptor();
+ com.google.api.FieldBehaviorProto.getDescriptor();
+ com.google.api.ResourceProto.getDescriptor();
com.google.devtools.clouderrorreporting.v1beta1.CommonProto.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEvent.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEvent.java
index bcf1e235..33dc69eb 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEvent.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEvent.java
@@ -41,6 +41,12 @@ private ReportedErrorEvent() {
message_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ReportedErrorEvent();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private ReportedErrorEvent(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -163,12 +168,15 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the eventTime field is set.
*/
public boolean hasEventTime() {
return eventTime_ != null;
@@ -177,12 +185,15 @@ public boolean hasEventTime() {
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The eventTime.
*/
public com.google.protobuf.Timestamp getEventTime() {
return eventTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : eventTime_;
@@ -191,12 +202,13 @@ public com.google.protobuf.Timestamp getEventTime() {
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
return getEventTime();
@@ -208,10 +220,14 @@ public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the serviceContext field is set.
*/
public boolean hasServiceContext() {
return serviceContext_ != null;
@@ -220,10 +236,14 @@ public boolean hasServiceContext() {
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The serviceContext.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContext getServiceContext() {
return serviceContext_ == null
@@ -234,10 +254,12 @@ public com.google.devtools.clouderrorreporting.v1beta1.ServiceContext getService
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextOrBuilder
getServiceContextOrBuilder() {
@@ -250,13 +272,34 @@ public com.google.devtools.clouderrorreporting.v1beta1.ServiceContext getService
*
*
*
- * [Required] A message describing the error. The message can contain an
- * exception stack in one of the supported programming languages and formats.
- * In that case, the message is parsed and detailed exception information
- * is returned when retrieving the error event again.
+ * Required. The error message.
+ * If no `context.reportLocation` is provided, the message must contain a
+ * header (typically consisting of the exception type name and an error
+ * message) and an exception stack trace in one of the supported programming
+ * languages and formats.
+ * Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
+ * Supported stack trace formats are:
+ * * **Java**: Must be the return value of
+ * [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).
+ * * **Python**: Must be the return value of
+ * [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).
+ * * **JavaScript**: Must be the value of
+ * [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned
+ * by V8.
+ * * **Ruby**: Must contain frames returned by
+ * [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
+ * * **C#**: Must be the return value of
+ * [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).
+ * * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
+ * and contain the result of
+ * [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).
+ * * **Go**: Must be the return value of
+ * [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
*
*
- * string message = 3;
+ * string message = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
@@ -273,13 +316,34 @@ public java.lang.String getMessage() {
*
*
*
- * [Required] A message describing the error. The message can contain an
- * exception stack in one of the supported programming languages and formats.
- * In that case, the message is parsed and detailed exception information
- * is returned when retrieving the error event again.
+ * Required. The error message.
+ * If no `context.reportLocation` is provided, the message must contain a
+ * header (typically consisting of the exception type name and an error
+ * message) and an exception stack trace in one of the supported programming
+ * languages and formats.
+ * Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
+ * Supported stack trace formats are:
+ * * **Java**: Must be the return value of
+ * [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).
+ * * **Python**: Must be the return value of
+ * [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).
+ * * **JavaScript**: Must be the value of
+ * [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned
+ * by V8.
+ * * **Ruby**: Must contain frames returned by
+ * [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
+ * * **C#**: Must be the return value of
+ * [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).
+ * * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
+ * and contain the result of
+ * [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).
+ * * **Go**: Must be the return value of
+ * [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
*
*
- * string message = 3;
+ * string message = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for message.
*/
public com.google.protobuf.ByteString getMessageBytes() {
java.lang.Object ref = message_;
@@ -299,10 +363,14 @@ public com.google.protobuf.ByteString getMessageBytes() {
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the context field is set.
*/
public boolean hasContext() {
return context_ != null;
@@ -311,10 +379,14 @@ public boolean hasContext() {
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The context.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorContext getContext() {
return context_ == null
@@ -325,10 +397,12 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorContext getContext()
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorContextOrBuilder
getContextOrBuilder() {
@@ -756,12 +830,15 @@ public Builder mergeFrom(
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the eventTime field is set.
*/
public boolean hasEventTime() {
return eventTimeBuilder_ != null || eventTime_ != null;
@@ -770,12 +847,15 @@ public boolean hasEventTime() {
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The eventTime.
*/
public com.google.protobuf.Timestamp getEventTime() {
if (eventTimeBuilder_ == null) {
@@ -788,12 +868,13 @@ public com.google.protobuf.Timestamp getEventTime() {
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder setEventTime(com.google.protobuf.Timestamp value) {
if (eventTimeBuilder_ == null) {
@@ -812,12 +893,13 @@ public Builder setEventTime(com.google.protobuf.Timestamp value) {
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValue) {
if (eventTimeBuilder_ == null) {
@@ -833,12 +915,13 @@ public Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValu
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder mergeEventTime(com.google.protobuf.Timestamp value) {
if (eventTimeBuilder_ == null) {
@@ -859,12 +942,13 @@ public Builder mergeEventTime(com.google.protobuf.Timestamp value) {
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder clearEventTime() {
if (eventTimeBuilder_ == null) {
@@ -881,12 +965,13 @@ public Builder clearEventTime() {
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.protobuf.Timestamp.Builder getEventTimeBuilder() {
@@ -897,12 +982,13 @@ public com.google.protobuf.Timestamp.Builder getEventTimeBuilder() {
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
if (eventTimeBuilder_ != null) {
@@ -915,12 +1001,13 @@ public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp,
@@ -949,10 +1036,14 @@ public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder() {
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the serviceContext field is set.
*/
public boolean hasServiceContext() {
return serviceContextBuilder_ != null || serviceContext_ != null;
@@ -961,10 +1052,14 @@ public boolean hasServiceContext() {
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The serviceContext.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContext getServiceContext() {
if (serviceContextBuilder_ == null) {
@@ -979,10 +1074,12 @@ public com.google.devtools.clouderrorreporting.v1beta1.ServiceContext getService
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setServiceContext(
com.google.devtools.clouderrorreporting.v1beta1.ServiceContext value) {
@@ -1002,10 +1099,12 @@ public Builder setServiceContext(
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setServiceContext(
com.google.devtools.clouderrorreporting.v1beta1.ServiceContext.Builder builderForValue) {
@@ -1022,10 +1121,12 @@ public Builder setServiceContext(
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder mergeServiceContext(
com.google.devtools.clouderrorreporting.v1beta1.ServiceContext value) {
@@ -1050,10 +1151,12 @@ public Builder mergeServiceContext(
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder clearServiceContext() {
if (serviceContextBuilder_ == null) {
@@ -1070,10 +1173,12 @@ public Builder clearServiceContext() {
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContext.Builder
getServiceContextBuilder() {
@@ -1085,10 +1190,12 @@ public Builder clearServiceContext() {
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.ServiceContextOrBuilder
getServiceContextOrBuilder() {
@@ -1104,10 +1211,12 @@ public Builder clearServiceContext() {
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.devtools.clouderrorreporting.v1beta1.ServiceContext,
@@ -1131,13 +1240,34 @@ public Builder clearServiceContext() {
*
*
*
- * [Required] A message describing the error. The message can contain an
- * exception stack in one of the supported programming languages and formats.
- * In that case, the message is parsed and detailed exception information
- * is returned when retrieving the error event again.
+ * Required. The error message.
+ * If no `context.reportLocation` is provided, the message must contain a
+ * header (typically consisting of the exception type name and an error
+ * message) and an exception stack trace in one of the supported programming
+ * languages and formats.
+ * Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
+ * Supported stack trace formats are:
+ * * **Java**: Must be the return value of
+ * [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).
+ * * **Python**: Must be the return value of
+ * [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).
+ * * **JavaScript**: Must be the value of
+ * [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned
+ * by V8.
+ * * **Ruby**: Must contain frames returned by
+ * [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
+ * * **C#**: Must be the return value of
+ * [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).
+ * * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
+ * and contain the result of
+ * [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).
+ * * **Go**: Must be the return value of
+ * [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
*
*
- * string message = 3;
+ * string message = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
@@ -1154,13 +1284,34 @@ public java.lang.String getMessage() {
*
*
*
- * [Required] A message describing the error. The message can contain an
- * exception stack in one of the supported programming languages and formats.
- * In that case, the message is parsed and detailed exception information
- * is returned when retrieving the error event again.
+ * Required. The error message.
+ * If no `context.reportLocation` is provided, the message must contain a
+ * header (typically consisting of the exception type name and an error
+ * message) and an exception stack trace in one of the supported programming
+ * languages and formats.
+ * Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
+ * Supported stack trace formats are:
+ * * **Java**: Must be the return value of
+ * [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).
+ * * **Python**: Must be the return value of
+ * [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).
+ * * **JavaScript**: Must be the value of
+ * [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned
+ * by V8.
+ * * **Ruby**: Must contain frames returned by
+ * [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
+ * * **C#**: Must be the return value of
+ * [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).
+ * * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
+ * and contain the result of
+ * [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).
+ * * **Go**: Must be the return value of
+ * [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
*
*
- * string message = 3;
+ * string message = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for message.
*/
public com.google.protobuf.ByteString getMessageBytes() {
java.lang.Object ref = message_;
@@ -1177,13 +1328,35 @@ public com.google.protobuf.ByteString getMessageBytes() {
*
*
*
- * [Required] A message describing the error. The message can contain an
- * exception stack in one of the supported programming languages and formats.
- * In that case, the message is parsed and detailed exception information
- * is returned when retrieving the error event again.
+ * Required. The error message.
+ * If no `context.reportLocation` is provided, the message must contain a
+ * header (typically consisting of the exception type name and an error
+ * message) and an exception stack trace in one of the supported programming
+ * languages and formats.
+ * Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
+ * Supported stack trace formats are:
+ * * **Java**: Must be the return value of
+ * [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).
+ * * **Python**: Must be the return value of
+ * [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).
+ * * **JavaScript**: Must be the value of
+ * [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned
+ * by V8.
+ * * **Ruby**: Must contain frames returned by
+ * [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
+ * * **C#**: Must be the return value of
+ * [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).
+ * * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
+ * and contain the result of
+ * [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).
+ * * **Go**: Must be the return value of
+ * [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
*
*
- * string message = 3;
+ * string message = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The message to set.
+ * @return This builder for chaining.
*/
public Builder setMessage(java.lang.String value) {
if (value == null) {
@@ -1198,13 +1371,34 @@ public Builder setMessage(java.lang.String value) {
*
*
*
- * [Required] A message describing the error. The message can contain an
- * exception stack in one of the supported programming languages and formats.
- * In that case, the message is parsed and detailed exception information
- * is returned when retrieving the error event again.
+ * Required. The error message.
+ * If no `context.reportLocation` is provided, the message must contain a
+ * header (typically consisting of the exception type name and an error
+ * message) and an exception stack trace in one of the supported programming
+ * languages and formats.
+ * Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
+ * Supported stack trace formats are:
+ * * **Java**: Must be the return value of
+ * [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).
+ * * **Python**: Must be the return value of
+ * [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).
+ * * **JavaScript**: Must be the value of
+ * [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned
+ * by V8.
+ * * **Ruby**: Must contain frames returned by
+ * [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
+ * * **C#**: Must be the return value of
+ * [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).
+ * * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
+ * and contain the result of
+ * [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).
+ * * **Go**: Must be the return value of
+ * [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
*
*
- * string message = 3;
+ * string message = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return This builder for chaining.
*/
public Builder clearMessage() {
@@ -1216,13 +1410,35 @@ public Builder clearMessage() {
*
*
*
- * [Required] A message describing the error. The message can contain an
- * exception stack in one of the supported programming languages and formats.
- * In that case, the message is parsed and detailed exception information
- * is returned when retrieving the error event again.
+ * Required. The error message.
+ * If no `context.reportLocation` is provided, the message must contain a
+ * header (typically consisting of the exception type name and an error
+ * message) and an exception stack trace in one of the supported programming
+ * languages and formats.
+ * Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
+ * Supported stack trace formats are:
+ * * **Java**: Must be the return value of
+ * [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).
+ * * **Python**: Must be the return value of
+ * [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).
+ * * **JavaScript**: Must be the value of
+ * [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned
+ * by V8.
+ * * **Ruby**: Must contain frames returned by
+ * [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
+ * * **C#**: Must be the return value of
+ * [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).
+ * * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
+ * and contain the result of
+ * [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).
+ * * **Go**: Must be the return value of
+ * [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
*
*
- * string message = 3;
+ * string message = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @param value The bytes for message to set.
+ * @return This builder for chaining.
*/
public Builder setMessageBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -1245,10 +1461,14 @@ public Builder setMessageBytes(com.google.protobuf.ByteString value) {
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the context field is set.
*/
public boolean hasContext() {
return contextBuilder_ != null || context_ != null;
@@ -1257,10 +1477,14 @@ public boolean hasContext() {
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The context.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorContext getContext() {
if (contextBuilder_ == null) {
@@ -1275,10 +1499,12 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorContext getContext()
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder setContext(com.google.devtools.clouderrorreporting.v1beta1.ErrorContext value) {
if (contextBuilder_ == null) {
@@ -1297,10 +1523,12 @@ public Builder setContext(com.google.devtools.clouderrorreporting.v1beta1.ErrorC
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder setContext(
com.google.devtools.clouderrorreporting.v1beta1.ErrorContext.Builder builderForValue) {
@@ -1317,10 +1545,12 @@ public Builder setContext(
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder mergeContext(
com.google.devtools.clouderrorreporting.v1beta1.ErrorContext value) {
@@ -1344,10 +1574,12 @@ public Builder mergeContext(
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public Builder clearContext() {
if (contextBuilder_ == null) {
@@ -1364,10 +1596,12 @@ public Builder clearContext() {
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorContext.Builder
getContextBuilder() {
@@ -1379,10 +1613,12 @@ public Builder clearContext() {
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorContextOrBuilder
getContextOrBuilder() {
@@ -1398,10 +1634,12 @@ public Builder clearContext() {
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.devtools.clouderrorreporting.v1beta1.ErrorContext,
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEventOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEventOrBuilder.java
index 732a600f..6dce5a30 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEventOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEventOrBuilder.java
@@ -27,36 +27,43 @@ public interface ReportedErrorEventOrBuilder
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the eventTime field is set.
*/
boolean hasEventTime();
/**
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The eventTime.
*/
com.google.protobuf.Timestamp getEventTime();
/**
*
*
*
- * [Optional] Time when the event occurred.
+ * Optional. Time when the event occurred.
* If not provided, the time when the event was received by the
* Error Reporting system will be used.
*
*
- * .google.protobuf.Timestamp event_time = 1;
+ * .google.protobuf.Timestamp event_time = 1 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder();
@@ -64,30 +71,40 @@ public interface ReportedErrorEventOrBuilder
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the serviceContext field is set.
*/
boolean hasServiceContext();
/**
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The serviceContext.
*/
com.google.devtools.clouderrorreporting.v1beta1.ServiceContext getServiceContext();
/**
*
*
*
- * [Required] The service context in which this error has occurred.
+ * Required. The service context in which this error has occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
com.google.devtools.clouderrorreporting.v1beta1.ServiceContextOrBuilder
getServiceContextOrBuilder();
@@ -96,26 +113,68 @@ public interface ReportedErrorEventOrBuilder
*
*
*
- * [Required] A message describing the error. The message can contain an
- * exception stack in one of the supported programming languages and formats.
- * In that case, the message is parsed and detailed exception information
- * is returned when retrieving the error event again.
+ * Required. The error message.
+ * If no `context.reportLocation` is provided, the message must contain a
+ * header (typically consisting of the exception type name and an error
+ * message) and an exception stack trace in one of the supported programming
+ * languages and formats.
+ * Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
+ * Supported stack trace formats are:
+ * * **Java**: Must be the return value of
+ * [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).
+ * * **Python**: Must be the return value of
+ * [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).
+ * * **JavaScript**: Must be the value of
+ * [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned
+ * by V8.
+ * * **Ruby**: Must contain frames returned by
+ * [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
+ * * **C#**: Must be the return value of
+ * [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).
+ * * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
+ * and contain the result of
+ * [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).
+ * * **Go**: Must be the return value of
+ * [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
*
*
- * string message = 3;
+ * string message = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The message.
*/
java.lang.String getMessage();
/**
*
*
*
- * [Required] A message describing the error. The message can contain an
- * exception stack in one of the supported programming languages and formats.
- * In that case, the message is parsed and detailed exception information
- * is returned when retrieving the error event again.
+ * Required. The error message.
+ * If no `context.reportLocation` is provided, the message must contain a
+ * header (typically consisting of the exception type name and an error
+ * message) and an exception stack trace in one of the supported programming
+ * languages and formats.
+ * Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
+ * Supported stack trace formats are:
+ * * **Java**: Must be the return value of
+ * [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).
+ * * **Python**: Must be the return value of
+ * [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).
+ * * **JavaScript**: Must be the value of
+ * [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned
+ * by V8.
+ * * **Ruby**: Must contain frames returned by
+ * [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
+ * * **C#**: Must be the return value of
+ * [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).
+ * * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
+ * and contain the result of
+ * [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).
+ * * **Go**: Must be the return value of
+ * [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
*
*
- * string message = 3;
+ * string message = 3 [(.google.api.field_behavior) = REQUIRED];
+ *
+ * @return The bytes for message.
*/
com.google.protobuf.ByteString getMessageBytes();
@@ -123,30 +182,40 @@ public interface ReportedErrorEventOrBuilder
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return Whether the context field is set.
*/
boolean hasContext();
/**
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ *
+ * @return The context.
*/
com.google.devtools.clouderrorreporting.v1beta1.ErrorContext getContext();
/**
*
*
*
- * [Optional] A description of the context in which the error occurred.
+ * Optional. A description of the context in which the error occurred.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
*/
com.google.devtools.clouderrorreporting.v1beta1.ErrorContextOrBuilder getContextOrBuilder();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContext.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContext.java
index 673baecc..ac3b08bd 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContext.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContext.java
@@ -44,6 +44,12 @@ private ServiceContext() {
resourceType_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ServiceContext();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -57,7 +63,6 @@ private ServiceContext(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -138,6 +143,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string service = 2;
+ *
+ * @return The service.
*/
public java.lang.String getService() {
java.lang.Object ref = service_;
@@ -163,6 +170,8 @@ public java.lang.String getService() {
*
*
* string service = 2;
+ *
+ * @return The bytes for service.
*/
public com.google.protobuf.ByteString getServiceBytes() {
java.lang.Object ref = service_;
@@ -184,9 +193,13 @@ public com.google.protobuf.ByteString getServiceBytes() {
*
* Represents the source code version that the developer provided,
* which could represent a version label or a Git SHA-1 hash, for example.
+ * For App Engine standard environment, the version is set to the version of
+ * the app.
*
*
* string version = 3;
+ *
+ * @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
@@ -205,9 +218,13 @@ public java.lang.String getVersion() {
*
* Represents the source code version that the developer provided,
* which could represent a version label or a Git SHA-1 hash, for example.
+ * For App Engine standard environment, the version is set to the version of
+ * the app.
*
*
* string version = 3;
+ *
+ * @return The bytes for version.
*/
public com.google.protobuf.ByteString getVersionBytes() {
java.lang.Object ref = version_;
@@ -234,6 +251,8 @@ public com.google.protobuf.ByteString getVersionBytes() {
*
*
* string resource_type = 4;
+ *
+ * @return The resourceType.
*/
public java.lang.String getResourceType() {
java.lang.Object ref = resourceType_;
@@ -257,6 +276,8 @@ public java.lang.String getResourceType() {
*
*
* string resource_type = 4;
+ *
+ * @return The bytes for resourceType.
*/
public com.google.protobuf.ByteString getResourceTypeBytes() {
java.lang.Object ref = resourceType_;
@@ -639,6 +660,8 @@ public Builder mergeFrom(
*
*
* string service = 2;
+ *
+ * @return The service.
*/
public java.lang.String getService() {
java.lang.Object ref = service_;
@@ -664,6 +687,8 @@ public java.lang.String getService() {
*
*
* string service = 2;
+ *
+ * @return The bytes for service.
*/
public com.google.protobuf.ByteString getServiceBytes() {
java.lang.Object ref = service_;
@@ -689,6 +714,9 @@ public com.google.protobuf.ByteString getServiceBytes() {
*
*
* string service = 2;
+ *
+ * @param value The service to set.
+ * @return This builder for chaining.
*/
public Builder setService(java.lang.String value) {
if (value == null) {
@@ -712,6 +740,8 @@ public Builder setService(java.lang.String value) {
*
*
* string service = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearService() {
@@ -732,6 +762,9 @@ public Builder clearService() {
*
*
* string service = 2;
+ *
+ * @param value The bytes for service to set.
+ * @return This builder for chaining.
*/
public Builder setServiceBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -751,9 +784,13 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) {
*
* Represents the source code version that the developer provided,
* which could represent a version label or a Git SHA-1 hash, for example.
+ * For App Engine standard environment, the version is set to the version of
+ * the app.
*
*
* string version = 3;
+ *
+ * @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
@@ -772,9 +809,13 @@ public java.lang.String getVersion() {
*
* Represents the source code version that the developer provided,
* which could represent a version label or a Git SHA-1 hash, for example.
+ * For App Engine standard environment, the version is set to the version of
+ * the app.
*
*
* string version = 3;
+ *
+ * @return The bytes for version.
*/
public com.google.protobuf.ByteString getVersionBytes() {
java.lang.Object ref = version_;
@@ -793,9 +834,14 @@ public com.google.protobuf.ByteString getVersionBytes() {
*
* Represents the source code version that the developer provided,
* which could represent a version label or a Git SHA-1 hash, for example.
+ * For App Engine standard environment, the version is set to the version of
+ * the app.
*
*
* string version = 3;
+ *
+ * @param value The version to set.
+ * @return This builder for chaining.
*/
public Builder setVersion(java.lang.String value) {
if (value == null) {
@@ -812,9 +858,13 @@ public Builder setVersion(java.lang.String value) {
*
* Represents the source code version that the developer provided,
* which could represent a version label or a Git SHA-1 hash, for example.
+ * For App Engine standard environment, the version is set to the version of
+ * the app.
*
*
* string version = 3;
+ *
+ * @return This builder for chaining.
*/
public Builder clearVersion() {
@@ -828,9 +878,14 @@ public Builder clearVersion() {
*
* Represents the source code version that the developer provided,
* which could represent a version label or a Git SHA-1 hash, for example.
+ * For App Engine standard environment, the version is set to the version of
+ * the app.
*
*
* string version = 3;
+ *
+ * @param value The bytes for version to set.
+ * @return This builder for chaining.
*/
public Builder setVersionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -855,6 +910,8 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
*
*
* string resource_type = 4;
+ *
+ * @return The resourceType.
*/
public java.lang.String getResourceType() {
java.lang.Object ref = resourceType_;
@@ -878,6 +935,8 @@ public java.lang.String getResourceType() {
*
*
* string resource_type = 4;
+ *
+ * @return The bytes for resourceType.
*/
public com.google.protobuf.ByteString getResourceTypeBytes() {
java.lang.Object ref = resourceType_;
@@ -901,6 +960,9 @@ public com.google.protobuf.ByteString getResourceTypeBytes() {
*
*
* string resource_type = 4;
+ *
+ * @param value The resourceType to set.
+ * @return This builder for chaining.
*/
public Builder setResourceType(java.lang.String value) {
if (value == null) {
@@ -922,6 +984,8 @@ public Builder setResourceType(java.lang.String value) {
*
*
* string resource_type = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearResourceType() {
@@ -940,6 +1004,9 @@ public Builder clearResourceType() {
*
*
* string resource_type = 4;
+ *
+ * @param value The bytes for resourceType to set.
+ * @return This builder for chaining.
*/
public Builder setResourceTypeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilter.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilter.java
index 03c98488..892aeeea 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilter.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilter.java
@@ -46,6 +46,12 @@ private ServiceContextFilter() {
resourceType_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new ServiceContextFilter();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -59,7 +65,6 @@ private ServiceContextFilter(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -131,11 +136,13 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
*
*
- * string service = 2;
+ * string service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The service.
*/
public java.lang.String getService() {
java.lang.Object ref = service_;
@@ -152,11 +159,13 @@ public java.lang.String getService() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
*
*
- * string service = 2;
+ * string service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for service.
*/
public com.google.protobuf.ByteString getServiceBytes() {
java.lang.Object ref = service_;
@@ -176,11 +185,13 @@ public com.google.protobuf.ByteString getServiceBytes() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
*
*
- * string version = 3;
+ * string version = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
@@ -197,11 +208,13 @@ public java.lang.String getVersion() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
*
*
- * string version = 3;
+ * string version = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for version.
*/
public com.google.protobuf.ByteString getVersionBytes() {
java.lang.Object ref = version_;
@@ -221,11 +234,13 @@ public com.google.protobuf.ByteString getVersionBytes() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*
*
- * string resource_type = 4;
+ * string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The resourceType.
*/
public java.lang.String getResourceType() {
java.lang.Object ref = resourceType_;
@@ -242,11 +257,13 @@ public java.lang.String getResourceType() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*
*
- * string resource_type = 4;
+ * string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for resourceType.
*/
public com.google.protobuf.ByteString getResourceTypeBytes() {
java.lang.Object ref = resourceType_;
@@ -627,11 +644,13 @@ public Builder mergeFrom(
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
*
*
- * string service = 2;
+ * string service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The service.
*/
public java.lang.String getService() {
java.lang.Object ref = service_;
@@ -648,11 +667,13 @@ public java.lang.String getService() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
*
*
- * string service = 2;
+ * string service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for service.
*/
public com.google.protobuf.ByteString getServiceBytes() {
java.lang.Object ref = service_;
@@ -669,11 +690,14 @@ public com.google.protobuf.ByteString getServiceBytes() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
*
*
- * string service = 2;
+ * string service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The service to set.
+ * @return This builder for chaining.
*/
public Builder setService(java.lang.String value) {
if (value == null) {
@@ -688,11 +712,13 @@ public Builder setService(java.lang.String value) {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
*
*
- * string service = 2;
+ * string service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
*/
public Builder clearService() {
@@ -704,11 +730,14 @@ public Builder clearService() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
*
*
- * string service = 2;
+ * string service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for service to set.
+ * @return This builder for chaining.
*/
public Builder setServiceBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -726,11 +755,13 @@ public Builder setServiceBytes(com.google.protobuf.ByteString value) {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
*
*
- * string version = 3;
+ * string version = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The version.
*/
public java.lang.String getVersion() {
java.lang.Object ref = version_;
@@ -747,11 +778,13 @@ public java.lang.String getVersion() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
*
*
- * string version = 3;
+ * string version = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for version.
*/
public com.google.protobuf.ByteString getVersionBytes() {
java.lang.Object ref = version_;
@@ -768,11 +801,14 @@ public com.google.protobuf.ByteString getVersionBytes() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
*
*
- * string version = 3;
+ * string version = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The version to set.
+ * @return This builder for chaining.
*/
public Builder setVersion(java.lang.String value) {
if (value == null) {
@@ -787,11 +823,13 @@ public Builder setVersion(java.lang.String value) {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
*
*
- * string version = 3;
+ * string version = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
*/
public Builder clearVersion() {
@@ -803,11 +841,14 @@ public Builder clearVersion() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
*
*
- * string version = 3;
+ * string version = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for version to set.
+ * @return This builder for chaining.
*/
public Builder setVersionBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -825,11 +866,13 @@ public Builder setVersionBytes(com.google.protobuf.ByteString value) {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*
*
- * string resource_type = 4;
+ * string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The resourceType.
*/
public java.lang.String getResourceType() {
java.lang.Object ref = resourceType_;
@@ -846,11 +889,13 @@ public java.lang.String getResourceType() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*
*
- * string resource_type = 4;
+ * string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for resourceType.
*/
public com.google.protobuf.ByteString getResourceTypeBytes() {
java.lang.Object ref = resourceType_;
@@ -867,11 +912,14 @@ public com.google.protobuf.ByteString getResourceTypeBytes() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*
*
- * string resource_type = 4;
+ * string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The resourceType to set.
+ * @return This builder for chaining.
*/
public Builder setResourceType(java.lang.String value) {
if (value == null) {
@@ -886,11 +934,13 @@ public Builder setResourceType(java.lang.String value) {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*
*
- * string resource_type = 4;
+ * string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return This builder for chaining.
*/
public Builder clearResourceType() {
@@ -902,11 +952,14 @@ public Builder clearResourceType() {
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*
*
- * string resource_type = 4;
+ * string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @param value The bytes for resourceType to set.
+ * @return This builder for chaining.
*/
public Builder setResourceTypeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilterOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilterOrBuilder.java
index ddbbbcc9..68c4f07a 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilterOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilterOrBuilder.java
@@ -27,22 +27,26 @@ public interface ServiceContextFilterOrBuilder
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
*
*
- * string service = 2;
+ * string service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The service.
*/
java.lang.String getService();
/**
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
*
*
- * string service = 2;
+ * string service = 2 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for service.
*/
com.google.protobuf.ByteString getServiceBytes();
@@ -50,22 +54,26 @@ public interface ServiceContextFilterOrBuilder
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
*
*
- * string version = 3;
+ * string version = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The version.
*/
java.lang.String getVersion();
/**
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
*
*
- * string version = 3;
+ * string version = 3 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for version.
*/
com.google.protobuf.ByteString getVersionBytes();
@@ -73,22 +81,26 @@ public interface ServiceContextFilterOrBuilder
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*
*
- * string resource_type = 4;
+ * string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The resourceType.
*/
java.lang.String getResourceType();
/**
*
*
*
- * [Optional] The exact value to match against
+ * Optional. The exact value to match against
* [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
*
*
- * string resource_type = 4;
+ * string resource_type = 4 [(.google.api.field_behavior) = OPTIONAL];
+ *
+ * @return The bytes for resourceType.
*/
com.google.protobuf.ByteString getResourceTypeBytes();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextOrBuilder.java
index b6bfbebd..a4e17466 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextOrBuilder.java
@@ -36,6 +36,8 @@ public interface ServiceContextOrBuilder
*
*
* string service = 2;
+ *
+ * @return The service.
*/
java.lang.String getService();
/**
@@ -51,6 +53,8 @@ public interface ServiceContextOrBuilder
*
*
* string service = 2;
+ *
+ * @return The bytes for service.
*/
com.google.protobuf.ByteString getServiceBytes();
@@ -60,9 +64,13 @@ public interface ServiceContextOrBuilder
*
* Represents the source code version that the developer provided,
* which could represent a version label or a Git SHA-1 hash, for example.
+ * For App Engine standard environment, the version is set to the version of
+ * the app.
*
*
* string version = 3;
+ *
+ * @return The version.
*/
java.lang.String getVersion();
/**
@@ -71,9 +79,13 @@ public interface ServiceContextOrBuilder
*
* Represents the source code version that the developer provided,
* which could represent a version label or a Git SHA-1 hash, for example.
+ * For App Engine standard environment, the version is set to the version of
+ * the app.
*
*
* string version = 3;
+ *
+ * @return The bytes for version.
*/
com.google.protobuf.ByteString getVersionBytes();
@@ -88,6 +100,8 @@ public interface ServiceContextOrBuilder
*
*
* string resource_type = 4;
+ *
+ * @return The resourceType.
*/
java.lang.String getResourceType();
/**
@@ -101,6 +115,8 @@ public interface ServiceContextOrBuilder
*
*
* string resource_type = 4;
+ *
+ * @return The bytes for resourceType.
*/
com.google.protobuf.ByteString getResourceTypeBytes();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocation.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocation.java
index b4e5bb74..15e2d292 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocation.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocation.java
@@ -22,11 +22,10 @@
*
*
*
- * Indicates a location in the source code of the service for which
- * errors are reported.
- * This data should be provided by the application when reporting an error,
- * unless the error report has been generated automatically from Google App
- * Engine logs. All fields are optional.
+ * Indicates a location in the source code of the service for which errors are
+ * reported. `functionName` must be provided by the application when reporting
+ * an error, unless the error report contains a `message` with a supported
+ * exception stack trace. All fields are optional for the later case.
*
*
* Protobuf type {@code google.devtools.clouderrorreporting.v1beta1.SourceLocation}
@@ -46,6 +45,12 @@ private SourceLocation() {
functionName_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new SourceLocation();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -59,7 +64,6 @@ private SourceLocation(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -134,6 +138,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string file_path = 1;
+ *
+ * @return The filePath.
*/
public java.lang.String getFilePath() {
java.lang.Object ref = filePath_;
@@ -155,6 +161,8 @@ public java.lang.String getFilePath() {
*
*
* string file_path = 1;
+ *
+ * @return The bytes for filePath.
*/
public com.google.protobuf.ByteString getFilePathBytes() {
java.lang.Object ref = filePath_;
@@ -178,6 +186,8 @@ public com.google.protobuf.ByteString getFilePathBytes() {
*
*
* int32 line_number = 2;
+ *
+ * @return The lineNumber.
*/
public int getLineNumber() {
return lineNumber_;
@@ -195,6 +205,8 @@ public int getLineNumber() {
*
*
* string function_name = 4;
+ *
+ * @return The functionName.
*/
public java.lang.String getFunctionName() {
java.lang.Object ref = functionName_;
@@ -217,6 +229,8 @@ public java.lang.String getFunctionName() {
*
*
* string function_name = 4;
+ *
+ * @return The bytes for functionName.
*/
public com.google.protobuf.ByteString getFunctionNameBytes() {
java.lang.Object ref = functionName_;
@@ -412,11 +426,10 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
*
*
*
- * Indicates a location in the source code of the service for which
- * errors are reported.
- * This data should be provided by the application when reporting an error,
- * unless the error report has been generated automatically from Google App
- * Engine logs. All fields are optional.
+ * Indicates a location in the source code of the service for which errors are
+ * reported. `functionName` must be provided by the application when reporting
+ * an error, unless the error report contains a `message` with a supported
+ * exception stack trace. All fields are optional for the later case.
*
*
* Protobuf type {@code google.devtools.clouderrorreporting.v1beta1.SourceLocation}
@@ -597,6 +610,8 @@ public Builder mergeFrom(
*
*
* string file_path = 1;
+ *
+ * @return The filePath.
*/
public java.lang.String getFilePath() {
java.lang.Object ref = filePath_;
@@ -618,6 +633,8 @@ public java.lang.String getFilePath() {
*
*
* string file_path = 1;
+ *
+ * @return The bytes for filePath.
*/
public com.google.protobuf.ByteString getFilePathBytes() {
java.lang.Object ref = filePath_;
@@ -639,6 +656,9 @@ public com.google.protobuf.ByteString getFilePathBytes() {
*
*
* string file_path = 1;
+ *
+ * @param value The filePath to set.
+ * @return This builder for chaining.
*/
public Builder setFilePath(java.lang.String value) {
if (value == null) {
@@ -658,6 +678,8 @@ public Builder setFilePath(java.lang.String value) {
*
*
* string file_path = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFilePath() {
@@ -674,6 +696,9 @@ public Builder clearFilePath() {
*
*
* string file_path = 1;
+ *
+ * @param value The bytes for filePath to set.
+ * @return This builder for chaining.
*/
public Builder setFilePathBytes(com.google.protobuf.ByteString value) {
if (value == null) {
@@ -695,6 +720,8 @@ public Builder setFilePathBytes(com.google.protobuf.ByteString value) {
*
*
* int32 line_number = 2;
+ *
+ * @return The lineNumber.
*/
public int getLineNumber() {
return lineNumber_;
@@ -707,6 +734,9 @@ public int getLineNumber() {
*
*
* int32 line_number = 2;
+ *
+ * @param value The lineNumber to set.
+ * @return This builder for chaining.
*/
public Builder setLineNumber(int value) {
@@ -722,6 +752,8 @@ public Builder setLineNumber(int value) {
*
*
* int32 line_number = 2;
+ *
+ * @return This builder for chaining.
*/
public Builder clearLineNumber() {
@@ -741,6 +773,8 @@ public Builder clearLineNumber() {
*
*
* string function_name = 4;
+ *
+ * @return The functionName.
*/
public java.lang.String getFunctionName() {
java.lang.Object ref = functionName_;
@@ -763,6 +797,8 @@ public java.lang.String getFunctionName() {
*
*
* string function_name = 4;
+ *
+ * @return The bytes for functionName.
*/
public com.google.protobuf.ByteString getFunctionNameBytes() {
java.lang.Object ref = functionName_;
@@ -785,6 +821,9 @@ public com.google.protobuf.ByteString getFunctionNameBytes() {
*
*
* string function_name = 4;
+ *
+ * @param value The functionName to set.
+ * @return This builder for chaining.
*/
public Builder setFunctionName(java.lang.String value) {
if (value == null) {
@@ -805,6 +844,8 @@ public Builder setFunctionName(java.lang.String value) {
*
*
* string function_name = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearFunctionName() {
@@ -822,6 +863,9 @@ public Builder clearFunctionName() {
*
*
* string function_name = 4;
+ *
+ * @param value The bytes for functionName to set.
+ * @return This builder for chaining.
*/
public Builder setFunctionNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocationOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocationOrBuilder.java
index 9215f4e9..a27eab0e 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocationOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocationOrBuilder.java
@@ -32,6 +32,8 @@ public interface SourceLocationOrBuilder
*
*
* string file_path = 1;
+ *
+ * @return The filePath.
*/
java.lang.String getFilePath();
/**
@@ -43,6 +45,8 @@ public interface SourceLocationOrBuilder
*
*
* string file_path = 1;
+ *
+ * @return The bytes for filePath.
*/
com.google.protobuf.ByteString getFilePathBytes();
@@ -54,6 +58,8 @@ public interface SourceLocationOrBuilder
*
*
* int32 line_number = 2;
+ *
+ * @return The lineNumber.
*/
int getLineNumber();
@@ -67,6 +73,8 @@ public interface SourceLocationOrBuilder
*
*
* string function_name = 4;
+ *
+ * @return The functionName.
*/
java.lang.String getFunctionName();
/**
@@ -79,6 +87,8 @@ public interface SourceLocationOrBuilder
*
*
* string function_name = 4;
+ *
+ * @return The bytes for functionName.
*/
com.google.protobuf.ByteString getFunctionNameBytes();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCount.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCount.java
index 044840f9..f0cecb2e 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCount.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCount.java
@@ -41,6 +41,12 @@ private TimedCount(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
private TimedCount() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TimedCount();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private TimedCount(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -144,6 +149,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* int64 count = 1;
+ *
+ * @return The count.
*/
public long getCount() {
return count_;
@@ -159,6 +166,8 @@ public long getCount() {
*
*
* .google.protobuf.Timestamp start_time = 2;
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTime_ != null;
@@ -171,6 +180,8 @@ public boolean hasStartTime() {
*
*
* .google.protobuf.Timestamp start_time = 2;
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
@@ -198,6 +209,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp end_time = 3;
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTime_ != null;
@@ -210,6 +223,8 @@ public boolean hasEndTime() {
*
*
* .google.protobuf.Timestamp end_time = 3;
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
@@ -612,6 +627,8 @@ public Builder mergeFrom(
*
*
* int64 count = 1;
+ *
+ * @return The count.
*/
public long getCount() {
return count_;
@@ -624,6 +641,9 @@ public long getCount() {
*
*
* int64 count = 1;
+ *
+ * @param value The count to set.
+ * @return This builder for chaining.
*/
public Builder setCount(long value) {
@@ -639,6 +659,8 @@ public Builder setCount(long value) {
*
*
* int64 count = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCount() {
@@ -661,6 +683,8 @@ public Builder clearCount() {
*
*
* .google.protobuf.Timestamp start_time = 2;
+ *
+ * @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTimeBuilder_ != null || startTime_ != null;
@@ -673,6 +697,8 @@ public boolean hasStartTime() {
*
*
* .google.protobuf.Timestamp start_time = 2;
+ *
+ * @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
@@ -836,6 +862,8 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
*
*
* .google.protobuf.Timestamp end_time = 3;
+ *
+ * @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTimeBuilder_ != null || endTime_ != null;
@@ -848,6 +876,8 @@ public boolean hasEndTime() {
*
*
* .google.protobuf.Timestamp end_time = 3;
+ *
+ * @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
if (endTimeBuilder_ == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCountAlignment.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCountAlignment.java
index fc8d0ee6..72fa7d49 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCountAlignment.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCountAlignment.java
@@ -120,12 +120,20 @@ public final int getNumber() {
return value;
}
- /** @deprecated Use {@link #forNumber(int)} instead. */
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ * @deprecated Use {@link #forNumber(int)} instead.
+ */
@java.lang.Deprecated
public static TimedCountAlignment valueOf(int value) {
return forNumber(value);
}
+ /**
+ * @param value The numeric wire value of the corresponding enum entry.
+ * @return The enum associated with the given numeric wire value.
+ */
public static TimedCountAlignment forNumber(int value) {
switch (value) {
case 0:
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCountOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCountOrBuilder.java
index ed12f1ac..a5c673d9 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCountOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCountOrBuilder.java
@@ -31,6 +31,8 @@ public interface TimedCountOrBuilder
*
*
* int64 count = 1;
+ *
+ * @return The count.
*/
long getCount();
@@ -42,6 +44,8 @@ public interface TimedCountOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 2;
+ *
+ * @return Whether the startTime field is set.
*/
boolean hasStartTime();
/**
@@ -52,6 +56,8 @@ public interface TimedCountOrBuilder
*
*
* .google.protobuf.Timestamp start_time = 2;
+ *
+ * @return The startTime.
*/
com.google.protobuf.Timestamp getStartTime();
/**
@@ -73,6 +79,8 @@ public interface TimedCountOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 3;
+ *
+ * @return Whether the endTime field is set.
*/
boolean hasEndTime();
/**
@@ -83,6 +91,8 @@ public interface TimedCountOrBuilder
*
*
* .google.protobuf.Timestamp end_time = 3;
+ *
+ * @return The endTime.
*/
com.google.protobuf.Timestamp getEndTime();
/**
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssue.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssue.java
index 990ac495..d560c5c9 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssue.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssue.java
@@ -41,6 +41,12 @@ private TrackingIssue() {
url_ = "";
}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new TrackingIssue();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -54,7 +60,6 @@ private TrackingIssue(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -117,6 +122,8 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
* string url = 1;
+ *
+ * @return The url.
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
@@ -138,6 +145,8 @@ public java.lang.String getUrl() {
*
*
* string url = 1;
+ *
+ * @return The bytes for url.
*/
public com.google.protobuf.ByteString getUrlBytes() {
java.lang.Object ref = url_;
@@ -483,6 +492,8 @@ public Builder mergeFrom(
*
*
* string url = 1;
+ *
+ * @return The url.
*/
public java.lang.String getUrl() {
java.lang.Object ref = url_;
@@ -504,6 +515,8 @@ public java.lang.String getUrl() {
*
*
* string url = 1;
+ *
+ * @return The bytes for url.
*/
public com.google.protobuf.ByteString getUrlBytes() {
java.lang.Object ref = url_;
@@ -525,6 +538,9 @@ public com.google.protobuf.ByteString getUrlBytes() {
*
*
* string url = 1;
+ *
+ * @param value The url to set.
+ * @return This builder for chaining.
*/
public Builder setUrl(java.lang.String value) {
if (value == null) {
@@ -544,6 +560,8 @@ public Builder setUrl(java.lang.String value) {
*
*
* string url = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearUrl() {
@@ -560,6 +578,9 @@ public Builder clearUrl() {
*
*
* string url = 1;
+ *
+ * @param value The bytes for url to set.
+ * @return This builder for chaining.
*/
public Builder setUrlBytes(com.google.protobuf.ByteString value) {
if (value == null) {
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssueOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssueOrBuilder.java
index 796322a8..b643a033 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssueOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssueOrBuilder.java
@@ -32,6 +32,8 @@ public interface TrackingIssueOrBuilder
*
*
* string url = 1;
+ *
+ * @return The url.
*/
java.lang.String getUrl();
/**
@@ -43,6 +45,8 @@ public interface TrackingIssueOrBuilder
*
*
* string url = 1;
+ *
+ * @return The bytes for url.
*/
com.google.protobuf.ByteString getUrlBytes();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequest.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequest.java
index 08868313..97bfba29 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequest.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequest.java
@@ -39,6 +39,12 @@ private UpdateGroupRequest(com.google.protobuf.GeneratedMessageV3.Builder> bui
private UpdateGroupRequest() {}
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UpdateGroupRequest();
+ }
+
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
@@ -52,7 +58,6 @@ private UpdateGroupRequest(
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
- int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
@@ -120,10 +125,14 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the group field is set.
*/
public boolean hasGroup() {
return group_ != null;
@@ -132,10 +141,14 @@ public boolean hasGroup() {
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The group.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup getGroup() {
return group_ == null
@@ -146,10 +159,12 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup getGroup() {
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrBuilder getGroupOrBuilder() {
return getGroup();
@@ -504,10 +519,14 @@ public Builder mergeFrom(
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the group field is set.
*/
public boolean hasGroup() {
return groupBuilder_ != null || group_ != null;
@@ -516,10 +535,14 @@ public boolean hasGroup() {
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The group.
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup getGroup() {
if (groupBuilder_ == null) {
@@ -534,10 +557,12 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup getGroup() {
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setGroup(com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup value) {
if (groupBuilder_ == null) {
@@ -556,10 +581,12 @@ public Builder setGroup(com.google.devtools.clouderrorreporting.v1beta1.ErrorGro
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder setGroup(
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup.Builder builderForValue) {
@@ -576,10 +603,12 @@ public Builder setGroup(
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder mergeGroup(com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup value) {
if (groupBuilder_ == null) {
@@ -602,10 +631,12 @@ public Builder mergeGroup(com.google.devtools.clouderrorreporting.v1beta1.ErrorG
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public Builder clearGroup() {
if (groupBuilder_ == null) {
@@ -622,10 +653,12 @@ public Builder clearGroup() {
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup.Builder getGroupBuilder() {
@@ -636,10 +669,12 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup.Builder getGro
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrBuilder getGroupOrBuilder() {
if (groupBuilder_ != null) {
@@ -654,10 +689,12 @@ public com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrBuilder getGr
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup,
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequestOrBuilder.java b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequestOrBuilder.java
index e9458713..5c0e1856 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequestOrBuilder.java
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequestOrBuilder.java
@@ -27,30 +27,40 @@ public interface UpdateGroupRequestOrBuilder
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return Whether the group field is set.
*/
boolean hasGroup();
/**
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
+ *
+ * @return The group.
*/
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroup getGroup();
/**
*
*
*
- * [Required] The group which replaces the resource on the server.
+ * Required. The group which replaces the resource on the server.
*
*
- * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1;
+ *
+ * .google.devtools.clouderrorreporting.v1beta1.ErrorGroup group = 1 [(.google.api.field_behavior) = REQUIRED];
+ *
*/
com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupOrBuilder getGroupOrBuilder();
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/common.proto b/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/common.proto
index 132f1a64..5a4f0252 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/common.proto
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/common.proto
@@ -1,4 +1,4 @@
-// Copyright 2016 Google Inc.
+// Copyright 2019 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -17,9 +17,10 @@ syntax = "proto3";
package google.devtools.clouderrorreporting.v1beta1;
import "google/api/annotations.proto";
-import "google/api/monitored_resource.proto";
+import "google/api/resource.proto";
import "google/protobuf/timestamp.proto";
+option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.ErrorReporting.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1;clouderrorreporting";
option java_multiple_files = true;
@@ -29,6 +30,11 @@ option php_namespace = "Google\\Cloud\\ErrorReporting\\V1beta1";
// Description of a group of similar error events.
message ErrorGroup {
+ option (google.api.resource) = {
+ type: "clouderrorreporting.googleapis.com/ErrorGroup"
+ pattern: "projects/{project}/groups/{group}"
+ };
+
// The group resource name.
// Example: projects/my-project-123/groups/my-groupid
string name = 1;
@@ -79,6 +85,8 @@ message ServiceContext {
// Represents the source code version that the developer provided,
// which could represent a version label or a Git SHA-1 hash, for example.
+ // For App Engine standard environment, the version is set to the version of
+ // the app.
string version = 3;
// Type of the MonitoredResource. List of possible values:
@@ -112,8 +120,7 @@ message ErrorContext {
// report the error, usually the place where it was logged.
// For a logged exception this would be the source line where the
// exception is logged, usually close to the place where it was
- // caught. This value is in contrast to `Exception.cause_location`,
- // which describes the source line where the exception was thrown.
+ // caught.
SourceLocation report_location = 3;
}
@@ -144,11 +151,10 @@ message HttpRequestContext {
string remote_ip = 6;
}
-// Indicates a location in the source code of the service for which
-// errors are reported.
-// This data should be provided by the application when reporting an error,
-// unless the error report has been generated automatically from Google App
-// Engine logs. All fields are optional.
+// Indicates a location in the source code of the service for which errors are
+// reported. `functionName` must be provided by the application when reporting
+// an error, unless the error report contains a `message` with a supported
+// exception stack trace. All fields are optional for the later case.
message SourceLocation {
// The source code filename, which can include a truncated relative
// path, or a full path from a production machine.
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto b/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto
index 15086a9e..ab14ab31 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto
@@ -1,4 +1,4 @@
-// Copyright 2016 Google Inc.
+// Copyright 2019 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -11,14 +11,19 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
+//
syntax = "proto3";
package google.devtools.clouderrorreporting.v1beta1;
import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
import "google/devtools/clouderrorreporting/v1beta1/common.proto";
+option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.ErrorReporting.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1;clouderrorreporting";
option java_multiple_files = true;
@@ -28,11 +33,15 @@ option php_namespace = "Google\\Cloud\\ErrorReporting\\V1beta1";
// Service for retrieving and updating individual error groups.
service ErrorGroupService {
+ option (google.api.default_host) = "clouderrorreporting.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
// Get the specified group.
rpc GetGroup(GetGroupRequest) returns (ErrorGroup) {
option (google.api.http) = {
get: "/v1beta1/{group_name=projects/*/groups/*}"
};
+ option (google.api.method_signature) = "group_name";
}
// Replace the data for the specified group.
@@ -42,12 +51,13 @@ service ErrorGroupService {
put: "/v1beta1/{group.name=projects/*/groups/*}"
body: "group"
};
+ option (google.api.method_signature) = "group";
}
}
// A request to return an individual group.
message GetGroupRequest {
- // [Required] The group resource name. Written as
+ // Required. The group resource name. Written as
// projects/projectID/groups/group_name.
// Call
//
@@ -55,11 +65,16 @@ message GetGroupRequest {
// this project.
//
// Example: projects/my-project-123/groups/my-group
- string group_name = 1;
+ string group_name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "clouderrorreporting.googleapis.com/ErrorGroup"
+ }
+ ];
}
// A request to replace the existing data for the given group.
message UpdateGroupRequest {
- // [Required] The group which replaces the resource on the server.
- ErrorGroup group = 1;
+ // Required. The group which replaces the resource on the server.
+ ErrorGroup group = 1 [(google.api.field_behavior) = REQUIRED];
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto b/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto
index ffb25b2b..8f4c909e 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto
@@ -1,4 +1,4 @@
-// Copyright 2016 Google Inc.
+// Copyright 2019 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -11,16 +11,21 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
+//
syntax = "proto3";
package google.devtools.clouderrorreporting.v1beta1;
import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
import "google/devtools/clouderrorreporting/v1beta1/common.proto";
import "google/protobuf/duration.proto";
import "google/protobuf/timestamp.proto";
+option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.ErrorReporting.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1;clouderrorreporting";
option java_multiple_files = true;
@@ -31,11 +36,15 @@ option php_namespace = "Google\\Cloud\\ErrorReporting\\V1beta1";
// An API for retrieving and managing error statistics as well as data for
// individual events.
service ErrorStatsService {
+ option (google.api.default_host) = "clouderrorreporting.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
// Lists the specified groups.
rpc ListGroupStats(ListGroupStatsRequest) returns (ListGroupStatsResponse) {
option (google.api.http) = {
get: "/v1beta1/{project_name=projects/*}/groupStats"
};
+ option (google.api.method_signature) = "project_name,time_range";
}
// Lists the specified events.
@@ -43,6 +52,7 @@ service ErrorStatsService {
option (google.api.http) = {
get: "/v1beta1/{project_name=projects/*}/events"
};
+ option (google.api.method_signature) = "project_name,group_id";
}
// Deletes all error events of a given project.
@@ -50,60 +60,67 @@ service ErrorStatsService {
option (google.api.http) = {
delete: "/v1beta1/{project_name=projects/*}/events"
};
+ option (google.api.method_signature) = "project_name";
}
}
// Specifies a set of `ErrorGroupStats` to return.
message ListGroupStatsRequest {
- // [Required] The resource name of the Google Cloud Platform project. Written
+ // Required. The resource name of the Google Cloud Platform project. Written
// as projects/ plus the
// Google Cloud
// Platform project ID.
//
// Example: projects/my-project-123.
- string project_name = 1;
+ string project_name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudresourcemanager.googleapis.com/Project"
+ }
+ ];
- // [Optional] List all ErrorGroupStats with these IDs.
- repeated string group_id = 2;
+ // Optional. List all ErrorGroupStats with these IDs.
+ repeated string group_id = 2 [(google.api.field_behavior) = OPTIONAL];
- // [Optional] List only ErrorGroupStats which belong to a service
+ // Optional. List only ErrorGroupStats which belong to a service
// context that matches the filter.
// Data for all service contexts is returned if this field is not specified.
- ServiceContextFilter service_filter = 3;
+ ServiceContextFilter service_filter = 3 [(google.api.field_behavior) = OPTIONAL];
- // [Optional] List data for the given time range.
- // If not set a default time range is used. The field time_range_begin
- // in the response will specify the beginning of this time range.
+ // Optional. List data for the given time range.
+ // If not set, a default time range is used. The field
+ // time_range_begin in the response will specify the beginning
+ // of this time range.
// Only ErrorGroupStats with a non-zero count in the given time
- // range are returned, unless the request contains an explicit group_id list.
- // If a group_id list is given, also ErrorGroupStats with zero
- // occurrences are returned.
- QueryTimeRange time_range = 5;
+ // range are returned, unless the request contains an explicit
+ // group_id list. If a group_id list is given, also
+ // ErrorGroupStats with zero occurrences are returned.
+ QueryTimeRange time_range = 5 [(google.api.field_behavior) = OPTIONAL];
- // [Optional] The preferred duration for a single returned `TimedCount`.
+ // Optional. The preferred duration for a single returned `TimedCount`.
// If not set, no timed counts are returned.
- google.protobuf.Duration timed_count_duration = 6;
+ google.protobuf.Duration timed_count_duration = 6 [(google.api.field_behavior) = OPTIONAL];
- // [Optional] The alignment of the timed counts to be returned.
+ // Optional. The alignment of the timed counts to be returned.
// Default is `ALIGNMENT_EQUAL_AT_END`.
- TimedCountAlignment alignment = 7;
+ TimedCountAlignment alignment = 7 [(google.api.field_behavior) = OPTIONAL];
- // [Optional] Time where the timed counts shall be aligned if rounded
+ // Optional. Time where the timed counts shall be aligned if rounded
// alignment is chosen. Default is 00:00 UTC.
- google.protobuf.Timestamp alignment_time = 8;
+ google.protobuf.Timestamp alignment_time = 8 [(google.api.field_behavior) = OPTIONAL];
- // [Optional] The sort order in which the results are returned.
+ // Optional. The sort order in which the results are returned.
// Default is `COUNT_DESC`.
- ErrorGroupOrder order = 9;
+ ErrorGroupOrder order = 9 [(google.api.field_behavior) = OPTIONAL];
- // [Optional] The maximum number of results to return per response.
+ // Optional. The maximum number of results to return per response.
// Default is 20.
- int32 page_size = 11;
+ int32 page_size = 11 [(google.api.field_behavior) = OPTIONAL];
- // [Optional] A `next_page_token` provided by a previous response. To view
+ // Optional. A `next_page_token` provided by a previous response. To view
// additional results, pass this token along with the identical query
// parameters as the first request.
- string page_token = 12;
+ string page_token = 12 [(google.api.field_behavior) = OPTIONAL];
}
// Contains a set of requested error group stats.
@@ -196,33 +213,79 @@ message TimedCount {
google.protobuf.Timestamp end_time = 3;
}
+// Specifies how the time periods of error group counts are aligned.
+enum TimedCountAlignment {
+ // No alignment specified.
+ ERROR_COUNT_ALIGNMENT_UNSPECIFIED = 0;
+
+ // The time periods shall be consecutive, have width equal to the
+ // requested duration, and be aligned at the `alignment_time` provided in
+ // the request.
+ // The `alignment_time` does not have to be inside the query period but
+ // even if it is outside, only time periods are returned which overlap
+ // with the query period.
+ // A rounded alignment will typically result in a
+ // different size of the first or the last time period.
+ ALIGNMENT_EQUAL_ROUNDED = 1;
+
+ // The time periods shall be consecutive, have width equal to the
+ // requested duration, and be aligned at the end of the requested time
+ // period. This can result in a different size of the
+ // first time period.
+ ALIGNMENT_EQUAL_AT_END = 2;
+}
+
+// A sorting order of error groups.
+enum ErrorGroupOrder {
+ // No group order specified.
+ GROUP_ORDER_UNSPECIFIED = 0;
+
+ // Total count of errors in the given time window in descending order.
+ COUNT_DESC = 1;
+
+ // Timestamp when the group was last seen in the given time window
+ // in descending order.
+ LAST_SEEN_DESC = 2;
+
+ // Timestamp when the group was created in descending order.
+ CREATED_DESC = 3;
+
+ // Number of affected users in the given time window in descending order.
+ AFFECTED_USERS_DESC = 4;
+}
+
// Specifies a set of error events to return.
message ListEventsRequest {
- // [Required] The resource name of the Google Cloud Platform project. Written
+ // Required. The resource name of the Google Cloud Platform project. Written
// as `projects/` plus the
// [Google Cloud Platform project
// ID](https://support.google.com/cloud/answer/6158840).
// Example: `projects/my-project-123`.
- string project_name = 1;
+ string project_name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudresourcemanager.googleapis.com/Project"
+ }
+ ];
- // [Required] The group for which events shall be returned.
- string group_id = 2;
+ // Required. The group for which events shall be returned.
+ string group_id = 2 [(google.api.field_behavior) = REQUIRED];
- // [Optional] List only ErrorGroups which belong to a service context that
+ // Optional. List only ErrorGroups which belong to a service context that
// matches the filter.
// Data for all service contexts is returned if this field is not specified.
- ServiceContextFilter service_filter = 3;
+ ServiceContextFilter service_filter = 3 [(google.api.field_behavior) = OPTIONAL];
- // [Optional] List only data for the given time range.
+ // Optional. List only data for the given time range.
// If not set a default time range is used. The field time_range_begin
// in the response will specify the beginning of this time range.
- QueryTimeRange time_range = 4;
+ QueryTimeRange time_range = 4 [(google.api.field_behavior) = OPTIONAL];
- // [Optional] The maximum number of results to return per response.
- int32 page_size = 6;
+ // Optional. The maximum number of results to return per response.
+ int32 page_size = 6 [(google.api.field_behavior) = OPTIONAL];
- // [Optional] A `next_page_token` provided by a previous response.
- string page_token = 7;
+ // Optional. A `next_page_token` provided by a previous response.
+ string page_token = 7 [(google.api.field_behavior) = OPTIONAL];
}
// Contains a set of requested error events.
@@ -277,69 +340,35 @@ message QueryTimeRange {
// Only exact, case-sensitive matches are supported.
// If a field is unset or empty, it matches arbitrary values.
message ServiceContextFilter {
- // [Optional] The exact value to match against
+ // Optional. The exact value to match against
// [`ServiceContext.service`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.service).
- string service = 2;
+ string service = 2 [(google.api.field_behavior) = OPTIONAL];
- // [Optional] The exact value to match against
+ // Optional. The exact value to match against
// [`ServiceContext.version`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.version).
- string version = 3;
+ string version = 3 [(google.api.field_behavior) = OPTIONAL];
- // [Optional] The exact value to match against
+ // Optional. The exact value to match against
// [`ServiceContext.resource_type`](/error-reporting/reference/rest/v1beta1/ServiceContext#FIELDS.resource_type).
- string resource_type = 4;
+ string resource_type = 4 [(google.api.field_behavior) = OPTIONAL];
}
// Deletes all events in the project.
message DeleteEventsRequest {
- // [Required] The resource name of the Google Cloud Platform project. Written
+ // Required. The resource name of the Google Cloud Platform project. Written
// as `projects/` plus the
// [Google Cloud Platform project
// ID](https://support.google.com/cloud/answer/6158840).
// Example: `projects/my-project-123`.
- string project_name = 1;
+ string project_name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudresourcemanager.googleapis.com/Project"
+ }
+ ];
}
// Response message for deleting error events.
-message DeleteEventsResponse {}
-
-// Specifies how the time periods of error group counts are aligned.
-enum TimedCountAlignment {
- // No alignment specified.
- ERROR_COUNT_ALIGNMENT_UNSPECIFIED = 0;
-
- // The time periods shall be consecutive, have width equal to the
- // requested duration, and be aligned at the `alignment_time` provided in
- // the request.
- // The `alignment_time` does not have to be inside the query period but
- // even if it is outside, only time periods are returned which overlap
- // with the query period.
- // A rounded alignment will typically result in a
- // different size of the first or the last time period.
- ALIGNMENT_EQUAL_ROUNDED = 1;
-
- // The time periods shall be consecutive, have width equal to the
- // requested duration, and be aligned at the end of the requested time
- // period. This can result in a different size of the
- // first time period.
- ALIGNMENT_EQUAL_AT_END = 2;
-}
+message DeleteEventsResponse {
-// A sorting order of error groups.
-enum ErrorGroupOrder {
- // No group order specified.
- GROUP_ORDER_UNSPECIFIED = 0;
-
- // Total count of errors in the given time window in descending order.
- COUNT_DESC = 1;
-
- // Timestamp when the group was last seen in the given time window
- // in descending order.
- LAST_SEEN_DESC = 2;
-
- // Timestamp when the group was created in descending order.
- CREATED_DESC = 3;
-
- // Number of affected users in the given time window in descending order.
- AFFECTED_USERS_DESC = 4;
}
diff --git a/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto b/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto
index d77f646c..fe80fcef 100644
--- a/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto
+++ b/proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto
@@ -1,4 +1,4 @@
-// Copyright 2016 Google Inc.
+// Copyright 2019 Google LLC.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
@@ -11,15 +11,20 @@
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
+//
syntax = "proto3";
package google.devtools.clouderrorreporting.v1beta1;
import "google/api/annotations.proto";
+import "google/api/client.proto";
+import "google/api/field_behavior.proto";
+import "google/api/resource.proto";
import "google/devtools/clouderrorreporting/v1beta1/common.proto";
import "google/protobuf/timestamp.proto";
+option cc_enable_arenas = true;
option csharp_namespace = "Google.Cloud.ErrorReporting.V1Beta1";
option go_package = "google.golang.org/genproto/googleapis/devtools/clouderrorreporting/v1beta1;clouderrorreporting";
option java_multiple_files = true;
@@ -29,57 +34,87 @@ option php_namespace = "Google\\Cloud\\ErrorReporting\\V1beta1";
// An API for reporting error events.
service ReportErrorsService {
+ option (google.api.default_host) = "clouderrorreporting.googleapis.com";
+ option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform";
+
// Report an individual error event.
//
- // This endpoint accepts either an OAuth token,
- // or an
- // API key
+ // This endpoint accepts **either** an OAuth token,
+ // **or** 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:
- // POST
- // https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456
- rpc ReportErrorEvent(ReportErrorEventRequest)
- returns (ReportErrorEventResponse) {
+ //
+ // `POST
+ // https://clouderrorreporting.googleapis.com/v1beta1/projects/example-project/events:report?key=123ABC456`
+ rpc ReportErrorEvent(ReportErrorEventRequest) returns (ReportErrorEventResponse) {
option (google.api.http) = {
post: "/v1beta1/{project_name=projects/*}/events:report"
body: "event"
};
+ option (google.api.method_signature) = "project_name,event";
}
}
// A request for reporting an individual error event.
message ReportErrorEventRequest {
- // [Required] The resource name of the Google Cloud Platform project. Written
+ // Required. The resource name of the Google Cloud Platform project. Written
// as `projects/` plus the
// [Google Cloud Platform project
// ID](https://support.google.com/cloud/answer/6158840). Example:
// `projects/my-project-123`.
- string project_name = 1;
+ string project_name = 1 [
+ (google.api.field_behavior) = REQUIRED,
+ (google.api.resource_reference) = {
+ type: "cloudresourcemanager.googleapis.com/Project"
+ }
+ ];
- // [Required] The error event to be reported.
- ReportedErrorEvent event = 2;
+ // Required. The error event to be reported.
+ ReportedErrorEvent event = 2 [(google.api.field_behavior) = REQUIRED];
}
// Response for reporting an individual error event.
// Data may be added to this message in the future.
-message ReportErrorEventResponse {}
+message ReportErrorEventResponse {
+
+}
// An error event which is reported to the Error Reporting system.
message ReportedErrorEvent {
- // [Optional] Time when the event occurred.
+ // Optional. Time when the event occurred.
// If not provided, the time when the event was received by the
// Error Reporting system will be used.
- google.protobuf.Timestamp event_time = 1;
+ google.protobuf.Timestamp event_time = 1 [(google.api.field_behavior) = OPTIONAL];
- // [Required] The service context in which this error has occurred.
- ServiceContext service_context = 2;
+ // Required. The service context in which this error has occurred.
+ ServiceContext service_context = 2 [(google.api.field_behavior) = REQUIRED];
- // [Required] A message describing the error. The message can contain an
- // exception stack in one of the supported programming languages and formats.
- // In that case, the message is parsed and detailed exception information
- // is returned when retrieving the error event again.
- string message = 3;
+ // Required. The error message.
+ // If no `context.reportLocation` is provided, the message must contain a
+ // header (typically consisting of the exception type name and an error
+ // message) and an exception stack trace in one of the supported programming
+ // languages and formats.
+ // Supported languages are Java, Python, JavaScript, Ruby, C#, PHP, and Go.
+ // Supported stack trace formats are:
+ //
+ // * **Java**: Must be the return value of
+ // [`Throwable.printStackTrace()`](https://docs.oracle.com/javase/7/docs/api/java/lang/Throwable.html#printStackTrace%28%29).
+ // * **Python**: Must be the return value of
+ // [`traceback.format_exc()`](https://docs.python.org/2/library/traceback.html#traceback.format_exc).
+ // * **JavaScript**: Must be the value of
+ // [`error.stack`](https://github.com/v8/v8/wiki/Stack-Trace-API) as returned
+ // by V8.
+ // * **Ruby**: Must contain frames returned by
+ // [`Exception.backtrace`](https://ruby-doc.org/core-2.2.0/Exception.html#method-i-backtrace).
+ // * **C#**: Must be the return value of
+ // [`Exception.ToString()`](https://msdn.microsoft.com/en-us/library/system.exception.tostring.aspx).
+ // * **PHP**: Must start with `PHP (Notice|Parse error|Fatal error|Warning)`
+ // and contain the result of
+ // [`(string)$exception`](http://php.net/manual/en/exception.tostring.php).
+ // * **Go**: Must be the return value of
+ // [`runtime.Stack()`](https://golang.org/pkg/runtime/debug/#Stack).
+ string message = 3 [(google.api.field_behavior) = REQUIRED];
- // [Optional] A description of the context in which the error occurred.
- ErrorContext context = 4;
+ // Optional. A description of the context in which the error occurred.
+ ErrorContext context = 4 [(google.api.field_behavior) = OPTIONAL];
}
diff --git a/renovate.json b/renovate.json
index 99810470..f3a70c97 100644
--- a/renovate.json
+++ b/renovate.json
@@ -1,27 +1,64 @@
{
"extends": [
- "config:base"
+ ":separateMajorReleases",
+ ":combinePatchMinorReleases",
+ ":ignoreUnstable",
+ ":prImmediately",
+ ":updateNotScheduled",
+ ":automergeDisabled",
+ ":ignoreModulesAndTests",
+ ":maintainLockFilesDisabled",
+ ":autodetectPinVersions"
],
- "ignoreDeps": [],
"packageRules": [
{
- "managers": ["maven"],
- "packageNames": ["com.google.guava:guava*"],
+ "packagePatterns": [
+ "^com.google.guava:"
+ ],
"versionScheme": "docker"
},
{
- "packagePatterns": ["^io.grpc:grpc-"],
- "groupName": "gRPC packages"
+ "packagePatterns": [
+ "^com.google.api:gax",
+ "^com.google.auth:",
+ "^com.google.cloud:google-cloud-core",
+ "^io.grpc:"
+ ],
+ "groupName": "core dependencies"
},
{
- "packagePatterns": ["^com.google.protobuf:protobuf-"],
- "groupName": "Protobuf packages"
+ "packagePatterns": [
+ "^com.google.http-client:",
+ "^com.google.oauth-client:",
+ "^com.google.api-client:"
+ ],
+ "groupName": "core transport dependencies"
},
{
- "packagePatterns": ["^io.opencensus:opencensus-"],
- "groupName": "OpenCensus packages"
+ "packagePatterns": [
+ "*"
+ ],
+ "semanticCommitType": "deps",
+ "semanticCommitScope": null
+ },
+ {
+ "packagePatterns": [
+ "^org.apache.maven",
+ "^org.jacoco:",
+ "^org.codehaus.mojo:",
+ "^org.sonatype.plugins:",
+ "^com.coveo:",
+ "^com.google.cloud:google-cloud-shared-config"
+ ],
+ "semanticCommitType": "build",
+ "semanticCommitScope": "deps"
+ },
+ {
+ "packagePatterns": [
+ "^com.google.cloud:google-cloud-"
+ ],
+ "ignoreUnstable": false
}
],
- "semanticCommits": true,
- "semanticCommitType": "deps"
+ "semanticCommits": true
}
diff --git a/synth.metadata b/synth.metadata
index 393986d4..303edec7 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -1,19 +1,19 @@
{
- "updateTime": "2019-11-08T08:43:11.837683Z",
+ "updateTime": "2020-01-07T08:48:32.206926Z",
"sources": [
{
"generator": {
"name": "artman",
- "version": "0.41.1",
- "dockerImage": "googleapis/artman@sha256:545c758c76c3f779037aa259023ec3d1ef2d57d2c8cd00a222cb187d63ceac5e"
+ "version": "0.43.0",
+ "dockerImage": "googleapis/artman@sha256:264654a37596a44b0668b8ce6ac41082d713f6ee150b3fc6425fa78cc64e4f20"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "d323b287c782802242005072d15f1474d7d10819",
- "internalRef": "279234903"
+ "sha": "cb79155f596e0396dd900da93872be7066f6340d",
+ "internalRef": "288441307"
}
},
{
@@ -35,5 +35,559 @@
"config": "google/devtools/clouderrorreporting/artman_errorreporting.yaml"
}
}
+ ],
+ "newFiles": [
+ {
+ "path": ".repo-metadata.json"
+ },
+ {
+ "path": "renovate.json"
+ },
+ {
+ "path": "license-checks.xml"
+ },
+ {
+ "path": "synth.py"
+ },
+ {
+ "path": "CHANGELOG.md"
+ },
+ {
+ "path": "codecov.yaml"
+ },
+ {
+ "path": "LICENSE"
+ },
+ {
+ "path": ".gitignore"
+ },
+ {
+ "path": "pom.xml"
+ },
+ {
+ "path": "CODE_OF_CONDUCT.md"
+ },
+ {
+ "path": "synth.metadata"
+ },
+ {
+ "path": "README.md"
+ },
+ {
+ "path": "versions.txt"
+ },
+ {
+ "path": "CONTRIBUTING.md"
+ },
+ {
+ "path": "java.header"
+ },
+ {
+ "path": "grpc-google-cloud-error-reporting-v1beta1/pom.xml"
+ },
+ {
+ "path": "grpc-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceGrpc.java"
+ },
+ {
+ "path": "grpc-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceGrpc.java"
+ },
+ {
+ "path": "grpc-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceGrpc.java"
+ },
+ {
+ "path": ".kokoro/build.bat"
+ },
+ {
+ "path": ".kokoro/build.sh"
+ },
+ {
+ "path": ".kokoro/dependencies.sh"
+ },
+ {
+ "path": ".kokoro/common.cfg"
+ },
+ {
+ "path": ".kokoro/trampoline.sh"
+ },
+ {
+ "path": ".kokoro/coerce_logs.sh"
+ },
+ {
+ "path": ".kokoro/linkage-monitor.sh"
+ },
+ {
+ "path": ".kokoro/continuous/dependencies.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/samples.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/java7.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/java8-osx.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/java8-win.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/propose_release.sh"
+ },
+ {
+ "path": ".kokoro/continuous/lint.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/java11.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/common.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/propose_release.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/java8.cfg"
+ },
+ {
+ "path": ".kokoro/continuous/integration.cfg"
+ },
+ {
+ "path": ".kokoro/release/drop.sh"
+ },
+ {
+ "path": ".kokoro/release/stage.cfg"
+ },
+ {
+ "path": ".kokoro/release/promote.cfg"
+ },
+ {
+ "path": ".kokoro/release/publish_javadoc.cfg"
+ },
+ {
+ "path": ".kokoro/release/bump_snapshot.cfg"
+ },
+ {
+ "path": ".kokoro/release/promote.sh"
+ },
+ {
+ "path": ".kokoro/release/stage.sh"
+ },
+ {
+ "path": ".kokoro/release/snapshot.sh"
+ },
+ {
+ "path": ".kokoro/release/snapshot.cfg"
+ },
+ {
+ "path": ".kokoro/release/common.cfg"
+ },
+ {
+ "path": ".kokoro/release/bump_snapshot.sh"
+ },
+ {
+ "path": ".kokoro/release/common.sh"
+ },
+ {
+ "path": ".kokoro/release/drop.cfg"
+ },
+ {
+ "path": ".kokoro/release/publish_javadoc.sh"
+ },
+ {
+ "path": ".kokoro/presubmit/dependencies.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/samples.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/java7.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/java8-osx.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/linkage-monitor.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/java8-win.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/lint.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/java11.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/common.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/clirr.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/java8.cfg"
+ },
+ {
+ "path": ".kokoro/presubmit/integration.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/dependencies.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/samples.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/java7.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/java8-osx.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/java8-win.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/lint.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/java11.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/common.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/java8.cfg"
+ },
+ {
+ "path": ".kokoro/nightly/integration.cfg"
+ },
+ {
+ "path": "google-cloud-errorreporting/pom.xml"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceSmokeTest.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClientTest.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorStatsServiceImpl.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockReportErrorsService.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorGroupService.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClientTest.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClientTest.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorGroupServiceImpl.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockReportErrorsServiceImpl.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/MockErrorStatsService.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/test/java/com/google/cloud/errorreporting/v1beta1/it/ITSystemTest.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceClient.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceSettings.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceClient.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/package-info.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorGroupServiceSettings.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ReportErrorsServiceSettings.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/ErrorStatsServiceClient.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStubSettings.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorGroupServiceStub.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorGroupServiceCallableFactory.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorStatsServiceStub.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ReportErrorsServiceStubSettings.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStubSettings.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorStatsServiceCallableFactory.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcErrorGroupServiceStub.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcReportErrorsServiceStub.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/GrpcReportErrorsServiceCallableFactory.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ErrorStatsServiceStub.java"
+ },
+ {
+ "path": "google-cloud-errorreporting/src/main/java/com/google/cloud/errorreporting/v1beta1/stub/ReportErrorsServiceStub.java"
+ },
+ {
+ "path": ".github/release-please.yml"
+ },
+ {
+ "path": ".github/PULL_REQUEST_TEMPLATE.md"
+ },
+ {
+ "path": ".github/ISSUE_TEMPLATE/bug_report.md"
+ },
+ {
+ "path": ".github/ISSUE_TEMPLATE/support_request.md"
+ },
+ {
+ "path": ".github/ISSUE_TEMPLATE/feature_request.md"
+ },
+ {
+ "path": "__pycache__/synth.cpython-36.pyc"
+ },
+ {
+ "path": ".git/index"
+ },
+ {
+ "path": ".git/packed-refs"
+ },
+ {
+ "path": ".git/HEAD"
+ },
+ {
+ "path": ".git/config"
+ },
+ {
+ "path": ".git/shallow"
+ },
+ {
+ "path": ".git/objects/pack/pack-94f4a413f5a999b1e9fb48cda68bd55e6c30170d.pack"
+ },
+ {
+ "path": ".git/objects/pack/pack-94f4a413f5a999b1e9fb48cda68bd55e6c30170d.idx"
+ },
+ {
+ "path": ".git/refs/remotes/origin/HEAD"
+ },
+ {
+ "path": ".git/refs/heads/autosynth"
+ },
+ {
+ "path": ".git/refs/heads/master"
+ },
+ {
+ "path": ".git/logs/HEAD"
+ },
+ {
+ "path": ".git/logs/refs/remotes/origin/HEAD"
+ },
+ {
+ "path": ".git/logs/refs/heads/autosynth"
+ },
+ {
+ "path": ".git/logs/refs/heads/master"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/pom.xml"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_group_service.proto"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/common.proto"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/error_stats_service.proto"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/proto/google/devtools/clouderrorreporting/v1beta1/report_errors_service.proto"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCountOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEventOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContextOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContextOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorEvent.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocation.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ProjectName.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRange.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/QueryTimeRangeOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GroupName.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorContext.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilterOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStats.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/SourceLocationOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContextFilter.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupServiceProto.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ServiceContext.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCount.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssue.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEventOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroup.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TrackingIssueOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupStatsOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/CommonProto.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/HttpRequestContext.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupName.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorStatsServiceProto.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorsServiceProto.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/GetGroupRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportErrorEventRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/UpdateGroupRequest.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListEventsRequestOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ListGroupStatsResponse.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ErrorGroupOrder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/DeleteEventsResponseOrBuilder.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/ReportedErrorEvent.java"
+ },
+ {
+ "path": "proto-google-cloud-error-reporting-v1beta1/src/main/java/com/google/devtools/clouderrorreporting/v1beta1/TimedCountAlignment.java"
+ },
+ {
+ "path": "google-cloud-errorreporting-bom/pom.xml"
+ }
]
}
\ No newline at end of file
diff --git a/synth.py b/synth.py
index 63103e48..28c5d9d6 100644
--- a/synth.py
+++ b/synth.py
@@ -24,6 +24,42 @@
versions = ['v1beta1']
config_pattern = '/google/devtools/clouderrorreporting/artman_errorreporting.yaml'
+ERROR_GROUP_OVERLOAD = """
+ // Inserted by synthtool to preserve backwards-compatibility
+ /**
+ * Get the specified group.
+ *
+ * Sample code:
+ *
+ *
+ * try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
+ * GroupName groupName = GroupName.of("[PROJECT]", "[GROUP]");
+ * ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
+ * }
+ *
+ *
+ * @param groupName Required. The group resource name. Written as
+ * <code>projects/<var>projectID</var>/groups/<var>group_name</var></code>.
+ * Call <a href="/error-reporting/reference/rest/v1beta1/projects.groupStats/list">
+ * <code>groupStats.list</code></a> to return a list of groups belonging to
+ * this project.
+ * Example: <code>projects/my-project-123/groups/my-group</code>
+ * @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);
+ }
+"""
+
+ERROR_GROUP_OVERLOAD_PREVIOUS_METHOD = r'(\s+public ErrorGroupServiceStub getStub\(\) {\n\s+return stub;\n\s+})'
+
for version in versions:
library = gapic.java_library(
service=service,
@@ -31,17 +67,28 @@
config_path=config_pattern.format(version=version),
artman_output_name='')
-package_name = f'com.google.devtools.clouderrorreporting.{version}'
-java.fix_proto_headers(library / f'proto-google-cloud-{service}-{version}')
-java.fix_grpc_headers(library / f'grpc-google-cloud-{service}-{version}', package_name)
+ package_name = f'com.google.devtools.clouderrorreporting.{version}'
+ java.fix_proto_headers(library / f'proto-google-cloud-{service}-{version}')
+ java.fix_grpc_headers(library / f'grpc-google-cloud-{service}-{version}', package_name)
+
+ s.replace(
+ library / f'gapic-google-cloud-{service}-{version}/src/**/ErrorGroupServiceClient.java',
+ ERROR_GROUP_OVERLOAD_PREVIOUS_METHOD,
+ "\g<1>\n\n" + ERROR_GROUP_OVERLOAD
+ )
+ s.replace(
+ library / f'gapic-google-cloud-{service}-{version}/src/**/ErrorGroupServiceClient.java',
+ "import com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupName;",
+ "import com.google.devtools.clouderrorreporting.v1beta1.ErrorGroupName;\nimport com.google.devtools.clouderrorreporting.v1beta1.GroupName;"
+ )
-s.copy(library / f'gapic-google-cloud-{service}-{version}/src', f'google-cloud-errorreporting/src')
-s.copy(library / f'grpc-google-cloud-{service}-{version}/src', f'grpc-google-cloud-{service}-{version}/src')
-s.copy(library / f'proto-google-cloud-{service}-{version}/src', f'proto-google-cloud-{service}-{version}/src')
+ s.copy(library / f'gapic-google-cloud-{service}-{version}/src', f'google-cloud-errorreporting/src')
+ s.copy(library / f'grpc-google-cloud-{service}-{version}/src', f'grpc-google-cloud-{service}-{version}/src')
+ s.copy(library / f'proto-google-cloud-{service}-{version}/src', f'proto-google-cloud-{service}-{version}/src')
-java.format_code(f'google-cloud-errorreporting/src')
-java.format_code(f'grpc-google-cloud-{service}-{version}/src')
-java.format_code(f'proto-google-cloud-{service}-{version}/src')
+ java.format_code(f'google-cloud-errorreporting/src')
+ java.format_code(f'grpc-google-cloud-{service}-{version}/src')
+ java.format_code(f'proto-google-cloud-{service}-{version}/src')
common_templates = gcp.CommonTemplates()
templates = common_templates.java_library()
diff --git a/versions.txt b/versions.txt
index dd2a80ca..6d8cca24 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-grpc-google-cloud-errorreporting-v1beta1:0.84.1:0.84.1
-proto-google-cloud-errorreporting-v1beta1:0.84.1:0.84.1
-google-cloud-errorreporting:0.118.1-beta:0.118.1-beta
\ No newline at end of file
+grpc-google-cloud-errorreporting-v1beta1:0.85.0:0.85.0
+proto-google-cloud-errorreporting-v1beta1:0.85.0:0.85.0
+google-cloud-errorreporting:0.119.0-beta:0.119.0-beta
\ No newline at end of file