public static final class Index.IndexedProperty.Builder extends GeneratedMessage.Builder<Index.IndexedProperty.Builder> implements Index.IndexedPropertyOrBuilderA property of an index.
Protobuf type google.datastore.admin.v1.Index.IndexedProperty
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Index.IndexedProperty.BuilderImplements
Index.IndexedPropertyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Index.IndexedProperty build()| Returns | |
|---|---|
| Type | Description |
Index.IndexedProperty |
|
buildPartial()
public Index.IndexedProperty buildPartial()| Returns | |
|---|---|
| Type | Description |
Index.IndexedProperty |
|
clear()
public Index.IndexedProperty.Builder clear()| Returns | |
|---|---|
| Type | Description |
Index.IndexedProperty.Builder |
|
clearDirection()
public Index.IndexedProperty.Builder clearDirection()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.IndexedProperty.Builder |
This builder for chaining. |
clearName()
public Index.IndexedProperty.Builder clearName()Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Index.IndexedProperty.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Index.IndexedProperty getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Index.IndexedProperty |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDirection()
public Index.Direction getDirection()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()
public int getDirectionValue()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()
public String getName()Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Index.IndexedProperty other)
public Index.IndexedProperty.Builder mergeFrom(Index.IndexedProperty other)| Parameter | |
|---|---|
| Name | Description |
other |
Index.IndexedProperty |
| Returns | |
|---|---|
| Type | Description |
Index.IndexedProperty.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Index.IndexedProperty.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Index.IndexedProperty.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Index.IndexedProperty.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Index.IndexedProperty.Builder |
|
setDirection(Index.Direction value)
public Index.IndexedProperty.Builder setDirection(Index.Direction value)Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.
.google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Index.DirectionThe direction to set. |
| Returns | |
|---|---|
| Type | Description |
Index.IndexedProperty.Builder |
This builder for chaining. |
setDirectionValue(int value)
public Index.IndexedProperty.Builder setDirectionValue(int value)Required. The indexed property's direction. Must not be DIRECTION_UNSPECIFIED.
.google.datastore.admin.v1.Index.Direction direction = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for direction to set. |
| Returns | |
|---|---|
| Type | Description |
Index.IndexedProperty.Builder |
This builder for chaining. |
setName(String value)
public Index.IndexedProperty.Builder setName(String value)Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
Index.IndexedProperty.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public Index.IndexedProperty.Builder setNameBytes(ByteString value)Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
Index.IndexedProperty.Builder |
This builder for chaining. |