public static final class ErrorContext.Builder extends GeneratedMessageV3.Builder<ErrorContext.Builder> implements ErrorContextOrBuilder
A description of the context in which an error occurred. 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.Protobuf type
google.devtools.clouderrorreporting.v1beta1.ErrorContext
Modifier and Type | Method and Description |
---|---|
ErrorContext.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ErrorContext |
build() |
ErrorContext |
buildPartial() |
ErrorContext.Builder |
clear() |
ErrorContext.Builder |
clearField(Descriptors.FieldDescriptor field) |
ErrorContext.Builder |
clearHttpRequest()
The HTTP request which was processed when the error was
triggered.
|
ErrorContext.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ErrorContext.Builder |
clearReportLocation()
The location in the source code where the decision was made to
report the error, usually the place where it was logged.
|
ErrorContext.Builder |
clearUser()
The user who caused or was affected by the crash.
|
ErrorContext.Builder |
clone() |
ErrorContext |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
HttpRequestContext |
getHttpRequest()
The HTTP request which was processed when the error was
triggered.
|
HttpRequestContext.Builder |
getHttpRequestBuilder()
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.
|
SourceLocation.Builder |
getReportLocationBuilder()
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.
|
java.lang.String |
getUser()
The user who caused or was affected by the crash.
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ErrorContext.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ErrorContext.Builder |
mergeFrom(ErrorContext other) |
ErrorContext.Builder |
mergeFrom(Message other) |
ErrorContext.Builder |
mergeHttpRequest(HttpRequestContext value)
The HTTP request which was processed when the error was
triggered.
|
ErrorContext.Builder |
mergeReportLocation(SourceLocation value)
The location in the source code where the decision was made to
report the error, usually the place where it was logged.
|
ErrorContext.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ErrorContext.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ErrorContext.Builder |
setHttpRequest(HttpRequestContext.Builder builderForValue)
The HTTP request which was processed when the error was
triggered.
|
ErrorContext.Builder |
setHttpRequest(HttpRequestContext value)
The HTTP request which was processed when the error was
triggered.
|
ErrorContext.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ErrorContext.Builder |
setReportLocation(SourceLocation.Builder builderForValue)
The location in the source code where the decision was made to
report the error, usually the place where it was logged.
|
ErrorContext.Builder |
setReportLocation(SourceLocation value)
The location in the source code where the decision was made to
report the error, usually the place where it was logged.
|
ErrorContext.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
ErrorContext.Builder |
setUser(java.lang.String value)
The user who caused or was affected by the crash.
|
ErrorContext.Builder |
setUserBytes(ByteString value)
The user who caused or was affected by the crash.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ErrorContext.Builder>
public ErrorContext.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ErrorContext.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ErrorContext.Builder>
public ErrorContext getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ErrorContext build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ErrorContext buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ErrorContext.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ErrorContext.Builder>
public ErrorContext.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ErrorContext.Builder>
public ErrorContext.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ErrorContext.Builder>
public ErrorContext.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ErrorContext.Builder>
public ErrorContext.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ErrorContext.Builder>
public ErrorContext.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ErrorContext.Builder>
public ErrorContext.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ErrorContext.Builder>
public ErrorContext.Builder mergeFrom(ErrorContext other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ErrorContext.Builder>
public ErrorContext.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ErrorContext.Builder>
java.io.IOException
public boolean hasHttpRequest()
The HTTP request which was processed when the error was triggered.
.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
hasHttpRequest
in interface ErrorContextOrBuilder
public HttpRequestContext getHttpRequest()
The HTTP request which was processed when the error was triggered.
.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
getHttpRequest
in interface ErrorContextOrBuilder
public ErrorContext.Builder setHttpRequest(HttpRequestContext value)
The HTTP request which was processed when the error was triggered.
.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
public ErrorContext.Builder setHttpRequest(HttpRequestContext.Builder builderForValue)
The HTTP request which was processed when the error was triggered.
.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
public ErrorContext.Builder mergeHttpRequest(HttpRequestContext value)
The HTTP request which was processed when the error was triggered.
.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
public ErrorContext.Builder clearHttpRequest()
The HTTP request which was processed when the error was triggered.
.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
public HttpRequestContext.Builder getHttpRequestBuilder()
The HTTP request which was processed when the error was triggered.
.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
public HttpRequestContextOrBuilder getHttpRequestOrBuilder()
The HTTP request which was processed when the error was triggered.
.google.devtools.clouderrorreporting.v1beta1.HttpRequestContext http_request = 1;
getHttpRequestOrBuilder
in interface ErrorContextOrBuilder
public java.lang.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;
getUser
in interface ErrorContextOrBuilder
public 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;
getUserBytes
in interface ErrorContextOrBuilder
public ErrorContext.Builder setUser(java.lang.String value)
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;
public ErrorContext.Builder clearUser()
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;
public ErrorContext.Builder setUserBytes(ByteString value)
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;
public 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. This value is in contrast to `Exception.cause_location`, which describes the source line where the exception was thrown.
.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
hasReportLocation
in interface ErrorContextOrBuilder
public 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. This value is in contrast to `Exception.cause_location`, which describes the source line where the exception was thrown.
.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
getReportLocation
in interface ErrorContextOrBuilder
public ErrorContext.Builder setReportLocation(SourceLocation value)
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. This value is in contrast to `Exception.cause_location`, which describes the source line where the exception was thrown.
.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
public ErrorContext.Builder setReportLocation(SourceLocation.Builder builderForValue)
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. This value is in contrast to `Exception.cause_location`, which describes the source line where the exception was thrown.
.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
public ErrorContext.Builder mergeReportLocation(SourceLocation value)
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. This value is in contrast to `Exception.cause_location`, which describes the source line where the exception was thrown.
.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
public ErrorContext.Builder clearReportLocation()
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. This value is in contrast to `Exception.cause_location`, which describes the source line where the exception was thrown.
.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
public SourceLocation.Builder getReportLocationBuilder()
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. This value is in contrast to `Exception.cause_location`, which describes the source line where the exception was thrown.
.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
public 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. This value is in contrast to `Exception.cause_location`, which describes the source line where the exception was thrown.
.google.devtools.clouderrorreporting.v1beta1.SourceLocation report_location = 3;
getReportLocationOrBuilder
in interface ErrorContextOrBuilder
public final ErrorContext.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ErrorContext.Builder>
public final ErrorContext.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ErrorContext.Builder>