Class Projection (2.18.5)

public final class Projection extends GeneratedMessageV3 implements ProjectionOrBuilder

A representation of a property in a projection.

Protobuf type google.datastore.v1.Projection

Implements

ProjectionOrBuilder

Static Fields

PROPERTY_FIELD_NUMBER

public static final int PROPERTY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Projection getDefaultInstance()
Returns
TypeDescription
Projection

getDescriptor()

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

newBuilder()

public static Projection.Builder newBuilder()
Returns
TypeDescription
Projection.Builder

newBuilder(Projection prototype)

public static Projection.Builder newBuilder(Projection prototype)
Parameter
NameDescription
prototypeProjection
Returns
TypeDescription
Projection.Builder

parseDelimitedFrom(InputStream input)

public static Projection parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Projection
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Projection parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Projection
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static Projection parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
Projection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Projection parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Projection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Projection parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
Projection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Projection parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Projection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Projection parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
Projection
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Projection parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Projection
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static Projection parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
Projection
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Projection parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Projection
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static Projection parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
Projection
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Projection parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Projection
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<Projection> parser()
Returns
TypeDescription
Parser<Projection>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public Projection getDefaultInstanceForType()
Returns
TypeDescription
Projection

getParserForType()

public Parser<Projection> getParserForType()
Returns
TypeDescription
Parser<Projection>
Overrides

getProperty()

public PropertyReference getProperty()

The property to project.

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

Returns
TypeDescription
PropertyReference

The property.

getPropertyOrBuilder()

public PropertyReferenceOrBuilder getPropertyOrBuilder()

The property to project.

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

Returns
TypeDescription
PropertyReferenceOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasProperty()

public boolean hasProperty()

The property to project.

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

Returns
TypeDescription
boolean

Whether the property field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public Projection.Builder newBuilderForType()
Returns
TypeDescription
Projection.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Projection.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
Projection.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public Projection.Builder toBuilder()
Returns
TypeDescription
Projection.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException