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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PropertyReference.BuilderImplements
PropertyReferenceOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public PropertyReference.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PropertyReference.Builder |
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 |
clone()
public PropertyReference.Builder clone()
Returns | |
---|---|
Type | Description |
PropertyReference.Builder |
getDefaultInstanceForType()
public PropertyReference getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PropertyReference |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PropertyReference.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PropertyReference.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PropertyReference.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PropertyReference.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final PropertyReference.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PropertyReference.Builder |