Package io.grafeas.v1beta1
Interface CreateOccurrenceRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateOccurrenceRequest,CreateOccurrenceRequest.Builder
@Generated
public interface CreateOccurrenceRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe occurrence to create.The occurrence to create.The name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.com.google.protobuf.ByteStringThe name of the project in the form of `projects/[PROJECT_ID]`, under which the occurrence is to be created.booleanThe occurrence to create.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-