# Interface PropertyMaskOrBuilder (3.1.0)

3.1.0 (latest) 2.40.0 2.37.0 2.36.0 2.34.0 2.33.3 2.32.3 2.31.4 2.30.0 2.29.1 2.28.2 2.27.1 2.26.4 2.25.2 2.24.3 2.23.0 2.22.0 2.21.3 2.20.2 2.19.2 2.18.5 2.17.6

    public interface PropertyMaskOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### getPaths(int index)

    public abstract String getPaths(int index)

The paths to the properties covered by this mask.

A path is a list of property names separated by dots (`.`), for example
`foo.bar` means the property `bar` inside the entity property `foo` inside
the entity associated with this path.

If a property name contains a dot `.` or a backslash `\`, then that
name must be escaped.

A path must not be empty, and may not reference a value inside an
array value.

`repeated string paths = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the element to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The paths at the given index. |

### getPathsBytes(int index)

    public abstract ByteString getPathsBytes(int index)

The paths to the properties covered by this mask.

A path is a list of property names separated by dots (`.`), for example
`foo.bar` means the property `bar` inside the entity property `foo` inside
the entity associated with this path.

If a property name contains a dot `.` or a backslash `\`, then that
name must be escaped.

A path must not be empty, and may not reference a value inside an
array value.

`repeated string paths = 1;`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` The index of the value to return. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes of the paths at the given index. |

### getPathsCount()

    public abstract int getPathsCount()

The paths to the properties covered by this mask.

A path is a list of property names separated by dots (`.`), for example
`foo.bar` means the property `bar` inside the entity property `foo` inside
the entity associated with this path.

If a property name contains a dot `.` or a backslash `\`, then that
name must be escaped.

A path must not be empty, and may not reference a value inside an
array value.

`repeated string paths = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The count of paths. |

### getPathsList()

    public abstract List<String> getPathsList()

The paths to the properties covered by this mask.

A path is a list of property names separated by dots (`.`), for example
`foo.bar` means the property `bar` inside the entity property `foo` inside
the entity associated with this path.

If a property name contains a dot `.` or a backslash `\`, then that
name must be escaped.

A path must not be empty, and may not reference a value inside an
array value.

`repeated string paths = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` | A list containing the paths. |