Class PropertyMask.Builder (0.14.1)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The propertyPaths to add.

Returns
TypeDescription
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
NameDescription
valueString

The propertyPaths to add.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes of the propertyPaths to add.

Returns
TypeDescription
PropertyMask.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PropertyMask build()
Returns
TypeDescription
PropertyMask

buildPartial()

public PropertyMask buildPartial()
Returns
TypeDescription
PropertyMask

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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
TypeDescription
PropertyMask.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public PropertyMask getDefaultInstanceForType()
Returns
TypeDescription
PropertyMask

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the propertyPaths.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PropertyMask other)

public PropertyMask.Builder mergeFrom(PropertyMask other)
Parameter
NameDescription
otherPropertyMask
Returns
TypeDescription
PropertyMask.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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
NameDescription
indexint

The index to set the value at.

valueString

The propertyPaths to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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