Interface ErrorEventOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ErrorEvent,ErrorEvent.Builder
public interface ErrorEventOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ErrorContextgetContext()Data about the context in which the error occurred.ErrorContextOrBuildergetContextOrBuilder()Data about the context in which the error occurred.com.google.protobuf.TimestampgetEventTime()Time when the event occurred as provided in the error report.com.google.protobuf.TimestampOrBuildergetEventTimeOrBuilder()Time when the event occurred as provided in the error report.StringgetMessage()The stack trace that was reported or logged by the service.com.google.protobuf.ByteStringgetMessageBytes()The stack trace that was reported or logged by the service.ServiceContextgetServiceContext()The `ServiceContext` for which this error was reported.ServiceContextOrBuildergetServiceContextOrBuilder()The `ServiceContext` for which this error was reported.booleanhasContext()Data about the context in which the error occurred.booleanhasEventTime()Time when the event occurred as provided in the error report.booleanhasServiceContext()The `ServiceContext` for which this error was reported.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasEventTime
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;- Returns:
- Whether the eventTime field is set.
-
getEventTime
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;- Returns:
- The eventTime.
-
getEventTimeOrBuilder
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;
-
hasServiceContext
boolean hasServiceContext()
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;- Returns:
- Whether the serviceContext field is set.
-
getServiceContext
ServiceContext getServiceContext()
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;- Returns:
- The serviceContext.
-
getServiceContextOrBuilder
ServiceContextOrBuilder getServiceContextOrBuilder()
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
-
getMessage
String getMessage()
The stack trace that was reported or logged by the service.
string message = 3;- Returns:
- The message.
-
getMessageBytes
com.google.protobuf.ByteString getMessageBytes()
The stack trace that was reported or logged by the service.
string message = 3;- Returns:
- The bytes for message.
-
hasContext
boolean hasContext()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;- Returns:
- Whether the context field is set.
-
getContext
ErrorContext getContext()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;- Returns:
- The context.
-
getContextOrBuilder
ErrorContextOrBuilder getContextOrBuilder()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
-
-