Interface CreateOccurrenceRequestOrBuilder (2.9.0)

publicinterface CreateOccurrenceRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getOccurrence()

publicabstractOccurrencegetOccurrence()

The occurrence to create.

.grafeas.v1beta1.Occurrence occurrence = 2;

Returns
Type Description
Occurrence

The occurrence.

getOccurrenceOrBuilder()

publicabstractOccurrenceOrBuildergetOccurrenceOrBuilder()

The occurrence to create.

.grafeas.v1beta1.Occurrence occurrence = 2;

Returns
Type Description

getParent()

publicabstractStringgetParent()

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()

publicabstractByteStringgetParentBytes()

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()

publicabstractbooleanhasOccurrence()

The occurrence to create.

.grafeas.v1beta1.Occurrence occurrence = 2;

Returns
Type Description
boolean

Whether the occurrence field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.