public static final class Index.IndexedProperty.Builder extends GeneratedMessageV3.Builder<Index.IndexedProperty.Builder> implements Index.IndexedPropertyOrBuilder
A property of an index.
Protobuf type google.datastore.admin.v1.Index.IndexedProperty
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Index.IndexedProperty.BuilderImplements
Index.IndexedPropertyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Index.IndexedProperty.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Index.IndexedProperty.Builder |
build()
public Index.IndexedProperty build()
Type | Description |
Index.IndexedProperty |
buildPartial()
public Index.IndexedProperty buildPartial()
Type | Description |
Index.IndexedProperty |
clear()
public Index.IndexedProperty.Builder clear()
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];
Type | Description |
Index.IndexedProperty.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public Index.IndexedProperty.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Index.IndexedProperty.Builder |
clearName()
public Index.IndexedProperty.Builder clearName()
Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
Index.IndexedProperty.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Index.IndexedProperty.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Index.IndexedProperty.Builder |
clone()
public Index.IndexedProperty.Builder clone()
Type | Description |
Index.IndexedProperty.Builder |
getDefaultInstanceForType()
public Index.IndexedProperty getDefaultInstanceForType()
Type | Description |
Index.IndexedProperty |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Index.IndexedProperty other)
public Index.IndexedProperty.Builder mergeFrom(Index.IndexedProperty other)
Name | Description |
other | Index.IndexedProperty |
Type | Description |
Index.IndexedProperty.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Index.IndexedProperty.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Index.IndexedProperty.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Index.IndexedProperty.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Index.IndexedProperty.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Index.IndexedProperty.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
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];
Name | Description |
value | Index.Direction The direction to set. |
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];
Name | Description |
value | int The enum numeric value on the wire for direction to set. |
Type | Description |
Index.IndexedProperty.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public Index.IndexedProperty.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Index.IndexedProperty.Builder |
setName(String value)
public Index.IndexedProperty.Builder setName(String value)
Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | String The name to set. |
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];
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
Index.IndexedProperty.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Index.IndexedProperty.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Index.IndexedProperty.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Index.IndexedProperty.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Index.IndexedProperty.Builder |