// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/devtools/clouderrorreporting/v1beta1/common.proto

package com.google.devtools.clouderrorreporting.v1beta1;

public interface ErrorEventOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.devtools.clouderrorreporting.v1beta1.ErrorEvent)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp event_time = 1;</code>
   */
  boolean hasEventTime();
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp event_time = 1;</code>
   */
  com.google.protobuf.Timestamp getEventTime();
  /**
   *
   *
   * <pre>
   * 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.
   * </pre>
   *
   * <code>.google.protobuf.Timestamp event_time = 1;</code>
   */
  com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder();

  /**
   *
   *
   * <pre>
   * The `ServiceContext` for which this error was reported.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;</code>
   */
  boolean hasServiceContext();
  /**
   *
   *
   * <pre>
   * The `ServiceContext` for which this error was reported.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;</code>
   */
  com.google.devtools.clouderrorreporting.v1beta1.ServiceContext getServiceContext();
  /**
   *
   *
   * <pre>
   * The `ServiceContext` for which this error was reported.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;</code>
   */
  com.google.devtools.clouderrorreporting.v1beta1.ServiceContextOrBuilder
      getServiceContextOrBuilder();

  /**
   *
   *
   * <pre>
   * The stack trace that was reported or logged by the service.
   * </pre>
   *
   * <code>string message = 3;</code>
   */
  java.lang.String getMessage();
  /**
   *
   *
   * <pre>
   * The stack trace that was reported or logged by the service.
   * </pre>
   *
   * <code>string message = 3;</code>
   */
  com.google.protobuf.ByteString getMessageBytes();

  /**
   *
   *
   * <pre>
   * Data about the context in which the error occurred.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;</code>
   */
  boolean hasContext();
  /**
   *
   *
   * <pre>
   * Data about the context in which the error occurred.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;</code>
   */
  com.google.devtools.clouderrorreporting.v1beta1.ErrorContext getContext();
  /**
   *
   *
   * <pre>
   * Data about the context in which the error occurred.
   * </pre>
   *
   * <code>.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;</code>
   */
  com.google.devtools.clouderrorreporting.v1beta1.ErrorContextOrBuilder getContextOrBuilder();
}
