Interface ErrorContextOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ErrorContext
,ErrorContext.Builder
public interface ErrorContextOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpRequestContext
getHttpRequest()
The HTTP request which was processed when the error was triggered.HttpRequestContextOrBuilder
getHttpRequestOrBuilder()
The HTTP request which was processed when the error was triggered.SourceLocation
getReportLocation()
The location in the source code where the decision was made to report the error, usually the place where it was logged.SourceLocationOrBuilder
getReportLocationOrBuilder()
The location in the source code where the decision was made to report the error, usually the place where it was logged.String
getUser()
The user who caused or was affected by the crash.com.google.protobuf.ByteString
getUserBytes()
The user who caused or was affected by the crash.boolean
hasHttpRequest()
The HTTP request which was processed when the error was triggered.boolean
hasReportLocation()
The location in the source code where the decision was made to report the error, usually the place where it was logged.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasHttpRequest
boolean hasHttpRequest()
The HTTP request which was processed when the error was triggered.
.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
- Returns:
- Whether the httpRequest field is set.
-
getHttpRequest
HttpRequestContext getHttpRequest()
The HTTP request which was processed when the error was triggered.
.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
- Returns:
- The httpRequest.
-
getHttpRequestOrBuilder
HttpRequestContextOrBuilder getHttpRequestOrBuilder()
The HTTP request which was processed when the error was triggered.
.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
-
getUser
String getUser()
The user who caused or was affected by the crash. This can be a user ID, an email address, or an arbitrary token that uniquely identifies the user. When sending an error report, leave this field empty if the user was not logged in. In this case the Error Reporting system will use other data, such as remote IP address, to distinguish affected users. See `affected_users_count` in `ErrorGroupStats`.
string user = 2;
- Returns:
- The user.
-
getUserBytes
com.google.protobuf.ByteString getUserBytes()
The user who caused or was affected by the crash. This can be a user ID, an email address, or an arbitrary token that uniquely identifies the user. When sending an error report, leave this field empty if the user was not logged in. In this case the Error Reporting system will use other data, such as remote IP address, to distinguish affected users. See `affected_users_count` in `ErrorGroupStats`.
string user = 2;
- Returns:
- The bytes for user.
-
hasReportLocation
boolean hasReportLocation()
The location in the source code where the decision was made to 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.
.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
- Returns:
- Whether the reportLocation field is set.
-
getReportLocation
SourceLocation getReportLocation()
The location in the source code where the decision was made to 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.
.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
- Returns:
- The reportLocation.
-
getReportLocationOrBuilder
SourceLocationOrBuilder getReportLocationOrBuilder()
The location in the source code where the decision was made to 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.
.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
-
-