public interface CreateOccurrenceRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getOccurrence()
public abstract Occurrence getOccurrence()
The occurrence to create.
.grafeas.v1.Occurrence occurrence = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
Occurrence | The occurrence. |
getOccurrenceOrBuilder()
public abstract OccurrenceOrBuilder getOccurrenceOrBuilder()
The occurrence to create.
.grafeas.v1.Occurrence occurrence = 2 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
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 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the occurrence field is set. |