Interface CreateIndexRequestOrBuilder (0.33.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface CreateIndexRequestOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getIndex()
publicabstractIndexgetIndex()Required. The index being created.
.google.cloud.visionai.v1.Index index = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Index |
The index. |
getIndexId()
publicabstractStringgetIndexId()Optional. The ID for the index. This will become the final resource name for the index. If the user does not specify this value, it will be generated by system.
This value should be up to 63 characters, and valid characters are /a-z-/. The first character must be a letter, the last could be a letter or a number.
string index_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The indexId. |
getIndexIdBytes()
publicabstractByteStringgetIndexIdBytes()Optional. The ID for the index. This will become the final resource name for the index. If the user does not specify this value, it will be generated by system.
This value should be up to 63 characters, and valid characters are /a-z-/. The first character must be a letter, the last could be a letter or a number.
string index_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for indexId. |
getIndexOrBuilder()
publicabstractIndexOrBuildergetIndexOrBuilder()Required. The index being created.
.google.cloud.visionai.v1.Index index = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
IndexOrBuilder |
|
getParent()
publicabstractStringgetParent() Required. Value for the parent. The resource name of the Corpus under which
this index is created. Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
publicabstractByteStringgetParentBytes() Required. Value for the parent. The resource name of the Corpus under which
this index is created. Format:
projects/{project_number}/locations/{location_id}/corpora/{corpus_id}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasIndex()
publicabstractbooleanhasIndex()Required. The index being created.
.google.cloud.visionai.v1.Index index = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the index field is set. |