public interface CreateSearchHypernymRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getParent()
public abstract 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 | |
|---|---|
| Type | Description | 
| String | The parent. | 
getParentBytes()
public abstract 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 | |
|---|---|
| Type | Description | 
| ByteString | The bytes for parent. | 
getSearchHypernym()
public abstract SearchHypernym getSearchHypernym()Required. The SearchHypernym to create.
 
 .google.cloud.visionai.v1.SearchHypernym search_hypernym = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| SearchHypernym | The searchHypernym. | 
getSearchHypernymId()
public abstract 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 | |
|---|---|
| Type | Description | 
| String | The searchHypernymId. | 
getSearchHypernymIdBytes()
public abstract 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 | |
|---|---|
| Type | Description | 
| ByteString | The bytes for searchHypernymId. | 
getSearchHypernymOrBuilder()
public abstract SearchHypernymOrBuilder getSearchHypernymOrBuilder()Required. The SearchHypernym to create.
 
 .google.cloud.visionai.v1.SearchHypernym search_hypernym = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| SearchHypernymOrBuilder | |
hasSearchHypernym()
public abstract boolean hasSearchHypernym()Required. The SearchHypernym to create.
 
 .google.cloud.visionai.v1.SearchHypernym search_hypernym = 2 [(.google.api.field_behavior) = REQUIRED];
 
| Returns | |
|---|---|
| Type | Description | 
| boolean | Whether the searchHypernym field is set. | 
hasSearchHypernymId()
public abstract 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 | |
|---|---|
| Type | Description | 
| boolean | Whether the searchHypernymId field is set. |