Interface ReportErrorEventRequestOrBuilder (0.164.0-beta)

public interface ReportErrorEventRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEvent()

public abstract ReportedErrorEvent getEvent()

Required. The error event to be reported.

.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportedErrorEvent

The event.

getEventOrBuilder()

public abstract ReportedErrorEventOrBuilder getEventOrBuilder()

Required. The error event to be reported.

.google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent event = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ReportedErrorEventOrBuilder

getProjectName()

public abstract 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.

getProjectNameBytes()

public abstract 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.

hasEvent()

public abstract 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.