Interface CreateIndexRequestOrBuilder (3.6.0)

public interface CreateIndexRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIndex()

public abstract Index getIndex()

Required. The composite index to create.

.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Index

The index.

getIndexOrBuilder()

public abstract IndexOrBuilder getIndexOrBuilder()

Required. The composite index to create.

.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
IndexOrBuilder

getParent()

public abstract String getParent()

Required. A parent name of the form projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. A parent name of the form projects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasIndex()

public abstract boolean hasIndex()

Required. The composite index to create.

.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the index field is set.