- 0.175.0-beta (latest)
- 0.174.0-beta
- 0.173.0-beta
- 0.172.0-beta
- 0.170.0-beta
- 0.169.0-beta
- 0.168.0-beta
- 0.167.0-beta
- 0.166.0-beta
- 0.165.0-beta
- 0.164.0-beta
- 0.163.0-beta
- 0.162.0-beta
- 0.161.0-beta
- 0.160.0-beta
- 0.158.0-beta
- 0.157.0-beta
- 0.156.0-beta
- 0.155.0-beta
- 0.154.0-beta
- 0.153.0-beta
- 0.152.0-beta
- 0.151.0-beta
- 0.150.0-beta
- 0.149.0-beta
- 0.148.0-beta
- 0.145.0-beta
- 0.144.0-beta
- 0.143.0-beta
- 0.142.0-beta
- 0.141.0-beta
- 0.140.0-beta
- 0.139.0-beta
- 0.138.0-beta
- 0.137.0-beta
- 0.136.0-beta
- 0.135.0-beta
- 0.134.0-beta
- 0.133.0-beta
- 0.132.0-beta
- 0.130.0-beta
- 0.129.0-beta
- 0.128.0-beta
- 0.127.0-beta
- 0.126.0-beta
- 0.125.0-beta
- 0.124.15-beta
- 0.123.4-beta
- 0.122.23-beta
public static final class ErrorEvent.Builder extends GeneratedMessageV3.Builder<ErrorEvent.Builder> implements ErrorEventOrBuilder
An error event which is returned by the Error Reporting system.
Protobuf type google.devtools.clouderrorreporting.v1beta1.ErrorEvent
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ErrorEvent.BuilderImplements
ErrorEventOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ErrorEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ErrorEvent.Builder |
build()
public ErrorEvent build()
Type | Description |
ErrorEvent |
buildPartial()
public ErrorEvent buildPartial()
Type | Description |
ErrorEvent |
clear()
public ErrorEvent.Builder clear()
Type | Description |
ErrorEvent.Builder |
clearContext()
public ErrorEvent.Builder clearContext()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
Type | Description |
ErrorEvent.Builder |
clearEventTime()
public ErrorEvent.Builder clearEventTime()
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;
Type | Description |
ErrorEvent.Builder |
clearField(Descriptors.FieldDescriptor field)
public ErrorEvent.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ErrorEvent.Builder |
clearMessage()
public ErrorEvent.Builder clearMessage()
The stack trace that was reported or logged by the service.
string message = 3;
Type | Description |
ErrorEvent.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ErrorEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ErrorEvent.Builder |
clearServiceContext()
public ErrorEvent.Builder clearServiceContext()
The ServiceContext
for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
Type | Description |
ErrorEvent.Builder |
clone()
public ErrorEvent.Builder clone()
Type | Description |
ErrorEvent.Builder |
getContext()
public ErrorContext getContext()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
Type | Description |
ErrorContext | The context. |
getContextBuilder()
public ErrorContext.Builder getContextBuilder()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
Type | Description |
ErrorContext.Builder |
getContextOrBuilder()
public ErrorContextOrBuilder getContextOrBuilder()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
Type | Description |
ErrorContextOrBuilder |
getDefaultInstanceForType()
public ErrorEvent getDefaultInstanceForType()
Type | Description |
ErrorEvent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEventTime()
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;
Type | Description |
Timestamp | The eventTime. |
getEventTimeBuilder()
public Timestamp.Builder getEventTimeBuilder()
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;
Type | Description |
Builder |
getEventTimeOrBuilder()
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;
Type | Description |
TimestampOrBuilder |
getMessage()
public String getMessage()
The stack trace that was reported or logged by the service.
string message = 3;
Type | Description |
String | The message. |
getMessageBytes()
public ByteString getMessageBytes()
The stack trace that was reported or logged by the service.
string message = 3;
Type | Description |
ByteString | The bytes for message. |
getServiceContext()
public ServiceContext getServiceContext()
The ServiceContext
for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
Type | Description |
ServiceContext | The serviceContext. |
getServiceContextBuilder()
public ServiceContext.Builder getServiceContextBuilder()
The ServiceContext
for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
Type | Description |
ServiceContext.Builder |
getServiceContextOrBuilder()
public ServiceContextOrBuilder getServiceContextOrBuilder()
The ServiceContext
for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
Type | Description |
ServiceContextOrBuilder |
hasContext()
public boolean hasContext()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
Type | Description |
boolean | Whether the context field is set. |
hasEventTime()
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;
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;
Type | Description |
boolean | Whether the serviceContext field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeContext(ErrorContext value)
public ErrorEvent.Builder mergeContext(ErrorContext value)
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
Name | Description |
value | ErrorContext |
Type | Description |
ErrorEvent.Builder |
mergeEventTime(Timestamp value)
public ErrorEvent.Builder mergeEventTime(Timestamp value)
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;
Name | Description |
value | Timestamp |
Type | Description |
ErrorEvent.Builder |
mergeFrom(ErrorEvent other)
public ErrorEvent.Builder mergeFrom(ErrorEvent other)
Name | Description |
other | ErrorEvent |
Type | Description |
ErrorEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ErrorEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ErrorEvent.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ErrorEvent.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ErrorEvent.Builder |
mergeServiceContext(ServiceContext value)
public ErrorEvent.Builder mergeServiceContext(ServiceContext value)
The ServiceContext
for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
Name | Description |
value | ServiceContext |
Type | Description |
ErrorEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ErrorEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ErrorEvent.Builder |
setContext(ErrorContext value)
public ErrorEvent.Builder setContext(ErrorContext value)
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
Name | Description |
value | ErrorContext |
Type | Description |
ErrorEvent.Builder |
setContext(ErrorContext.Builder builderForValue)
public ErrorEvent.Builder setContext(ErrorContext.Builder builderForValue)
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
Name | Description |
builderForValue | ErrorContext.Builder |
Type | Description |
ErrorEvent.Builder |
setEventTime(Timestamp value)
public ErrorEvent.Builder setEventTime(Timestamp value)
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;
Name | Description |
value | Timestamp |
Type | Description |
ErrorEvent.Builder |
setEventTime(Timestamp.Builder builderForValue)
public ErrorEvent.Builder setEventTime(Timestamp.Builder builderForValue)
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;
Name | Description |
builderForValue | Builder |
Type | Description |
ErrorEvent.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ErrorEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ErrorEvent.Builder |
setMessage(String value)
public ErrorEvent.Builder setMessage(String value)
The stack trace that was reported or logged by the service.
string message = 3;
Name | Description |
value | String The message to set. |
Type | Description |
ErrorEvent.Builder | This builder for chaining. |
setMessageBytes(ByteString value)
public ErrorEvent.Builder setMessageBytes(ByteString value)
The stack trace that was reported or logged by the service.
string message = 3;
Name | Description |
value | ByteString The bytes for message to set. |
Type | Description |
ErrorEvent.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ErrorEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ErrorEvent.Builder |
setServiceContext(ServiceContext value)
public ErrorEvent.Builder setServiceContext(ServiceContext value)
The ServiceContext
for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
Name | Description |
value | ServiceContext |
Type | Description |
ErrorEvent.Builder |
setServiceContext(ServiceContext.Builder builderForValue)
public ErrorEvent.Builder setServiceContext(ServiceContext.Builder builderForValue)
The ServiceContext
for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
Name | Description |
builderForValue | ServiceContext.Builder |
Type | Description |
ErrorEvent.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ErrorEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ErrorEvent.Builder |