• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2020 Google LLC
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *     https://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 // Generated by the protocol buffer compiler.  DO NOT EDIT!
17 // source: google/devtools/clouderrorreporting/v1beta1/common.proto
18 
19 package com.google.devtools.clouderrorreporting.v1beta1;
20 
21 public interface ErrorContextOrBuilder
22     extends
23     // @@protoc_insertion_point(interface_extends:google.devtools.clouderrorreporting.v1beta1.ErrorContext)
24     com.google.protobuf.MessageOrBuilder {
25 
26   /**
27    *
28    *
29    * <pre>
30    * The HTTP request which was processed when the error was
31    * triggered.
32    * </pre>
33    *
34    * <code>.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;</code>
35    *
36    * @return Whether the httpRequest field is set.
37    */
hasHttpRequest()38   boolean hasHttpRequest();
39   /**
40    *
41    *
42    * <pre>
43    * The HTTP request which was processed when the error was
44    * triggered.
45    * </pre>
46    *
47    * <code>.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;</code>
48    *
49    * @return The httpRequest.
50    */
getHttpRequest()51   com.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext getHttpRequest();
52   /**
53    *
54    *
55    * <pre>
56    * The HTTP request which was processed when the error was
57    * triggered.
58    * </pre>
59    *
60    * <code>.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;</code>
61    */
62   com.google.devtools.clouderrorreporting.v1beta1.HttpRequestContextOrBuilder
getHttpRequestOrBuilder()63       getHttpRequestOrBuilder();
64 
65   /**
66    *
67    *
68    * <pre>
69    * The user who caused or was affected by the crash.
70    * This can be a user ID, an email address, or an arbitrary token that
71    * uniquely identifies the user.
72    * When sending an error report, leave this field empty if the user was not
73    * logged in. In this case the
74    * Error Reporting system will use other data, such as remote IP address, to
75    * distinguish affected users. See `affected_users_count` in
76    * `ErrorGroupStats`.
77    * </pre>
78    *
79    * <code>string user = 2;</code>
80    *
81    * @return The user.
82    */
getUser()83   java.lang.String getUser();
84   /**
85    *
86    *
87    * <pre>
88    * The user who caused or was affected by the crash.
89    * This can be a user ID, an email address, or an arbitrary token that
90    * uniquely identifies the user.
91    * When sending an error report, leave this field empty if the user was not
92    * logged in. In this case the
93    * Error Reporting system will use other data, such as remote IP address, to
94    * distinguish affected users. See `affected_users_count` in
95    * `ErrorGroupStats`.
96    * </pre>
97    *
98    * <code>string user = 2;</code>
99    *
100    * @return The bytes for user.
101    */
getUserBytes()102   com.google.protobuf.ByteString getUserBytes();
103 
104   /**
105    *
106    *
107    * <pre>
108    * The location in the source code where the decision was made to
109    * report the error, usually the place where it was logged.
110    * For a logged exception this would be the source line where the
111    * exception is logged, usually close to the place where it was
112    * caught.
113    * </pre>
114    *
115    * <code>.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;</code>
116    *
117    * @return Whether the reportLocation field is set.
118    */
hasReportLocation()119   boolean hasReportLocation();
120   /**
121    *
122    *
123    * <pre>
124    * The location in the source code where the decision was made to
125    * report the error, usually the place where it was logged.
126    * For a logged exception this would be the source line where the
127    * exception is logged, usually close to the place where it was
128    * caught.
129    * </pre>
130    *
131    * <code>.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;</code>
132    *
133    * @return The reportLocation.
134    */
getReportLocation()135   com.google.devtools.clouderrorreporting.v1beta1.SourceLocation getReportLocation();
136   /**
137    *
138    *
139    * <pre>
140    * The location in the source code where the decision was made to
141    * report the error, usually the place where it was logged.
142    * For a logged exception this would be the source line where the
143    * exception is logged, usually close to the place where it was
144    * caught.
145    * </pre>
146    *
147    * <code>.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;</code>
148    */
149   com.google.devtools.clouderrorreporting.v1beta1.SourceLocationOrBuilder
getReportLocationOrBuilder()150       getReportLocationOrBuilder();
151 }
152