public static final class CreateIndexRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CreateIndexRequest.Builder> implements CreateIndexRequestOrBuilder
The request for [FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].Protobuf type
google.firestore.admin.v1.CreateIndexRequest
Modifier and Type | Method and Description |
---|---|
CreateIndexRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateIndexRequest |
build() |
CreateIndexRequest |
buildPartial() |
CreateIndexRequest.Builder |
clear() |
CreateIndexRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CreateIndexRequest.Builder |
clearIndex()
Required.
|
CreateIndexRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CreateIndexRequest.Builder |
clearParent()
Required.
|
CreateIndexRequest.Builder |
clone() |
CreateIndexRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Index |
getIndex()
Required.
|
Index.Builder |
getIndexBuilder()
Required.
|
IndexOrBuilder |
getIndexOrBuilder()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
boolean |
hasIndex()
Required.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CreateIndexRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CreateIndexRequest.Builder |
mergeFrom(CreateIndexRequest other) |
CreateIndexRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
CreateIndexRequest.Builder |
mergeIndex(Index value)
Required.
|
CreateIndexRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CreateIndexRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CreateIndexRequest.Builder |
setIndex(Index.Builder builderForValue)
Required.
|
CreateIndexRequest.Builder |
setIndex(Index value)
Required.
|
CreateIndexRequest.Builder |
setParent(String value)
Required.
|
CreateIndexRequest.Builder |
setParentBytes(com.google.protobuf.ByteString value)
Required.
|
CreateIndexRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CreateIndexRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIndexRequest.Builder>
public CreateIndexRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIndexRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIndexRequest.Builder>
public CreateIndexRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public CreateIndexRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public CreateIndexRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public CreateIndexRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIndexRequest.Builder>
public CreateIndexRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIndexRequest.Builder>
public CreateIndexRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIndexRequest.Builder>
public CreateIndexRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIndexRequest.Builder>
public CreateIndexRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIndexRequest.Builder>
public CreateIndexRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIndexRequest.Builder>
public CreateIndexRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CreateIndexRequest.Builder>
public CreateIndexRequest.Builder mergeFrom(CreateIndexRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIndexRequest.Builder>
public CreateIndexRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<CreateIndexRequest.Builder>
IOException
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) = { ... }
getParent
in interface CreateIndexRequestOrBuilder
public com.google.protobuf.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) = { ... }
getParentBytes
in interface CreateIndexRequestOrBuilder
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) = { ... }
value
- The parent to set.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) = { ... }
public CreateIndexRequest.Builder setParentBytes(com.google.protobuf.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) = { ... }
value
- The bytes for parent to set.public boolean hasIndex()
Required. The composite index to create.
.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
hasIndex
in interface CreateIndexRequestOrBuilder
public Index getIndex()
Required. The composite index to create.
.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
getIndex
in interface CreateIndexRequestOrBuilder
public CreateIndexRequest.Builder setIndex(Index value)
Required. The composite index to create.
.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
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];
public CreateIndexRequest.Builder mergeIndex(Index value)
Required. The composite index to create.
.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateIndexRequest.Builder clearIndex()
Required. The composite index to create.
.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
public Index.Builder getIndexBuilder()
Required. The composite index to create.
.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
public IndexOrBuilder getIndexOrBuilder()
Required. The composite index to create.
.google.firestore.admin.v1.Index index = 2 [(.google.api.field_behavior) = REQUIRED];
getIndexOrBuilder
in interface CreateIndexRequestOrBuilder
public final CreateIndexRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIndexRequest.Builder>
public final CreateIndexRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<CreateIndexRequest.Builder>
Copyright © 2023 Google LLC. All rights reserved.