public static final class ReportedErrorEvent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ReportedErrorEvent.Builder> implements ReportedErrorEventOrBuilder
An error event which is reported to the Error Reporting system.Protobuf type
google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent| Modifier and Type | Method and Description |
|---|---|
ReportedErrorEvent.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ReportedErrorEvent |
build() |
ReportedErrorEvent |
buildPartial() |
ReportedErrorEvent.Builder |
clear() |
ReportedErrorEvent.Builder |
clearContext()
[Optional] A description of the context in which the error occurred.
|
ReportedErrorEvent.Builder |
clearEventTime()
[Optional] Time when the event occurred.
|
ReportedErrorEvent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ReportedErrorEvent.Builder |
clearMessage()
[Required] A message describing the error.
|
ReportedErrorEvent.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ReportedErrorEvent.Builder |
clearServiceContext()
[Required] The service context in which this error has occurred.
|
ReportedErrorEvent.Builder |
clone() |
ErrorContext |
getContext()
[Optional] A description of the context in which the error occurred.
|
ErrorContext.Builder |
getContextBuilder()
[Optional] A description of the context in which the error occurred.
|
ErrorContextOrBuilder |
getContextOrBuilder()
[Optional] A description of the context in which the error occurred.
|
ReportedErrorEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEventTime()
[Optional] Time when the event occurred.
|
com.google.protobuf.Timestamp.Builder |
getEventTimeBuilder()
[Optional] Time when the event occurred.
|
com.google.protobuf.TimestampOrBuilder |
getEventTimeOrBuilder()
[Optional] Time when the event occurred.
|
java.lang.String |
getMessage()
[Required] A message describing the error.
|
com.google.protobuf.ByteString |
getMessageBytes()
[Required] A message describing the error.
|
ServiceContext |
getServiceContext()
[Required] The service context in which this error has occurred.
|
ServiceContext.Builder |
getServiceContextBuilder()
[Required] The service context in which this error has occurred.
|
ServiceContextOrBuilder |
getServiceContextOrBuilder()
[Required] The service context in which this error has occurred.
|
boolean |
hasContext()
[Optional] A description of the context in which the error occurred.
|
boolean |
hasEventTime()
[Optional] Time when the event occurred.
|
boolean |
hasServiceContext()
[Required] The service context in which this error has occurred.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ReportedErrorEvent.Builder |
mergeContext(ErrorContext value)
[Optional] A description of the context in which the error occurred.
|
ReportedErrorEvent.Builder |
mergeEventTime(com.google.protobuf.Timestamp value)
[Optional] Time when the event occurred.
|
ReportedErrorEvent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ReportedErrorEvent.Builder |
mergeFrom(com.google.protobuf.Message other) |
ReportedErrorEvent.Builder |
mergeFrom(ReportedErrorEvent other) |
ReportedErrorEvent.Builder |
mergeServiceContext(ServiceContext value)
[Required] The service context in which this error has occurred.
|
ReportedErrorEvent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ReportedErrorEvent.Builder |
setContext(ErrorContext.Builder builderForValue)
[Optional] A description of the context in which the error occurred.
|
ReportedErrorEvent.Builder |
setContext(ErrorContext value)
[Optional] A description of the context in which the error occurred.
|
ReportedErrorEvent.Builder |
setEventTime(com.google.protobuf.Timestamp.Builder builderForValue)
[Optional] Time when the event occurred.
|
ReportedErrorEvent.Builder |
setEventTime(com.google.protobuf.Timestamp value)
[Optional] Time when the event occurred.
|
ReportedErrorEvent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
ReportedErrorEvent.Builder |
setMessage(java.lang.String value)
[Required] A message describing the error.
|
ReportedErrorEvent.Builder |
setMessageBytes(com.google.protobuf.ByteString value)
[Required] A message describing the error.
|
ReportedErrorEvent.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
ReportedErrorEvent.Builder |
setServiceContext(ServiceContext.Builder builderForValue)
[Required] The service context in which this error has occurred.
|
ReportedErrorEvent.Builder |
setServiceContext(ServiceContext value)
[Required] The service context in which this error has occurred.
|
ReportedErrorEvent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, parseUnknownFieldfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ReportedErrorEvent.Builder>public ReportedErrorEvent.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ReportedErrorEvent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ReportedErrorEvent.Builder>public ReportedErrorEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ReportedErrorEvent build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ReportedErrorEvent buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ReportedErrorEvent.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ReportedErrorEvent.Builder>public ReportedErrorEvent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ReportedErrorEvent.Builder>public ReportedErrorEvent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ReportedErrorEvent.Builder>public ReportedErrorEvent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ReportedErrorEvent.Builder>public ReportedErrorEvent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReportedErrorEvent.Builder>public ReportedErrorEvent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ReportedErrorEvent.Builder>public ReportedErrorEvent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReportedErrorEvent.Builder>public ReportedErrorEvent.Builder mergeFrom(ReportedErrorEvent other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ReportedErrorEvent.Builder>public ReportedErrorEvent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ReportedErrorEvent.Builder>java.io.IOExceptionpublic boolean hasEventTime()
[Optional] Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.
optional .google.protobuf.Timestamp event_time = 1;hasEventTime in interface ReportedErrorEventOrBuilderpublic com.google.protobuf.Timestamp getEventTime()
[Optional] Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.
optional .google.protobuf.Timestamp event_time = 1;getEventTime in interface ReportedErrorEventOrBuilderpublic ReportedErrorEvent.Builder setEventTime(com.google.protobuf.Timestamp value)
[Optional] Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.
optional .google.protobuf.Timestamp event_time = 1;public ReportedErrorEvent.Builder setEventTime(com.google.protobuf.Timestamp.Builder builderForValue)
[Optional] Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.
optional .google.protobuf.Timestamp event_time = 1;public ReportedErrorEvent.Builder mergeEventTime(com.google.protobuf.Timestamp value)
[Optional] Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.
optional .google.protobuf.Timestamp event_time = 1;public ReportedErrorEvent.Builder clearEventTime()
[Optional] Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.
optional .google.protobuf.Timestamp event_time = 1;public com.google.protobuf.Timestamp.Builder getEventTimeBuilder()
[Optional] Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.
optional .google.protobuf.Timestamp event_time = 1;public com.google.protobuf.TimestampOrBuilder getEventTimeOrBuilder()
[Optional] Time when the event occurred. If not provided, the time when the event was received by the Error Reporting system will be used.
optional .google.protobuf.Timestamp event_time = 1;getEventTimeOrBuilder in interface ReportedErrorEventOrBuilderpublic boolean hasServiceContext()
[Required] The service context in which this error has occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;hasServiceContext in interface ReportedErrorEventOrBuilderpublic ServiceContext getServiceContext()
[Required] The service context in which this error has occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;getServiceContext in interface ReportedErrorEventOrBuilderpublic ReportedErrorEvent.Builder setServiceContext(ServiceContext value)
[Required] The service context in which this error has occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;public ReportedErrorEvent.Builder setServiceContext(ServiceContext.Builder builderForValue)
[Required] The service context in which this error has occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;public ReportedErrorEvent.Builder mergeServiceContext(ServiceContext value)
[Required] The service context in which this error has occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;public ReportedErrorEvent.Builder clearServiceContext()
[Required] The service context in which this error has occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;public ServiceContext.Builder getServiceContextBuilder()
[Required] The service context in which this error has occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;public ServiceContextOrBuilder getServiceContextOrBuilder()
[Required] The service context in which this error has occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ServiceContext service_context = 2;getServiceContextOrBuilder in interface ReportedErrorEventOrBuilderpublic java.lang.String getMessage()
[Required] A message describing the error. The message can contain an exception stack in one of the supported programming languages and formats. In that case, the message is parsed and detailed exception information is returned when retrieving the error event again.
optional string message = 3;getMessage in interface ReportedErrorEventOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
[Required] A message describing the error. The message can contain an exception stack in one of the supported programming languages and formats. In that case, the message is parsed and detailed exception information is returned when retrieving the error event again.
optional string message = 3;getMessageBytes in interface ReportedErrorEventOrBuilderpublic ReportedErrorEvent.Builder setMessage(java.lang.String value)
[Required] A message describing the error. The message can contain an exception stack in one of the supported programming languages and formats. In that case, the message is parsed and detailed exception information is returned when retrieving the error event again.
optional string message = 3;public ReportedErrorEvent.Builder clearMessage()
[Required] A message describing the error. The message can contain an exception stack in one of the supported programming languages and formats. In that case, the message is parsed and detailed exception information is returned when retrieving the error event again.
optional string message = 3;public ReportedErrorEvent.Builder setMessageBytes(com.google.protobuf.ByteString value)
[Required] A message describing the error. The message can contain an exception stack in one of the supported programming languages and formats. In that case, the message is parsed and detailed exception information is returned when retrieving the error event again.
optional string message = 3;public boolean hasContext()
[Optional] A description of the context in which the error occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;hasContext in interface ReportedErrorEventOrBuilderpublic ErrorContext getContext()
[Optional] A description of the context in which the error occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;getContext in interface ReportedErrorEventOrBuilderpublic ReportedErrorEvent.Builder setContext(ErrorContext value)
[Optional] A description of the context in which the error occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;public ReportedErrorEvent.Builder setContext(ErrorContext.Builder builderForValue)
[Optional] A description of the context in which the error occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;public ReportedErrorEvent.Builder mergeContext(ErrorContext value)
[Optional] A description of the context in which the error occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;public ReportedErrorEvent.Builder clearContext()
[Optional] A description of the context in which the error occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;public ErrorContext.Builder getContextBuilder()
[Optional] A description of the context in which the error occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;public ErrorContextOrBuilder getContextOrBuilder()
[Optional] A description of the context in which the error occurred.
optional .google.devtools.clouderrorreporting.v1beta1.ErrorContext context = 4;getContextOrBuilder in interface ReportedErrorEventOrBuilderpublic final ReportedErrorEvent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReportedErrorEvent.Builder>public final ReportedErrorEvent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ReportedErrorEvent.Builder>