public static final class CreateIndexRequest.Builder extends GeneratedMessageV3.Builder<CreateIndexRequest.Builder> implements CreateIndexRequestOrBuilder
The request for google.datastore.admin.v1.DatastoreAdmin.CreateIndex.
Protobuf type google.datastore.admin.v1.CreateIndexRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateIndexRequest.BuilderImplements
CreateIndexRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateIndexRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateIndexRequest.Builder |
build()
public CreateIndexRequest build()
Type | Description |
CreateIndexRequest |
buildPartial()
public CreateIndexRequest buildPartial()
Type | Description |
CreateIndexRequest |
clear()
public CreateIndexRequest.Builder clear()
Type | Description |
CreateIndexRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateIndexRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
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;
Type | Description |
CreateIndexRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateIndexRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateIndexRequest.Builder |
clearProjectId()
public CreateIndexRequest.Builder clearProjectId()
Project ID against which to make the request.
string project_id = 1;
Type | Description |
CreateIndexRequest.Builder | This builder for chaining. |
clone()
public CreateIndexRequest.Builder clone()
Type | Description |
CreateIndexRequest.Builder |
getDefaultInstanceForType()
public CreateIndexRequest getDefaultInstanceForType()
Type | Description |
CreateIndexRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
Type | Description |
IndexOrBuilder |
getProjectId()
public String getProjectId()
Project ID against which to make the request.
string project_id = 1;
Type | Description |
String | The projectId. |
getProjectIdBytes()
public ByteString getProjectIdBytes()
Project ID against which to make the request.
string project_id = 1;
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;
Type | Description |
boolean | Whether the index field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CreateIndexRequest other)
public CreateIndexRequest.Builder mergeFrom(CreateIndexRequest other)
Name | Description |
other | CreateIndexRequest |
Type | Description |
CreateIndexRequest.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateIndexRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateIndexRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateIndexRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
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;
Name | Description |
value | Index |
Type | Description |
CreateIndexRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateIndexRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateIndexRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateIndexRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
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;
Name | Description |
value | Index |
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;
Name | Description |
builderForValue | Index.Builder |
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;
Name | Description |
value | String The projectId to set. |
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;
Name | Description |
value | ByteString The bytes for projectId to set. |
Type | Description |
CreateIndexRequest.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateIndexRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateIndexRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateIndexRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateIndexRequest.Builder |