Send feedback
Class CreateIndexRequest.Builder (2.10.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.10.0 keyboard_arrow_down
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
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 ()
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
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateIndexRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearProjectId()
public CreateIndexRequest . Builder clearProjectId ()
Project ID against which to make the request.
string project_id = 1;
Returns
clone()
public CreateIndexRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public CreateIndexRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
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
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
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
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 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 )
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
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 )
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
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
Returns
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 String
The projectId to set.
Returns
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 ByteString
The bytes for projectId 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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]