Interface CreateIndexRequestOrBuilder (3.21.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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the index field is set.