Class Index.IndexedProperty (2.31.4)

publicstaticfinalclass Index.IndexedPropertyextendsGeneratedMessageV3implementsIndex.IndexedPropertyOrBuilder

A property of an index.

Protobuf type google.datastore.admin.v1.Index.IndexedProperty

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

DIRECTION_FIELD_NUMBER

publicstaticfinalintDIRECTION_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

publicstaticfinalintNAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticIndex.IndexedPropertygetDefaultInstance()
Returns
Type Description
Index.IndexedProperty

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticIndex.IndexedProperty.BuildernewBuilder()
Returns
Type Description
Index.IndexedProperty.Builder

newBuilder(Index.IndexedProperty prototype)

publicstaticIndex.IndexedProperty.BuildernewBuilder(Index.IndexedPropertyprototype)
Parameter
Name Description
prototype Index.IndexedProperty
Returns
Type Description
Index.IndexedProperty.Builder

parseDelimitedFrom(InputStream input)

publicstaticIndex.IndexedPropertyparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Index.IndexedProperty
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticIndex.IndexedPropertyparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexedProperty
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticIndex.IndexedPropertyparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Index.IndexedProperty
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticIndex.IndexedPropertyparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexedProperty
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticIndex.IndexedPropertyparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Index.IndexedProperty
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticIndex.IndexedPropertyparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexedProperty
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticIndex.IndexedPropertyparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Index.IndexedProperty
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticIndex.IndexedPropertyparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexedProperty
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticIndex.IndexedPropertyparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Index.IndexedProperty
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticIndex.IndexedPropertyparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexedProperty
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticIndex.IndexedPropertyparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Index.IndexedProperty
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticIndex.IndexedPropertyparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Index.IndexedProperty
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<Index.IndexedProperty>parser()
Returns
Type Description
Parser<IndexedProperty>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

publicIndex.IndexedPropertygetDefaultInstanceForType()
Returns
Type Description
Index.IndexedProperty

getDirection()

publicIndex.DirectiongetDirection()

Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.

.google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Index.Direction

The direction.

getDirectionValue()

publicintgetDirectionValue()

Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.

.google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for direction.

getName()

publicStringgetName()

Required. The property name to index.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The name.

getNameBytes()

publicByteStringgetNameBytes()

Required. The property name to index.

string name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

publicParser<Index.IndexedProperty>getParserForType()
Returns
Type Description
Parser<IndexedProperty>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicIndex.IndexedProperty.BuildernewBuilderForType()
Returns
Type Description
Index.IndexedProperty.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedIndex.IndexedProperty.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Index.IndexedProperty.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicIndex.IndexedProperty.BuildertoBuilder()
Returns
Type Description
Index.IndexedProperty.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

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年11月19日 UTC.