publicfinalclass IndexextendsGeneratedMessageV3implementsIndexOrBuilder
Datastore composite index definition.
Protobuf type google.datastore.admin.v1.Index
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
ANCESTOR_FIELD_NUMBER
publicstaticfinalintANCESTOR_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
INDEX_ID_FIELD_NUMBER
publicstaticfinalintINDEX_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
KIND_FIELD_NUMBER
publicstaticfinalintKIND_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PROJECT_ID_FIELD_NUMBER
publicstaticfinalintPROJECT_ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
PROPERTIES_FIELD_NUMBER
publicstaticfinalintPROPERTIES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
STATE_FIELD_NUMBER
publicstaticfinalintSTATE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticIndexgetDefaultInstance()
| Returns |
| Type |
Description |
Index |
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticIndex.BuildernewBuilder()
newBuilder(Index prototype)
publicstaticIndex.BuildernewBuilder(Indexprototype)
| Parameter |
| Name |
Description |
prototype |
Index
|
publicstaticIndexparseDelimitedFrom(InputStreaminput)
| Returns |
| Type |
Description |
Index |
publicstaticIndexparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
| Returns |
| Type |
Description |
Index |
parseFrom(byte[] data)
publicstaticIndexparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
| Returns |
| Type |
Description |
Index |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticIndexparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
| Returns |
| Type |
Description |
Index |
parseFrom(ByteString data)
publicstaticIndexparseFrom(ByteStringdata)
| Returns |
| Type |
Description |
Index |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticIndexparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
| Returns |
| Type |
Description |
Index |
publicstaticIndexparseFrom(CodedInputStreaminput)
| Returns |
| Type |
Description |
Index |
publicstaticIndexparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
| Returns |
| Type |
Description |
Index |
publicstaticIndexparseFrom(InputStreaminput)
| Returns |
| Type |
Description |
Index |
publicstaticIndexparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
| Returns |
| Type |
Description |
Index |
parseFrom(ByteBuffer data)
publicstaticIndexparseFrom(ByteBufferdata)
| Returns |
| Type |
Description |
Index |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticIndexparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
| Returns |
| Type |
Description |
Index |
parser()
publicstaticParser<Index>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAncestor()
publicIndex.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];
getAncestorValue()
publicintgetAncestorValue()
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.
|
getDefaultInstanceForType()
publicIndexgetDefaultInstanceForType()
| Returns |
| Type |
Description |
Index |
getIndexId()
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()
publicByteStringgetIndexIdBytes()
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()
Required. The entity kind to which this index applies.
string kind = 4 [(.google.api.field_behavior) = REQUIRED];
| Returns |
| Type |
Description |
String |
The kind.
|
getKindBytes()
publicByteStringgetKindBytes()
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.
|
getParserForType()
publicParser<Index>getParserForType()
Overrides
getProjectId()
publicStringgetProjectId()
Output only. Project ID.
string project_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The projectId.
|
getProjectIdBytes()
publicByteStringgetProjectIdBytes()
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)
publicIndex.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
|
getPropertiesCount()
publicintgetPropertiesCount()
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()
publicList<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];
getPropertiesOrBuilder(int index)
publicIndex.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
|
getPropertiesOrBuilderList()
publicList<?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> |
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getState()
publicIndex.StategetState()
Output only. The state of the index.
.google.datastore.admin.v1.Index.State state = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
getStateValue()
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicIndex.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedIndex.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicIndex.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides