public static final class PropertyMask.Builder extends GeneratedMessageV3.Builder<PropertyMask.Builder> implements PropertyMaskOrBuilder
A set of property paths on an entity.
Protobuf type google.events.cloud.datastore.v1.PropertyMask
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PropertyMask.BuilderImplements
PropertyMaskOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllPropertyPaths(Iterable<String> values)
public PropertyMask.Builder addAllPropertyPaths(Iterable<String> values)
The list of property paths in the mask. This is not populated for delete events.
repeated string property_paths = 1;
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The propertyPaths to add. |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
This builder for chaining. |
addPropertyPaths(String value)
public PropertyMask.Builder addPropertyPaths(String value)
The list of property paths in the mask. This is not populated for delete events.
repeated string property_paths = 1;
Parameter | |
---|---|
Name | Description |
value |
String The propertyPaths to add. |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
This builder for chaining. |
addPropertyPathsBytes(ByteString value)
public PropertyMask.Builder addPropertyPathsBytes(ByteString value)
The list of property paths in the mask. This is not populated for delete events.
repeated string property_paths = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the propertyPaths to add. |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PropertyMask.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
build()
public PropertyMask build()
Returns | |
---|---|
Type | Description |
PropertyMask |
buildPartial()
public PropertyMask buildPartial()
Returns | |
---|---|
Type | Description |
PropertyMask |
clear()
public PropertyMask.Builder clear()
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
clearField(Descriptors.FieldDescriptor field)
public PropertyMask.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PropertyMask.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
clearPropertyPaths()
public PropertyMask.Builder clearPropertyPaths()
The list of property paths in the mask. This is not populated for delete events.
repeated string property_paths = 1;
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
This builder for chaining. |
clone()
public PropertyMask.Builder clone()
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
getDefaultInstanceForType()
public PropertyMask getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PropertyMask |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPropertyPaths(int index)
public String getPropertyPaths(int index)
The list of property paths in the mask. This is not populated for delete events.
repeated string property_paths = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The propertyPaths at the given index. |
getPropertyPathsBytes(int index)
public ByteString getPropertyPathsBytes(int index)
The list of property paths in the mask. This is not populated for delete events.
repeated string property_paths = 1;
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the propertyPaths at the given index. |
getPropertyPathsCount()
public int getPropertyPathsCount()
The list of property paths in the mask. This is not populated for delete events.
repeated string property_paths = 1;
Returns | |
---|---|
Type | Description |
int |
The count of propertyPaths. |
getPropertyPathsList()
public ProtocolStringList getPropertyPathsList()
The list of property paths in the mask. This is not populated for delete events.
repeated string property_paths = 1;
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the propertyPaths. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PropertyMask other)
public PropertyMask.Builder mergeFrom(PropertyMask other)
Parameter | |
---|---|
Name | Description |
other |
PropertyMask |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PropertyMask.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PropertyMask.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PropertyMask.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PropertyMask.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
setPropertyPaths(int index, String value)
public PropertyMask.Builder setPropertyPaths(int index, String value)
The list of property paths in the mask. This is not populated for delete events.
repeated string property_paths = 1;
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The propertyPaths to set. |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PropertyMask.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final PropertyMask.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PropertyMask.Builder |