Package io.grafeas.v1beta1
Interface CreateOccurrenceRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateOccurrenceRequest,CreateOccurrenceRequest.Builder
public interface CreateOccurrenceRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description OccurrencegetOccurrence()The occurrence to create.OccurrenceOrBuildergetOccurrenceOrBuilder()The occurrence to create.StringgetParent()The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.com.google.protobuf.ByteStringgetParentBytes()The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.booleanhasOccurrence()The occurrence to create.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getParent
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:
- The parent.
-
getParentBytes
com.google.protobuf.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:
- The bytes for parent.
-
hasOccurrence
boolean hasOccurrence()
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;- Returns:
- Whether the occurrence field is set.
-
getOccurrence
Occurrence getOccurrence()
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;- Returns:
- The occurrence.
-
getOccurrenceOrBuilder
OccurrenceOrBuilder getOccurrenceOrBuilder()
The occurrence to create.
.grafeas.v1beta1.Occurrence occurrence = 2;
-
-