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
Modifier and Type | Method and Description |
---|---|
ErrorEvent.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ErrorEvent |
build() |
ErrorEvent |
buildPartial() |
ErrorEvent.Builder |
clear() |
ErrorEvent.Builder |
clearContext()
Data about the context in which the error occurred.
|
ErrorEvent.Builder |
clearEventTime()
Time when the event occurred as provided in the error report.
|
ErrorEvent.Builder |
clearField(Descriptors.FieldDescriptor field) |
ErrorEvent.Builder |
clearMessage()
The stack trace that was reported or logged by the service.
|
ErrorEvent.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
ErrorEvent.Builder |
clearServiceContext()
The `ServiceContext` for which this error was reported.
|
ErrorEvent.Builder |
clone() |
ErrorContext |
getContext()
Data about the context in which the error occurred.
|
ErrorContext.Builder |
getContextBuilder()
Data about the context in which the error occurred.
|
ErrorContextOrBuilder |
getContextOrBuilder()
Data about the context in which the error occurred.
|
ErrorEvent |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
Timestamp |
getEventTime()
Time when the event occurred as provided in the error report.
|
Timestamp.Builder |
getEventTimeBuilder()
Time when the event occurred as provided in the error report.
|
TimestampOrBuilder |
getEventTimeOrBuilder()
Time when the event occurred as provided in the error report.
|
java.lang.String |
getMessage()
The stack trace that was reported or logged by the service.
|
ByteString |
getMessageBytes()
The stack trace that was reported or logged by the service.
|
ServiceContext |
getServiceContext()
The `ServiceContext` for which this error was reported.
|
ServiceContext.Builder |
getServiceContextBuilder()
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.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ErrorEvent.Builder |
mergeContext(ErrorContext value)
Data about the context in which the error occurred.
|
ErrorEvent.Builder |
mergeEventTime(Timestamp value)
Time when the event occurred as provided in the error report.
|
ErrorEvent.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
ErrorEvent.Builder |
mergeFrom(ErrorEvent other) |
ErrorEvent.Builder |
mergeFrom(Message other) |
ErrorEvent.Builder |
mergeServiceContext(ServiceContext value)
The `ServiceContext` for which this error was reported.
|
ErrorEvent.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
ErrorEvent.Builder |
setContext(ErrorContext.Builder builderForValue)
Data about the context in which the error occurred.
|
ErrorEvent.Builder |
setContext(ErrorContext value)
Data about the context in which the error occurred.
|
ErrorEvent.Builder |
setEventTime(Timestamp.Builder builderForValue)
Time when the event occurred as provided in the error report.
|
ErrorEvent.Builder |
setEventTime(Timestamp value)
Time when the event occurred as provided in the error report.
|
ErrorEvent.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
ErrorEvent.Builder |
setMessage(java.lang.String value)
The stack trace that was reported or logged by the service.
|
ErrorEvent.Builder |
setMessageBytes(ByteString value)
The stack trace that was reported or logged by the service.
|
ErrorEvent.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ErrorEvent.Builder |
setServiceContext(ServiceContext.Builder builderForValue)
The `ServiceContext` for which this error was reported.
|
ErrorEvent.Builder |
setServiceContext(ServiceContext value)
The `ServiceContext` for which this error was reported.
|
ErrorEvent.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<ErrorEvent.Builder>
public ErrorEvent.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<ErrorEvent.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<ErrorEvent.Builder>
public ErrorEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public ErrorEvent build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public ErrorEvent buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public ErrorEvent.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<ErrorEvent.Builder>
public ErrorEvent.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<ErrorEvent.Builder>
public ErrorEvent.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<ErrorEvent.Builder>
public ErrorEvent.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<ErrorEvent.Builder>
public ErrorEvent.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<ErrorEvent.Builder>
public ErrorEvent.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<ErrorEvent.Builder>
public ErrorEvent.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<ErrorEvent.Builder>
public ErrorEvent.Builder mergeFrom(ErrorEvent other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<ErrorEvent.Builder>
public ErrorEvent.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<ErrorEvent.Builder>
java.io.IOException
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;
hasEventTime
in interface ErrorEventOrBuilder
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;
getEventTime
in interface ErrorEventOrBuilder
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;
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;
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;
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;
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;
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;
getEventTimeOrBuilder
in interface ErrorEventOrBuilder
public boolean hasServiceContext()
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
hasServiceContext
in interface ErrorEventOrBuilder
public ServiceContext getServiceContext()
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
getServiceContext
in interface ErrorEventOrBuilder
public ErrorEvent.Builder setServiceContext(ServiceContext value)
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
public ErrorEvent.Builder setServiceContext(ServiceContext.Builder builderForValue)
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
public ErrorEvent.Builder mergeServiceContext(ServiceContext value)
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
public ErrorEvent.Builder clearServiceContext()
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
public ServiceContext.Builder getServiceContextBuilder()
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
public ServiceContextOrBuilder getServiceContextOrBuilder()
The `ServiceContext` for which this error was reported.
.google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;
getServiceContextOrBuilder
in interface ErrorEventOrBuilder
public java.lang.String getMessage()
The stack trace that was reported or logged by the service.
string message = 3;
getMessage
in interface ErrorEventOrBuilder
public ByteString getMessageBytes()
The stack trace that was reported or logged by the service.
string message = 3;
getMessageBytes
in interface ErrorEventOrBuilder
public ErrorEvent.Builder setMessage(java.lang.String value)
The stack trace that was reported or logged by the service.
string message = 3;
public ErrorEvent.Builder clearMessage()
The stack trace that was reported or logged by the service.
string message = 3;
public ErrorEvent.Builder setMessageBytes(ByteString value)
The stack trace that was reported or logged by the service.
string message = 3;
public boolean hasContext()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
hasContext
in interface ErrorEventOrBuilder
public ErrorContext getContext()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
getContext
in interface ErrorEventOrBuilder
public ErrorEvent.Builder setContext(ErrorContext value)
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
public ErrorEvent.Builder setContext(ErrorContext.Builder builderForValue)
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
public ErrorEvent.Builder mergeContext(ErrorContext value)
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
public ErrorEvent.Builder clearContext()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
public ErrorContext.Builder getContextBuilder()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
public ErrorContextOrBuilder getContextOrBuilder()
Data about the context in which the error occurred.
.google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 5;
getContextOrBuilder
in interface ErrorEventOrBuilder
public final ErrorEvent.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<ErrorEvent.Builder>
public final ErrorEvent.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<ErrorEvent.Builder>