- 0.173.0-beta (latest)
- 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ErrorEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ErrorEvent.Builder |
build()
public ErrorEvent build()
Returns | |
---|---|
Type | Description |
ErrorEvent |
buildPartial()
public ErrorEvent buildPartial()
Returns | |
---|---|
Type | Description |
ErrorEvent |
clear()
public ErrorEvent.Builder clear()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ErrorEvent.Builder |
clearField(Descriptors.FieldDescriptor field)
public ErrorEvent.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ErrorEvent.Builder |
clearMessage()
public ErrorEvent.Builder clearMessage()
The stack trace that was reported or logged by the service.
string message = 3;
Returns | |
---|---|
Type | Description |
ErrorEvent.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ErrorEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ErrorEvent.Builder |
clone()
public ErrorEvent.Builder clone()
Returns | |
---|---|
Type | Description |
ErrorEvent.Builder |
getContext()
public ErrorContext getContext()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ErrorContext.Builder |
getContextOrBuilder()
public ErrorContextOrBuilder getContextOrBuilder()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
Returns | |
---|---|
Type | Description |
ErrorContextOrBuilder |
getDefaultInstanceForType()
public ErrorEvent getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ErrorEvent |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
TimestampOrBuilder |
getMessage()
public String getMessage()
The stack trace that was reported or logged by the service.
string message = 3;
Returns | |
---|---|
Type | Description |
String | The message. |
getMessageBytes()
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. |
getServiceContext()
public ServiceContext getServiceContext()
The ServiceContext
for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
ServiceContext.Builder |
getServiceContextOrBuilder()
public ServiceContextOrBuilder getServiceContextOrBuilder()
The ServiceContext
for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
Returns | |
---|---|
Type | Description |
ServiceContextOrBuilder |
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. |
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;
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ErrorContext |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
ErrorEvent.Builder |
mergeFrom(ErrorEvent other)
public ErrorEvent.Builder mergeFrom(ErrorEvent other)
Parameter | |
---|---|
Name | Description |
other | ErrorEvent |
Returns | |
---|---|
Type | Description |
ErrorEvent.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ErrorEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ErrorEvent.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ErrorEvent.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ServiceContext |
Returns | |
---|---|
Type | Description |
ErrorEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ErrorEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ErrorContext |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | ErrorContext.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
ErrorEvent.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ErrorEvent.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | String The message to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for message to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value | ServiceContext |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue | ServiceContext.Builder |
Returns | |
---|---|
Type | Description |
ErrorEvent.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ErrorEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ErrorEvent.Builder |