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
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 Index.IndexedProperty.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Index.IndexedProperty build()
buildPartial()
public Index.IndexedProperty buildPartial()
clear()
public Index.IndexedProperty.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public Index.IndexedProperty.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearName()
public Index.IndexedProperty.Builder clearName()
Required. The property name to index.
string name = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public Index.IndexedProperty.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Index.IndexedProperty.Builder clone()
Overrides
getDefaultInstanceForType()
public Index.IndexedProperty getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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()
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Index.IndexedProperty other)
public Index.IndexedProperty.Builder mergeFrom(Index.IndexedProperty other)
public Index.IndexedProperty.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Index.IndexedProperty.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Index.IndexedProperty.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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];
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 | int
The enum numeric value on the wire for direction to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Index.IndexedProperty.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 | String
The name to set.
|
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 | ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Index.IndexedProperty.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Index.IndexedProperty.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides