public final class ReportErrorEventRequest extends com.google.protobuf.GeneratedMessageV3 implements ReportErrorEventRequestOrBuilder
A request for reporting an individual error event.Protobuf type
google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ReportErrorEventRequest.Builder
A request for reporting an individual error event.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
EVENT_FIELD_NUMBER |
static int |
PROJECT_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static ReportErrorEventRequest |
getDefaultInstance() |
ReportErrorEventRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
ReportedErrorEvent |
getEvent()
[Required] The error event to be reported.
|
ReportedErrorEventOrBuilder |
getEventOrBuilder()
[Required] The error event to be reported.
|
com.google.protobuf.Parser<ReportErrorEventRequest> |
getParserForType() |
java.lang.String |
getProjectName()
[Required] The resource name of the Google Cloud Platform project.
|
ProjectName |
getProjectNameAsProjectName() |
com.google.protobuf.ByteString |
getProjectNameBytes()
[Required] The resource name of the Google Cloud Platform project.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasEvent()
[Required] The error event to be reported.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ReportErrorEventRequest.Builder |
newBuilder() |
static ReportErrorEventRequest.Builder |
newBuilder(ReportErrorEventRequest prototype) |
ReportErrorEventRequest.Builder |
newBuilderForType() |
protected ReportErrorEventRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ReportErrorEventRequest |
parseDelimitedFrom(java.io.InputStream input) |
static ReportErrorEventRequest |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReportErrorEventRequest |
parseFrom(byte[] data) |
static ReportErrorEventRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReportErrorEventRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ReportErrorEventRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReportErrorEventRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReportErrorEventRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReportErrorEventRequest |
parseFrom(java.io.InputStream input) |
static ReportErrorEventRequest |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReportErrorEventRequest> |
parser() |
ReportErrorEventRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PROJECT_NAME_FIELD_NUMBER
public static final int EVENT_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.lang.String getProjectName()
[Required] The resource name of the Google Cloud Platform project. Written as `projects/` plus the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
string project_name = 1;getProjectName in interface ReportErrorEventRequestOrBuilderpublic com.google.protobuf.ByteString getProjectNameBytes()
[Required] The resource name of the Google Cloud Platform project. Written as `projects/` plus the [Google Cloud Platform project ID](https://support.google.com/cloud/answer/6158840). Example: `projects/my-project-123`.
string project_name = 1;getProjectNameBytes in interface ReportErrorEventRequestOrBuilderpublic boolean hasEvent()
[Required] The error event to be reported.
.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;hasEvent in interface ReportErrorEventRequestOrBuilderpublic ReportedErrorEvent getEvent()
[Required] The error event to be reported.
.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;getEvent in interface ReportErrorEventRequestOrBuilderpublic ReportedErrorEventOrBuilder getEventOrBuilder()
[Required] The error event to be reported.
.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2;getEventOrBuilder in interface ReportErrorEventRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ReportErrorEventRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReportErrorEventRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReportErrorEventRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReportErrorEventRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReportErrorEventRequest parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ReportErrorEventRequest parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ReportErrorEventRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ReportErrorEventRequest parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ReportErrorEventRequest parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ReportErrorEventRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ReportErrorEventRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReportErrorEventRequest.Builder newBuilder()
public static ReportErrorEventRequest.Builder newBuilder(ReportErrorEventRequest prototype)
public ReportErrorEventRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ReportErrorEventRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public final ProjectName getProjectNameAsProjectName()
public static ReportErrorEventRequest getDefaultInstance()
public static com.google.protobuf.Parser<ReportErrorEventRequest> parser()
public com.google.protobuf.Parser<ReportErrorEventRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ReportErrorEventRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder