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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateIndexRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateIndexRequest build()
buildPartial()
public CreateIndexRequest buildPartial()
clear()
public CreateIndexRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public CreateIndexRequest.Builder clearField(Descriptors.FieldDescriptor field)
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateIndexRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProjectId()
public CreateIndexRequest.Builder clearProjectId()
Project ID against which to make the request.
string project_id = 1;
clone()
public CreateIndexRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateIndexRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateIndexRequest other)
public CreateIndexRequest.Builder mergeFrom(CreateIndexRequest other)
public CreateIndexRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateIndexRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
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
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateIndexRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public CreateIndexRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
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
|
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;
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.
|
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateIndexRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateIndexRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides