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
      ErrorContext getContext()
      Data about the context in which the error occurred.
      ErrorContextOrBuilder getContextOrBuilder()
      Data about the context in which the error occurred.
      com.google.protobuf.Timestamp getEventTime()
      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.
      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.
      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.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • 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;