public static final class ErrorEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ErrorEvent.Builder> implements ErrorEventOrBuilder
An error event which is returned by the Error Reporting system.Protobuf type
google.devtools.clouderrorreporting.v1beta1.ErrorEvent| Modifier and Type | Method and Description |
|---|---|
ErrorEvent.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ErrorEvent |
build() |
ErrorEvent |
buildPartial() |
ErrorEvent.Builder |
clear() |
ErrorEvent.Builder |
clearContext()
Data about the context in which the error occurred.
|
ErrorEvent.Builder |
clearEventTime()
Time when the event occurred as provided in the error report.
|
ErrorEvent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ErrorEvent.Builder |
clearMessage()
The stack trace that was reported or logged by the service.
|
ErrorEvent.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ErrorEvent.Builder |
clearServiceContext()
The `ServiceContext` for which this error was reported.
|
ErrorEvent.Builder |
clone() |
ErrorContext |
getContext()
Data about the context in which the error occurred.
|
ErrorContext.Builder |
getContextBuilder()
Data about the context in which the error occurred.
|
ErrorContextOrBuilder |
getContextOrBuilder()
Data about the context in which the error occurred.
|
ErrorEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEventTime()
Time when the event occurred as provided in the error report.
|
com.google.protobuf.Timestamp.Builder |
getEventTimeBuilder()
Time when the event occurred as provided in the error report.
|
com.google.protobuf.TimestampOrBuilder |
getEventTimeOrBuilder()
Time when the event occurred as provided in the error report.
|
java.lang.String |
getMessage()
The stack trace that was reported or logged by the service.
|
com.google.protobuf.ByteString |
getMessageBytes()
The stack trace that was reported or logged by the service.
|
ServiceContext |
getServiceContext()
The `ServiceContext` for which this error was reported.
|
ServiceContext.Builder |
getServiceContextBuilder()
The `ServiceContext` for which this error was reported.
|
ServiceContextOrBuilder |
getServiceContextOrBuilder()
The `ServiceContext` for which this error was reported.
|
boolean |
hasContext()
Data about the context in which the error occurred.
|
boolean |
hasEventTime()
Time when the event occurred as provided in the error report.
|
boolean |
hasServiceContext()
The `ServiceContext` for which this error was reported.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ErrorEvent.Builder |
mergeContext(ErrorContext value)
Data about the context in which the error occurred.
|
ErrorEvent.Builder |
mergeEventTime(com.google.protobuf.Timestamp value)
Time when the event occurred as provided in the error report.
|
ErrorEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ErrorEvent.Builder |
mergeFrom(ErrorEvent other) |
ErrorEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
ErrorEvent.Builder |
mergeServiceContext(ServiceContext value)
The `ServiceContext` for which this error was reported.
|
ErrorEvent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ErrorEvent.Builder |
setContext(ErrorContext.Builder builderForValue)
Data about the context in which the error occurred.
|
ErrorEvent.Builder |
setContext(ErrorContext value)
Data about the context in which the error occurred.
|
ErrorEvent.Builder |
setEventTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when the event occurred as provided in the error report.
|
ErrorEvent.Builder |
setEventTime(com.google.protobuf.Timestamp value)
Time when the event occurred as provided in the error report.
|
ErrorEvent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ErrorEvent.Builder |
setMessage(java.lang.String value)
The stack trace that was reported or logged by the service.
|
ErrorEvent.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
The stack trace that was reported or logged by the service.
|
ErrorEvent.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ErrorEvent.Builder |
setServiceContext(ServiceContext.Builder builderForValue)
The `ServiceContext` for which this error was reported.
|
ErrorEvent.Builder |
setServiceContext(ServiceContext value)
The `ServiceContext` for which this error was reported.
|
ErrorEvent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorEvent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ErrorEvent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ErrorEvent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ErrorEvent.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ErrorEvent.Builder>public ErrorEvent.Builder mergeFrom(ErrorEvent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ErrorEvent.Builder>java.io.IOExceptionpublic boolean hasEventTime()
Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used.
.google.protobuf.Timestamp event_time = 1;hasEventTime in interface ErrorEventOrBuilderpublic com.google.protobuf.Timestamp getEventTime()
Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used.
.google.protobuf.Timestamp event_time = 1;getEventTime in interface ErrorEventOrBuilderpublic ErrorEvent.Builder setEventTime(com.google.protobuf.Timestamp value)
Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used.
.google.protobuf.Timestamp event_time = 1;public ErrorEvent.Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValue)
Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used.
.google.protobuf.Timestamp event_time = 1;public ErrorEvent.Builder mergeEventTime(com.google.protobuf.Timestamp value)
Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used.
.google.protobuf.Timestamp event_time = 1;public ErrorEvent.Builder clearEventTime()
Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used.
.google.protobuf.Timestamp event_time = 1;public com.google.protobuf.Timestamp.Builder getEventTimeBuilder()
Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used.
.google.protobuf.Timestamp event_time = 1;public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()
Time when the event occurred as provided in the error report. If the report did not contain a timestamp, the time the error was received by the Error Reporting system is used.
.google.protobuf.Timestamp event_time = 1;getEventTimeOrBuilder in interface ErrorEventOrBuilderpublic boolean hasServiceContext()
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;hasServiceContext in interface ErrorEventOrBuilderpublic ServiceContext getServiceContext()
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;getServiceContext in interface ErrorEventOrBuilderpublic ErrorEvent.Builder setServiceContext(ServiceContext value)
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;public ErrorEvent.Builder setServiceContext(ServiceContext.Builder builderForValue)
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;public ErrorEvent.Builder mergeServiceContext(ServiceContext value)
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;public ErrorEvent.Builder clearServiceContext()
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;public ServiceContext.Builder getServiceContextBuilder()
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;public ServiceContextOrBuilder getServiceContextOrBuilder()
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;getServiceContextOrBuilder in interface ErrorEventOrBuilderpublic java.lang.String getMessage()
The stack trace that was reported or logged by the service.
string message = 3;getMessage in interface ErrorEventOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
The stack trace that was reported or logged by the service.
string message = 3;getMessageBytes in interface ErrorEventOrBuilderpublic ErrorEvent.Builder setMessage(java.lang.String value)
The stack trace that was reported or logged by the service.
string message = 3;public ErrorEvent.Builder clearMessage()
The stack trace that was reported or logged by the service.
string message = 3;public ErrorEvent.Builder setMessageBytes(com.google.protobuf.ByteString value)
The stack trace that was reported or logged by the service.
string message = 3;public boolean hasContext()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;hasContext in interface ErrorEventOrBuilderpublic ErrorContext getContext()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;getContext in interface ErrorEventOrBuilderpublic ErrorEvent.Builder setContext(ErrorContext value)
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;public ErrorEvent.Builder setContext(ErrorContext.Builder builderForValue)
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;public ErrorEvent.Builder mergeContext(ErrorContext value)
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;public ErrorEvent.Builder clearContext()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;public ErrorContext.Builder getContextBuilder()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;public ErrorContextOrBuilder getContextOrBuilder()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;getContextOrBuilder in interface ErrorEventOrBuilderpublic final ErrorEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorEvent.Builder>public final ErrorEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ErrorEvent.Builder>