Interface ErrorEventOrBuilder (0.176.0-beta)

public interface ErrorEventOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContext()

public abstract ErrorContext getContext()

Data about the context in which the error occurred.

.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;

Returns
Type Description
ErrorContext

The context.

getContextOrBuilder()

public abstract ErrorContextOrBuilder getContextOrBuilder()

Data about the context in which the error occurred.

.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;

Returns
Type Description
ErrorContextOrBuilder

getEventTime()

public abstract 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
Type Description
Timestamp

The eventTime.

getEventTimeOrBuilder()

public abstract 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;

Returns
Type Description
TimestampOrBuilder

getMessage()

public abstract String getMessage()

The stack trace that was reported or logged by the service.

string message = 3;

Returns
Type Description
String

The message.

getMessageBytes()

public abstract ByteString getMessageBytes()

The stack trace that was reported or logged by the service.

string message = 3;

Returns
Type Description
ByteString

The bytes for message.

getServiceContext()

public abstract ServiceContext getServiceContext()

The ServiceContext for which this error was reported.

.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;

Returns
Type Description
ServiceContext

The serviceContext.

getServiceContextOrBuilder()

public abstract ServiceContextOrBuilder getServiceContextOrBuilder()

The ServiceContext for which this error was reported.

.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;

Returns
Type Description
ServiceContextOrBuilder

hasContext()

public abstract boolean hasContext()

Data about the context in which the error occurred.

.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;

Returns
Type Description
boolean

Whether the context field is set.

hasEventTime()

public abstract 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
Type Description
boolean

Whether the eventTime field is set.

hasServiceContext()

public abstract boolean hasServiceContext()

The ServiceContext for which this error was reported.

.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;

Returns
Type Description
boolean

Whether the serviceContext field is set.