Class PropertyReference.Builder (2.12.4)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PropertyReference build()
Returns
TypeDescription
PropertyReference

buildPartial()

public PropertyReference buildPartial()
Returns
TypeDescription
PropertyReference

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public PropertyReference.Builder clearName()

The name of the property. If name includes "."s, it may be interpreted as a property name path.

string name = 2;

Returns
TypeDescription
PropertyReference.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PropertyReference getDefaultInstanceForType()
Returns
TypeDescription
PropertyReference

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

The name of the property. If name includes "."s, it may be interpreted as a property name path.

string name = 2;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the property. If name includes "."s, it may be interpreted as a property name path.

string name = 2;

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PropertyReference other)

public PropertyReference.Builder mergeFrom(PropertyReference other)
Parameter
NameDescription
otherPropertyReference
Returns
TypeDescription
PropertyReference.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public PropertyReference.Builder setName(String value)

The name of the property. If name includes "."s, it may be interpreted as a property name path.

string name = 2;

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
PropertyReference.Builder

This builder for chaining.

setNameBytes(ByteString value)

public PropertyReference.Builder setNameBytes(ByteString value)

The name of the property. If name includes "."s, it may be interpreted as a property name path.

string name = 2;

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PropertyReference.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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