Interface ReportErrorEventRequestOrBuilder (0.135.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the event field is set.