Package com.google.cloud.visionai.v1
Interface CreateSearchHypernymRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateSearchHypernymRequest,CreateSearchHypernymRequest.Builder
@Generated
public interface CreateSearchHypernymRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionRequired.com.google.protobuf.ByteStringRequired.Required.Optional.com.google.protobuf.ByteStringOptional.Required.booleanRequired.booleanOptional.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. The parent resource where this SearchHypernym will be created. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The parent.
-
getParentBytes
com.google.protobuf.ByteString getParentBytes()Required. The parent resource where this SearchHypernym will be created. Format: `projects/{project_number}/locations/{location}/corpora/{corpus}`string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }- Returns:
- The bytes for parent.
-
hasSearchHypernym
boolean hasSearchHypernym()Required. The SearchHypernym to create.
.google.cloud.visionai.v1.SearchHypernym search_hypernym = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the searchHypernym field is set.
-
getSearchHypernym
SearchHypernym getSearchHypernym()Required. The SearchHypernym to create.
.google.cloud.visionai.v1.SearchHypernym search_hypernym = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The searchHypernym.
-
getSearchHypernymOrBuilder
SearchHypernymOrBuilder getSearchHypernymOrBuilder()Required. The SearchHypernym to create.
.google.cloud.visionai.v1.SearchHypernym search_hypernym = 2 [(.google.api.field_behavior) = REQUIRED]; -
hasSearchHypernymId
boolean hasSearchHypernymId()Optional. The search hypernym id. If omitted, a random UUID will be generated.
optional string search_hypernym_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the searchHypernymId field is set.
-
getSearchHypernymId
String getSearchHypernymId()Optional. The search hypernym id. If omitted, a random UUID will be generated.
optional string search_hypernym_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The searchHypernymId.
-
getSearchHypernymIdBytes
com.google.protobuf.ByteString getSearchHypernymIdBytes()Optional. The search hypernym id. If omitted, a random UUID will be generated.
optional string search_hypernym_id = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for searchHypernymId.
-