Interface CreateOccurrenceRequestOrBuilder (2.18.0)

public interface CreateOccurrenceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOccurrence()

public abstract Occurrence getOccurrence()

The occurrence to create.

.grafeas.v1.Occurrence occurrence = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Occurrence

The occurrence.

getOccurrenceOrBuilder()

public abstract OccurrenceOrBuilder getOccurrenceOrBuilder()

The occurrence to create.

.grafeas.v1.Occurrence occurrence = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
OccurrenceOrBuilder

getParent()

public abstract String getParent()

The name of the project in the form of projects/[PROJECT_ID], under which the occurrence is to be created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The name of the project in the form of projects/[PROJECT_ID], under which the occurrence is to be created.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasOccurrence()

public abstract boolean hasOccurrence()

The occurrence to create.

.grafeas.v1.Occurrence occurrence = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the occurrence field is set.