Class Projection.Builder (2.18.5)

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

Implements

ProjectionOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Projection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Projection.Builder
Overrides

build()

public Projection build()
Returns
TypeDescription
Projection

buildPartial()

public Projection buildPartial()
Returns
TypeDescription
Projection

clear()

public Projection.Builder clear()
Returns
TypeDescription
Projection.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Projection.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Projection.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public Projection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Projection.Builder
Overrides

clearProperty()

public Projection.Builder clearProperty()

The property to project.

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

Returns
TypeDescription
Projection.Builder

clone()

public Projection.Builder clone()
Returns
TypeDescription
Projection.Builder
Overrides

getDefaultInstanceForType()

public Projection getDefaultInstanceForType()
Returns
TypeDescription
Projection

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProperty()

public PropertyReference getProperty()

The property to project.

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

Returns
TypeDescription
PropertyReference

The property.

getPropertyBuilder()

public PropertyReference.Builder getPropertyBuilder()

The property to project.

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

Returns
TypeDescription
PropertyReference.Builder

getPropertyOrBuilder()

public PropertyReferenceOrBuilder getPropertyOrBuilder()

The property to project.

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

Returns
TypeDescription
PropertyReferenceOrBuilder

hasProperty()

public boolean hasProperty()

The property to project.

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

Returns
TypeDescription
boolean

Whether the property field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Projection other)

public Projection.Builder mergeFrom(Projection other)
Parameter
NameDescription
otherProjection
Returns
TypeDescription
Projection.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Projection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Projection.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Projection.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Projection.Builder
Overrides

mergeProperty(PropertyReference value)

public Projection.Builder mergeProperty(PropertyReference value)

The property to project.

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

Parameter
NameDescription
valuePropertyReference
Returns
TypeDescription
Projection.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Projection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Projection.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public Projection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Projection.Builder
Overrides

setProperty(PropertyReference value)

public Projection.Builder setProperty(PropertyReference value)

The property to project.

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

Parameter
NameDescription
valuePropertyReference
Returns
TypeDescription
Projection.Builder

setProperty(PropertyReference.Builder builderForValue)

public Projection.Builder setProperty(PropertyReference.Builder builderForValue)

The property to project.

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

Parameter
NameDescription
builderForValuePropertyReference.Builder
Returns
TypeDescription
Projection.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Projection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Projection.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Projection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Projection.Builder
Overrides