public static final class CreateIndexRequest.Builder extends GeneratedMessageV3.Builder<CreateIndexRequest.Builder> implements CreateIndexRequestOrBuilder
The request for FirestoreAdmin.CreateIndex.
Protobuf type google.firestore.admin.v1.CreateIndexRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateIndexRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateIndexRequest build()
Returns
buildPartial()
public CreateIndexRequest buildPartial()
Returns
clear()
public CreateIndexRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateIndexRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearIndex()
public CreateIndexRequest.Builder clearIndex()
Required. The composite index to create.
.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateIndexRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearParent()
public CreateIndexRequest.Builder clearParent()
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
clone()
public CreateIndexRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public CreateIndexRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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.
|
getIndexBuilder()
public Index.Builder getIndexBuilder()
Required. The composite index to create.
.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getIndexOrBuilder()
public IndexOrBuilder getIndexOrBuilder()
Required. The composite index to create.
.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getParent()
public 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 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
hasIndex()
public 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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateIndexRequest other)
public CreateIndexRequest.Builder mergeFrom(CreateIndexRequest other)
Parameter
Returns
public CreateIndexRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateIndexRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeIndex(Index value)
public CreateIndexRequest.Builder mergeIndex(Index value)
Required. The composite index to create.
.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | Index
|
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateIndexRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateIndexRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setIndex(Index value)
public CreateIndexRequest.Builder setIndex(Index value)
Required. The composite index to create.
.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | Index
|
Returns
setIndex(Index.Builder builderForValue)
public CreateIndexRequest.Builder setIndex(Index.Builder builderForValue)
Required. The composite index to create.
.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setParent(String value)
public CreateIndexRequest.Builder setParent(String value)
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) = { ... }
Parameter
Name | Description |
value | String
The parent to set.
|
Returns
setParentBytes(ByteString value)
public CreateIndexRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for parent to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateIndexRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateIndexRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides