Interface CreateOccurrenceRequestOrBuilder (2.46.0)

public interface CreateOccurrenceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getOccurrence()

public abstract Occurrence getOccurrence()

The occurrence to create.

.grafeas.v1beta1.Occurrence occurrence = 2;

Returns
Type Description
Occurrence

The occurrence.

getOccurrenceOrBuilder()

public abstract OccurrenceOrBuilder getOccurrenceOrBuilder()

The occurrence to create.

.grafeas.v1beta1.Occurrence occurrence = 2;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for parent.

hasOccurrence()

public abstract boolean hasOccurrence()

The occurrence to create.

.grafeas.v1beta1.Occurrence occurrence = 2;

Returns
Type Description
boolean

Whether the occurrence field is set.