Interface UpdateOccurrenceRequestOrBuilder (2.42.0)

publicinterface UpdateOccurrenceRequestOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

publicabstractStringgetName()

The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

publicabstractByteStringgetNameBytes()

The name of the occurrence in the form of projects/[PROJECT_ID]/occurrences/[OCCURRENCE_ID].

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getOccurrence()

publicabstractOccurrencegetOccurrence()

The updated occurrence.

.grafeas.v1beta1.Occurrence occurrence = 2;

Returns
Type Description
Occurrence

The occurrence.

getOccurrenceOrBuilder()

publicabstractOccurrenceOrBuildergetOccurrenceOrBuilder()

The updated occurrence.

.grafeas.v1beta1.Occurrence occurrence = 2;

Returns
Type Description
OccurrenceOrBuilder

getUpdateMask()

publicabstractFieldMaskgetUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

publicabstractFieldMaskOrBuildergetUpdateMaskOrBuilder()

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
FieldMaskOrBuilder

hasOccurrence()

publicabstractbooleanhasOccurrence()

The updated occurrence.

.grafeas.v1beta1.Occurrence occurrence = 2;

Returns
Type Description
boolean

Whether the occurrence field is set.

hasUpdateMask()

publicabstractbooleanhasUpdateMask()

The fields to update.

.google.protobuf.FieldMask update_mask = 3;

Returns
Type Description
boolean

Whether the updateMask 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.