public static final class ErrorEvent.Builder extends 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(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(Descriptors.FieldDescriptor field) |
ErrorEvent.Builder |
clearMessage()
The stack trace that was reported or logged by the service.
|
ErrorEvent.Builder |
clearOneof(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 Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Timestamp |
getEventTime()
Time when the event occurred as provided in the error report.
|
Timestamp.Builder |
getEventTimeBuilder()
Time when the event occurred as provided in the error report.
|
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.
|
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 GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ErrorEvent.Builder |
mergeContext(ErrorContext value)
Data about the context in which the error occurred.
|
ErrorEvent.Builder |
mergeEventTime(Timestamp value)
Time when the event occurred as provided in the error report.
|
ErrorEvent.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ErrorEvent.Builder |
mergeFrom(ErrorEvent other) |
ErrorEvent.Builder |
mergeFrom(Message other) |
ErrorEvent.Builder |
mergeServiceContext(ServiceContext value)
The `ServiceContext` for which this error was reported.
|
ErrorEvent.Builder |
mergeUnknownFields(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(Timestamp.Builder builderForValue)
Time when the event occurred as provided in the error report.
|
ErrorEvent.Builder |
setEventTime(Timestamp value)
Time when the event occurred as provided in the error report.
|
ErrorEvent.Builder |
setField(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(ByteString value)
The stack trace that was reported or logged by the service.
|
ErrorEvent.Builder |
setRepeatedField(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(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofmergeFrompublic static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder clear()
clear in interface Message.Builderclear in interface MessageLite.Builderclear in class GeneratedMessageV3.Builder<ErrorEvent.Builder>public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface Message.BuildergetDescriptorForType in interface MessageOrBuildergetDescriptorForType in class GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderpublic ErrorEvent build()
build in interface Message.Builderbuild in interface MessageLite.Builderpublic ErrorEvent buildPartial()
buildPartial in interface Message.BuilderbuildPartial in interface MessageLite.Builderpublic ErrorEvent.Builder clone()
clone in interface Message.Builderclone in interface MessageLite.Builderclone in class GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface Message.BuildersetField in class GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder clearField(Descriptors.FieldDescriptor field)
clearField in interface Message.BuilderclearField in class GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof in interface Message.BuilderclearOneof in class GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface Message.BuildersetRepeatedField in class GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface Message.BuilderaddRepeatedField in class GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder mergeFrom(Message other)
mergeFrom in interface Message.BuildermergeFrom in class AbstractMessage.Builder<ErrorEvent.Builder>public ErrorEvent.Builder mergeFrom(ErrorEvent other)
public final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3.Builder<ErrorEvent.Builder>public ErrorEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface Message.BuildermergeFrom in interface MessageLite.BuildermergeFrom in class 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 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(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(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(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 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 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 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(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(UnknownFieldSet unknownFields)
setUnknownFields in interface Message.BuildersetUnknownFields in class GeneratedMessageV3.Builder<ErrorEvent.Builder>public final ErrorEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields in interface Message.BuildermergeUnknownFields in class GeneratedMessageV3.Builder<ErrorEvent.Builder>