public static final class Projection.Builder extends GeneratedMessageV3.Builder<Projection.Builder> implements ProjectionOrBuilder
A representation of a property in a projection.
Protobuf type google.datastore.v1.Projection
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Projection.BuilderImplements
ProjectionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Projection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Projection.Builder |
build()
public Projection build()
Returns | |
---|---|
Type | Description |
Projection |
buildPartial()
public Projection buildPartial()
Returns | |
---|---|
Type | Description |
Projection |
clear()
public Projection.Builder clear()
Returns | |
---|---|
Type | Description |
Projection.Builder |
clearField(Descriptors.FieldDescriptor field)
public Projection.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Projection.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Projection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
Projection.Builder |
clearProperty()
public Projection.Builder clearProperty()
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Returns | |
---|---|
Type | Description |
Projection.Builder |
clone()
public Projection.Builder clone()
Returns | |
---|---|
Type | Description |
Projection.Builder |
getDefaultInstanceForType()
public Projection getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
Projection |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getProperty()
public PropertyReference getProperty()
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Returns | |
---|---|
Type | Description |
PropertyReference |
The property. |
getPropertyBuilder()
public PropertyReference.Builder getPropertyBuilder()
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Returns | |
---|---|
Type | Description |
PropertyReference.Builder |
getPropertyOrBuilder()
public PropertyReferenceOrBuilder getPropertyOrBuilder()
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Returns | |
---|---|
Type | Description |
PropertyReferenceOrBuilder |
hasProperty()
public boolean hasProperty()
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the property field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(Projection other)
public Projection.Builder mergeFrom(Projection other)
Parameter | |
---|---|
Name | Description |
other |
Projection |
Returns | |
---|---|
Type | Description |
Projection.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Projection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
Projection.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public Projection.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
Projection.Builder |
mergeProperty(PropertyReference value)
public Projection.Builder mergeProperty(PropertyReference value)
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Parameter | |
---|---|
Name | Description |
value |
PropertyReference |
Returns | |
---|---|
Type | Description |
Projection.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Projection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Projection.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Projection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Projection.Builder |
setProperty(PropertyReference value)
public Projection.Builder setProperty(PropertyReference value)
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Parameter | |
---|---|
Name | Description |
value |
PropertyReference |
Returns | |
---|---|
Type | Description |
Projection.Builder |
setProperty(PropertyReference.Builder builderForValue)
public Projection.Builder setProperty(PropertyReference.Builder builderForValue)
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
PropertyReference.Builder |
Returns | |
---|---|
Type | Description |
Projection.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Projection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Projection.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Projection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Projection.Builder |