@Generated("by gapic-generator-java")
Package com.google.devtools.clouderrorreporting.v1beta1
A client to Error Reporting API
The interfaces provided are listed below, along with usage samples.
======================= ErrorGroupServiceClient =======================
Service Description: Service for retrieving and updating individual error groups.
Sample for ErrorGroupServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ErrorGroupServiceClient errorGroupServiceClient = ErrorGroupServiceClient.create()) {
ErrorGroupName groupName = ErrorGroupName.of("[PROJECT]", "[GROUP]");
ErrorGroup response = errorGroupServiceClient.getGroup(groupName);
}
======================= ErrorStatsServiceClient =======================
Service Description: An API for retrieving and managing error statistics as well as data for individual events.
Sample for ErrorStatsServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ErrorStatsServiceClient errorStatsServiceClient = ErrorStatsServiceClient.create()) {
ProjectName projectName = ProjectName.of("[PROJECT]");
DeleteEventsResponse response = errorStatsServiceClient.deleteEvents(projectName);
}
======================= ReportErrorsServiceClient =======================
Service Description: An API for reporting error events.
Sample for ReportErrorsServiceClient:
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (ReportErrorsServiceClient reportErrorsServiceClient = ReportErrorsServiceClient.create()) {
ProjectName projectName = ProjectName.of("[PROJECT]");
ReportedErrorEvent event = ReportedErrorEvent.newBuilder().build();
ReportErrorEventResponse response =
reportErrorsServiceClient.reportErrorEvent(projectName, event);
}
-
Interface Summary Interface Description DeleteEventsRequestOrBuilder DeleteEventsResponseOrBuilder ErrorContextOrBuilder ErrorEventOrBuilder ErrorGroupOrBuilder ErrorGroupServiceGrpc.AsyncService Service for retrieving and updating individual error groups.ErrorGroupStatsOrBuilder ErrorStatsServiceGrpc.AsyncService An API for retrieving and managing error statistics as well as data for individual events.GetGroupRequestOrBuilder HttpRequestContextOrBuilder ListEventsRequestOrBuilder ListEventsResponseOrBuilder ListGroupStatsRequestOrBuilder ListGroupStatsResponseOrBuilder QueryTimeRangeOrBuilder ReportedErrorEventOrBuilder ReportErrorEventRequestOrBuilder ReportErrorEventResponseOrBuilder ReportErrorsServiceGrpc.AsyncService An API for reporting error events.ServiceContextFilterOrBuilder ServiceContextOrBuilder SourceLocationOrBuilder TimedCountOrBuilder TrackingIssueOrBuilder UpdateGroupRequestOrBuilder -
Class Summary Class Description CommonProto DeleteEventsRequest Deletes all events in the project.DeleteEventsRequest.Builder Deletes all events in the project.DeleteEventsResponse Response message for deleting error events.DeleteEventsResponse.Builder Response message for deleting error events.ErrorContext A description of the context in which an error occurred.ErrorContext.Builder A description of the context in which an error occurred.ErrorEvent An error event which is returned by the Error Reporting system.ErrorEvent.Builder An error event which is returned by the Error Reporting system.ErrorGroup Description of a group of similar error events.ErrorGroup.Builder Description of a group of similar error events.ErrorGroupName ErrorGroupName.Builder Builder for projects/{project}/groups/{group}.ErrorGroupServiceClient Service Description: Service for retrieving and updating individual error groups.ErrorGroupServiceGrpc Service for retrieving and updating individual error groups.ErrorGroupServiceGrpc.ErrorGroupServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service ErrorGroupService.ErrorGroupServiceGrpc.ErrorGroupServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service ErrorGroupService.ErrorGroupServiceGrpc.ErrorGroupServiceImplBase Base class for the server implementation of the service ErrorGroupService.ErrorGroupServiceGrpc.ErrorGroupServiceStub A stub to allow clients to do asynchronous rpc calls to service ErrorGroupService.ErrorGroupServiceProto ErrorGroupServiceSettings Settings class to configure an instance ofErrorGroupServiceClient
.ErrorGroupServiceSettings.Builder Builder for ErrorGroupServiceSettings.ErrorGroupStats Data extracted for a specific group based on certain filter criteria, such as a given time period and/or service filter.ErrorGroupStats.Builder Data extracted for a specific group based on certain filter criteria, such as a given time period and/or service filter.ErrorStatsServiceClient Service Description: An API for retrieving and managing error statistics as well as data for individual events.ErrorStatsServiceClient.ListEventsFixedSizeCollection ErrorStatsServiceClient.ListEventsPage ErrorStatsServiceClient.ListEventsPagedResponse ErrorStatsServiceClient.ListGroupStatsFixedSizeCollection ErrorStatsServiceClient.ListGroupStatsPage ErrorStatsServiceClient.ListGroupStatsPagedResponse ErrorStatsServiceGrpc An API for retrieving and managing error statistics as well as data for individual events.ErrorStatsServiceGrpc.ErrorStatsServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service ErrorStatsService.ErrorStatsServiceGrpc.ErrorStatsServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service ErrorStatsService.ErrorStatsServiceGrpc.ErrorStatsServiceImplBase Base class for the server implementation of the service ErrorStatsService.ErrorStatsServiceGrpc.ErrorStatsServiceStub A stub to allow clients to do asynchronous rpc calls to service ErrorStatsService.ErrorStatsServiceProto ErrorStatsServiceSettings Settings class to configure an instance ofErrorStatsServiceClient
.ErrorStatsServiceSettings.Builder Builder for ErrorStatsServiceSettings.GetGroupRequest A request to return an individual group.GetGroupRequest.Builder A request to return an individual group.GroupName Deprecated. GroupName.Builder Builder for GroupName.HttpRequestContext HTTP request data that is related to a reported error.HttpRequestContext.Builder HTTP request data that is related to a reported error.ListEventsRequest Specifies a set of error events to return.ListEventsRequest.Builder Specifies a set of error events to return.ListEventsResponse Contains a set of requested error events.ListEventsResponse.Builder Contains a set of requested error events.ListGroupStatsRequest Specifies a set of `ErrorGroupStats` to return.ListGroupStatsRequest.Builder Specifies a set of `ErrorGroupStats` to return.ListGroupStatsResponse Contains a set of requested error group stats.ListGroupStatsResponse.Builder Contains a set of requested error group stats.ProjectName ProjectName.Builder Builder for projects/{project}.QueryTimeRange Requests might be rejected or the resulting timed count durations might be adjusted for lower durations.QueryTimeRange.Builder Requests might be rejected or the resulting timed count durations might be adjusted for lower durations.ReportedErrorEvent An error event which is reported to the Error Reporting system.ReportedErrorEvent.Builder An error event which is reported to the Error Reporting system.ReportErrorEventRequest A request for reporting an individual error event.ReportErrorEventRequest.Builder A request for reporting an individual error event.ReportErrorEventResponse Response for reporting an individual error event.ReportErrorEventResponse.Builder Response for reporting an individual error event.ReportErrorsServiceClient Service Description: An API for reporting error events.ReportErrorsServiceGrpc An API for reporting error events.ReportErrorsServiceGrpc.ReportErrorsServiceBlockingStub A stub to allow clients to do synchronous rpc calls to service ReportErrorsService.ReportErrorsServiceGrpc.ReportErrorsServiceFutureStub A stub to allow clients to do ListenableFuture-style rpc calls to service ReportErrorsService.ReportErrorsServiceGrpc.ReportErrorsServiceImplBase Base class for the server implementation of the service ReportErrorsService.ReportErrorsServiceGrpc.ReportErrorsServiceStub A stub to allow clients to do asynchronous rpc calls to service ReportErrorsService.ReportErrorsServiceProto ReportErrorsServiceSettings Settings class to configure an instance ofReportErrorsServiceClient
.ReportErrorsServiceSettings.Builder Builder for ReportErrorsServiceSettings.ServiceContext Describes a running service that sends errors.ServiceContext.Builder Describes a running service that sends errors.ServiceContextFilter Specifies criteria for filtering a subset of service contexts.ServiceContextFilter.Builder Specifies criteria for filtering a subset of service contexts.SourceLocation Indicates a location in the source code of the service for which errors are reported.SourceLocation.Builder Indicates a location in the source code of the service for which errors are reported.TimedCount The number of errors in a given time period.TimedCount.Builder The number of errors in a given time period.TrackingIssue Information related to tracking the progress on resolving the error.TrackingIssue.Builder Information related to tracking the progress on resolving the error.UpdateGroupRequest A request to replace the existing data for the given group.UpdateGroupRequest.Builder A request to replace the existing data for the given group. -
Enum Summary Enum Description ErrorGroupOrder A sorting order of error groups.QueryTimeRange.Period The supported time ranges.ResolutionStatus Resolution status of an error group.TimedCountAlignment Specifies how the time periods of error group counts are aligned.