Package com.google.cloud.visionai.v1
Interface CreateCorpusRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateCorpusRequest,CreateCorpusRequest.Builder
@Generated
public interface CreateCorpusRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.Required.Required.com.google.protobuf.ByteStringRequired.booleanRequired.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()Required. Form: `projects/{project_number}/locations/{location_id}`string parent = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. Form: `projects/{project_number}/locations/{location_id}`string parent = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for parent.
-
hasCorpus
boolean hasCorpus()Required. The corpus to be created.
.google.cloud.visionai.v1.Corpus corpus = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the corpus field is set.
-
getCorpus
Corpus getCorpus()Required. The corpus to be created.
.google.cloud.visionai.v1.Corpus corpus = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The corpus.
-
getCorpusOrBuilder
CorpusOrBuilder getCorpusOrBuilder()Required. The corpus to be created.
.google.cloud.visionai.v1.Corpus corpus = 2 [(.google.api.field_behavior) = REQUIRED];
-