Interface ErrorEventOrBuilder (0.162.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getMessage()

public abstract String getMessage()

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

string message = 3;

Returns
TypeDescription
String

The message.

getMessageBytes()

public abstract ByteString getMessageBytes()

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

string message = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ServiceContextOrBuilder

hasContext()

public abstract boolean hasContext()

Data about the context in which the error occurred.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the serviceContext field is set.