Interface DocumentMaskOrBuilder (3.20.0)

public interface DocumentMaskOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFieldPaths(int index)

public abstract String getFieldPaths(int index)

The list of field paths in the mask. See Document.fields for a field path syntax reference.

repeated string field_paths = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The fieldPaths at the given index.

getFieldPathsBytes(int index)

public abstract ByteString getFieldPathsBytes(int index)

The list of field paths in the mask. See Document.fields for a field path syntax reference.

repeated string field_paths = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the fieldPaths at the given index.

getFieldPathsCount()

public abstract int getFieldPathsCount()

The list of field paths in the mask. See Document.fields for a field path syntax reference.

repeated string field_paths = 1;

Returns
TypeDescription
int

The count of fieldPaths.

getFieldPathsList()

public abstract List<String> getFieldPathsList()

The list of field paths in the mask. See Document.fields for a field path syntax reference.

repeated string field_paths = 1;

Returns
TypeDescription
List<String>

A list containing the fieldPaths.