Interface CreateOccurrenceRequestOrBuilder (2.20.0)

public interface CreateOccurrenceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOccurrence()

public abstract Occurrence getOccurrence()

The occurrence to create.

.grafeas.v1beta1.Occurrence occurrence = 2;

Returns
TypeDescription
Occurrence

The occurrence.

getOccurrenceOrBuilder()

public abstract OccurrenceOrBuilder getOccurrenceOrBuilder()

The occurrence to create.

.grafeas.v1beta1.Occurrence occurrence = 2;

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;

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;

Returns
TypeDescription
ByteString

The bytes for parent.

hasOccurrence()

public abstract boolean hasOccurrence()

The occurrence to create.

.grafeas.v1beta1.Occurrence occurrence = 2;

Returns
TypeDescription
boolean

Whether the occurrence field is set.