Interface IndexOrBuilder (2.24.3)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface IndexOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getAncestor()
publicabstractIndex.AncestorModegetAncestor()Required. The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.
.google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Index.AncestorMode |
The ancestor. |
getAncestorValue()
publicabstractintgetAncestorValue()Required. The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED.
.google.datastore.admin.v1.Index.AncestorMode ancestor = 5 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for ancestor. |
getIndexId()
publicabstractStringgetIndexId()Output only. The resource ID of the index.
string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The indexId. |
getIndexIdBytes()
publicabstractByteStringgetIndexIdBytes()Output only. The resource ID of the index.
string index_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for indexId. |
getKind()
publicabstractStringgetKind()Required. The entity kind to which this index applies.
string kind = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The kind. |
getKindBytes()
publicabstractByteStringgetKindBytes()Required. The entity kind to which this index applies.
string kind = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for kind. |
getProjectId()
publicabstractStringgetProjectId()Output only. Project ID.
string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The projectId. |
getProjectIdBytes()
publicabstractByteStringgetProjectIdBytes()Output only. Project ID.
string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for projectId. |
getProperties(int index)
publicabstractIndex.IndexedPropertygetProperties(intindex)Required. An ordered sequence of property names and their index attributes.
Requires:
- A maximum of 100 properties.
repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Index.IndexedProperty |
|
getPropertiesCount()
publicabstractintgetPropertiesCount()Required. An ordered sequence of property names and their index attributes.
Requires:
- A maximum of 100 properties.
repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
int |
|
getPropertiesList()
publicabstractList<Index.IndexedProperty>getPropertiesList()Required. An ordered sequence of property names and their index attributes.
Requires:
- A maximum of 100 properties.
repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<IndexedProperty> |
|
getPropertiesOrBuilder(int index)
publicabstractIndex.IndexedPropertyOrBuildergetPropertiesOrBuilder(intindex)Required. An ordered sequence of property names and their index attributes.
Requires:
- A maximum of 100 properties.
repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Index.IndexedPropertyOrBuilder |
|
getPropertiesOrBuilderList()
publicabstractList<?extendsIndex.IndexedPropertyOrBuilder>getPropertiesOrBuilderList()Required. An ordered sequence of property names and their index attributes.
Requires:
- A maximum of 100 properties.
repeated .google.datastore.admin.v1.Index.IndexedProperty properties = 6 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.datastore.admin.v1.Index.IndexedPropertyOrBuilder> |
|
getState()
publicabstractIndex.StategetState()Output only. The state of the index.
.google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Index.State |
The state. |
getStateValue()
publicabstractintgetStateValue()Output only. The state of the index.
.google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for state. |