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()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Projection.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Projection.Builder |
build()
public Projection build()
Type | Description |
Projection |
buildPartial()
public Projection buildPartial()
Type | Description |
Projection |
clear()
public Projection.Builder clear()
Type | Description |
Projection.Builder |
clearField(Descriptors.FieldDescriptor field)
public Projection.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Projection.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Projection.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Projection.Builder |
clearProperty()
public Projection.Builder clearProperty()
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Type | Description |
Projection.Builder |
clone()
public Projection.Builder clone()
Type | Description |
Projection.Builder |
getDefaultInstanceForType()
public Projection getDefaultInstanceForType()
Type | Description |
Projection |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getProperty()
public PropertyReference getProperty()
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Type | Description |
PropertyReference | The property. |
getPropertyBuilder()
public PropertyReference.Builder getPropertyBuilder()
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Type | Description |
PropertyReference.Builder |
getPropertyOrBuilder()
public PropertyReferenceOrBuilder getPropertyOrBuilder()
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Type | Description |
PropertyReferenceOrBuilder |
hasProperty()
public boolean hasProperty()
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Type | Description |
boolean | Whether the property field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Projection other)
public Projection.Builder mergeFrom(Projection other)
Name | Description |
other | Projection |
Type | Description |
Projection.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Projection.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Projection.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Projection.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Projection.Builder |
mergeProperty(PropertyReference value)
public Projection.Builder mergeProperty(PropertyReference value)
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Name | Description |
value | PropertyReference |
Type | Description |
Projection.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Projection.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Projection.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Projection.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Projection.Builder |
setProperty(PropertyReference value)
public Projection.Builder setProperty(PropertyReference value)
The property to project.
.google.datastore.v1.PropertyReference property = 1;
Name | Description |
value | PropertyReference |
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;
Name | Description |
builderForValue | PropertyReference.Builder |
Type | Description |
Projection.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Projection.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Projection.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Projection.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Projection.Builder |