Class Projection.Builder (2.33.3)

public static final class Projection.Builder extends GeneratedMessage.Builder<Projection.Builder> implements ProjectionOrBuilder

A representation of a property in a projection.

Protobuf type google.datastore.v1.Projection

Implements

ProjectionOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

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
Overrides

clearProperty()

public Projection.Builder clearProperty()

The property to project.

.google.datastore.v1.PropertyReference property = 1;

Returns
Type Description
Projection.Builder

getDefaultInstanceForType()

public Projection getDefaultInstanceForType()
Returns
Type Description
Projection

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Projection.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Projection.Builder
Overrides

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

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