Class GetIndexRequest.Builder (2.30.0)
3.1.0 (latest)
2.40.0
2.37.0
2.36.0
2.34.0
2.33.3
2.32.3
2.31.4
2.30.0
2.29.1
2.28.2
2.27.1
2.26.4
2.25.2
2.24.3
2.23.0
2.22.0
2.21.3
2.20.2
2.19.2
2.18.5
2.17.6
public static final class GetIndexRequest . Builder extends GeneratedMessageV3 . Builder<GetIndexRequest . Builder > implements GetIndexRequestOrBuilder
The request for
google.datastore.admin.v1.DatastoreAdmin.GetIndex .
Protobuf type google.datastore.admin.v1.GetIndexRequest
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 GetIndexRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public GetIndexRequest build ()
buildPartial()
public GetIndexRequest buildPartial ()
clear()
public GetIndexRequest . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public GetIndexRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearIndexId()
public GetIndexRequest . Builder clearIndexId ()
The resource ID of the index to get.
string index_id = 3;
clearOneof(Descriptors.OneofDescriptor oneof)
public GetIndexRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearProjectId()
public GetIndexRequest . Builder clearProjectId ()
Project ID against which to make the request.
string project_id = 1;
clone()
public GetIndexRequest . Builder clone ()
Overrides
getDefaultInstanceForType()
public GetIndexRequest getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getIndexId()
public String getIndexId ()
The resource ID of the index to get.
string index_id = 3;
Returns
Type
Description
String
The indexId.
getIndexIdBytes()
public ByteString getIndexIdBytes ()
The resource ID of the index to get.
string index_id = 3;
Returns
Type
Description
ByteString
The bytes for indexId.
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.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(GetIndexRequest other)
public GetIndexRequest . Builder mergeFrom ( GetIndexRequest other )
public GetIndexRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public GetIndexRequest . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GetIndexRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public GetIndexRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setIndexId(String value)
public GetIndexRequest . Builder setIndexId ( String value )
The resource ID of the index to get.
string index_id = 3;
Parameter
Name
Description
value
String The indexId to set.
setIndexIdBytes(ByteString value)
public GetIndexRequest . Builder setIndexIdBytes ( ByteString value )
The resource ID of the index to get.
string index_id = 3;
Parameter
Name
Description
value
ByteString The bytes for indexId to set.
setProjectId(String value)
public GetIndexRequest . 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 GetIndexRequest . 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 GetIndexRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GetIndexRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
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 2026-06-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-18 UTC."],[],[]]