public static final class CreateIndexRequest.Builder extends GeneratedMessage.Builder<CreateIndexRequest.Builder> implements CreateIndexRequestOrBuilderThe request for google.datastore.admin.v1.DatastoreAdmin.CreateIndex.
Protobuf type google.datastore.admin.v1.CreateIndexRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateIndexRequest.BuilderImplements
CreateIndexRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateIndexRequest build()| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest |
|
buildPartial()
public CreateIndexRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest |
|
clear()
public CreateIndexRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest.Builder |
|
clearIndex()
public CreateIndexRequest.Builder clearIndex()The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.
.google.datastore.admin.v1.Index index = 3;
| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest.Builder |
|
clearProjectId()
public CreateIndexRequest.Builder clearProjectId()Project ID against which to make the request.
string project_id = 1;
| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateIndexRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIndex()
public Index getIndex()The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.
.google.datastore.admin.v1.Index index = 3;
| Returns | |
|---|---|
| Type | Description |
Index |
The index. |
getIndexBuilder()
public Index.Builder getIndexBuilder()The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.
.google.datastore.admin.v1.Index index = 3;
| Returns | |
|---|---|
| Type | Description |
Index.Builder |
|
getIndexOrBuilder()
public IndexOrBuilder getIndexOrBuilder()The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.
.google.datastore.admin.v1.Index index = 3;
| Returns | |
|---|---|
| Type | Description |
IndexOrBuilder |
|
getProjectId()
public String getProjectId()Project ID against which to make the request.
string project_id = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()Project ID against which to make the request.
string project_id = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for projectId. |
hasIndex()
public boolean hasIndex()The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.
.google.datastore.admin.v1.Index index = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the index field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateIndexRequest other)
public CreateIndexRequest.Builder mergeFrom(CreateIndexRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateIndexRequest |
| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateIndexRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateIndexRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest.Builder |
|
mergeIndex(Index value)
public CreateIndexRequest.Builder mergeIndex(Index value)The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.
.google.datastore.admin.v1.Index index = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Index |
| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest.Builder |
|
setIndex(Index value)
public CreateIndexRequest.Builder setIndex(Index value)The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.
.google.datastore.admin.v1.Index index = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
Index |
| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest.Builder |
|
setIndex(Index.Builder builderForValue)
public CreateIndexRequest.Builder setIndex(Index.Builder builderForValue)The index to create. The name and state fields are output only and will be ignored. Single property indexes cannot be created or deleted.
.google.datastore.admin.v1.Index index = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Index.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest.Builder |
|
setProjectId(String value)
public CreateIndexRequest.Builder setProjectId(String value)Project ID against which to make the request.
string project_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe projectId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest.Builder |
This builder for chaining. |
setProjectIdBytes(ByteString value)
public CreateIndexRequest.Builder setProjectIdBytes(ByteString value)Project ID against which to make the request.
string project_id = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for projectId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateIndexRequest.Builder |
This builder for chaining. |