Interface PropertyMaskOrBuilder (2.20.2)
Stay organized with collections
Save and categorize content based on your preferences.
publicinterface PropertyMaskOrBuilderextendsMessageOrBuilderImplements
MessageOrBuilderMethods
getPaths(int index)
publicabstractStringgetPaths(intindex)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 |
int The index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The paths at the given index. |
getPathsBytes(int index)
publicabstractByteStringgetPathsBytes(intindex)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 |
int The index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the paths at the given index. |
getPathsCount()
publicabstractintgetPathsCount()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 |
int |
The count of paths. |
getPathsList()
publicabstractList<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 |
List<String> |
A list containing the paths. |