Class ErrorEvent (0.197.0-beta) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 0.197.0-betakeyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ErrorEvent   extends   GeneratedMessageV3   implements   ErrorEventOrBuilder  
   An error event which is returned by the Error Reporting system.
 Protobuf type google.devtools.clouderrorreporting.v1beta1.ErrorEvent
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  CONTEXT_FIELD_NUMBER 
  
    
public   static   final   int   CONTEXT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   EVENT_TIME_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  
  
    
public   static   final   int   MESSAGE_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  SERVICE_CONTEXT_FIELD_NUMBER 
  
    
public   static   final   int   SERVICE_CONTEXT_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   ErrorEvent   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   ErrorEvent . Builder   newBuilder ()  
  
  
    
public   static   ErrorEvent . Builder   newBuilder ( ErrorEvent   prototype )  
  
  
  
    
public   static   ErrorEvent   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   ErrorEvent   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ErrorEvent   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   ErrorEvent   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ErrorEvent   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   ErrorEvent   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ErrorEvent   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   ErrorEvent   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ErrorEvent   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   ErrorEvent   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   ErrorEvent   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   ErrorEvent   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<ErrorEvent>   parser ()  
  
  Methods
   
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  getContext() 
  
    
public   ErrorContext   getContext ()  
   Data about the context in which the error occurred.
 .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
getContextOrBuilder() 
  
    
public   ErrorContextOrBuilder   getContextOrBuilder ()  
   Data about the context in which the error occurred.
 .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
    
public   ErrorEvent   getDefaultInstanceForType ()  
  
  
    
public   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.
 
     
  
  
    
public   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;
    
public   String   getMessage ()  
   The stack trace that was reported or logged by the service.
 string message = 3;
    
      
        Returns  
      
        Type Description  
      
        String The message.
 
     
  
  
    
public   ByteString   getMessageBytes ()  
   The stack trace that was reported or logged by the service.
 string message = 3;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for message.
 
     
  
  
    
public   Parser<ErrorEvent>   getParserForType ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  getServiceContext() 
  
    
public   ServiceContext   getServiceContext ()  
   The ServiceContext for which this error was reported.
 .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
getServiceContextOrBuilder() 
  
    
public   ServiceContextOrBuilder   getServiceContextOrBuilder ()  
   The ServiceContext for which this error was reported.
 .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
hasContext() 
  
    
public   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.
 
     
  
  
    
public   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   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.
 
     
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   ErrorEvent . Builder   newBuilderForType ()  
  
  
    
protected   ErrorEvent . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   ErrorEvent . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]