Send feedback
Class ReportErrorEventRequest (0.126.0-beta)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.126.0-beta keyboard_arrow_down
public final class ReportErrorEventRequest extends GeneratedMessageV3 implements ReportErrorEventRequestOrBuilder
A request for reporting an individual error event.
Protobuf type google.devtools.clouderrorreporting.v1beta1.ReportErrorEventRequest
Static Fields
public static final int EVENT_FIELD_NUMBER
Field Value
public static final int PROJECT_NAME_FIELD_NUMBER
Field Value
Static Methods
public static ReportErrorEventRequest getDefaultInstance ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public static ReportErrorEventRequest . Builder newBuilder ()
Returns
public static ReportErrorEventRequest . Builder newBuilder ( ReportErrorEventRequest prototype )
Parameter
Returns
public static ReportErrorEventRequest parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ReportErrorEventRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ReportErrorEventRequest parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
public static ReportErrorEventRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ReportErrorEventRequest parseFrom ( ByteString data )
Parameter
Returns
Exceptions
public static ReportErrorEventRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ReportErrorEventRequest parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static ReportErrorEventRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ReportErrorEventRequest parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ReportErrorEventRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ReportErrorEventRequest parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
public static ReportErrorEventRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static Parser<ReportErrorEventRequest> parser ()
Returns
Methods
public boolean equals ( Object obj )
Parameter
Returns
Overrides
public ReportErrorEventRequest getDefaultInstanceForType ()
Returns
public ReportedErrorEvent getEvent ()
Required. The error event to be reported.
.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public ReportedErrorEventOrBuilder getEventOrBuilder ()
Required. The error event to be reported.
.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
public Parser<ReportErrorEventRequest> getParserForType ()
Returns
Overrides
public String getProjectName ()
Required. The resource name of the Google Cloud Platform project. Written
as projects/{projectId}
, where {projectId}
is the
Google Cloud Platform project
ID .
Example: // projects/my-project-123
.
string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type Description String The projectName.
public ByteString getProjectNameBytes ()
Required. The resource name of the Google Cloud Platform project. Written
as projects/{projectId}
, where {projectId}
is the
Google Cloud Platform project
ID .
Example: // projects/my-project-123
.
string project_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type Description ByteString The bytes for projectName.
public int getSerializedSize ()
Returns
Overrides
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
public boolean hasEvent ()
Required. The error event to be reported.
.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type Description boolean Whether the event field is set.
Returns
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public ReportErrorEventRequest . Builder newBuilderForType ()
Returns
protected ReportErrorEventRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public ReportErrorEventRequest . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]