Class PropertyReference.Builder (2.22.0)

public static final class PropertyReference.Builder extends GeneratedMessageV3.Builder<PropertyReference.Builder> implements PropertyReferenceOrBuilder

A reference to a property relative to the kind expressions.

Protobuf type google.datastore.v1.PropertyReference

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PropertyReference.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PropertyReference.Builder
Overrides

build()

public PropertyReference build()
Returns
Type Description
PropertyReference

buildPartial()

public PropertyReference buildPartial()
Returns
Type Description
PropertyReference

clear()

public PropertyReference.Builder clear()
Returns
Type Description
PropertyReference.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public PropertyReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PropertyReference.Builder
Overrides

clearName()

public PropertyReference.Builder clearName()

A reference to a property.

Requires:

  • MUST be a dot-delimited (.) string of segments, where each segment conforms to entity property name limitations.

string name = 2;

Returns
Type Description
PropertyReference.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PropertyReference.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PropertyReference.Builder
Overrides

clone()

public PropertyReference.Builder clone()
Returns
Type Description
PropertyReference.Builder
Overrides

getDefaultInstanceForType()

public PropertyReference getDefaultInstanceForType()
Returns
Type Description
PropertyReference

getDescriptorForType()

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

getName()

public String getName()

A reference to a property.

Requires:

  • MUST be a dot-delimited (.) string of segments, where each segment conforms to entity property name limitations.

string name = 2;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

A reference to a property.

Requires:

  • MUST be a dot-delimited (.) string of segments, where each segment conforms to entity property name limitations.

string name = 2;

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(PropertyReference other)

public PropertyReference.Builder mergeFrom(PropertyReference other)
Parameter
Name Description
other PropertyReference
Returns
Type Description
PropertyReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PropertyReference.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PropertyReference.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PropertyReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PropertyReference.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public PropertyReference.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PropertyReference.Builder
Overrides

setName(String value)

public PropertyReference.Builder setName(String value)

A reference to a property.

Requires:

  • MUST be a dot-delimited (.) string of segments, where each segment conforms to entity property name limitations.

string name = 2;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
PropertyReference.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PropertyReference.Builder setNameBytes(ByteString value)

A reference to a property.

Requires:

  • MUST be a dot-delimited (.) string of segments, where each segment conforms to entity property name limitations.

string name = 2;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
PropertyReference.Builder

This builder for chaining.

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

public PropertyReference.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PropertyReference.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PropertyReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PropertyReference.Builder
Overrides