Interface DocumentMaskOrBuilder (3.21.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the fieldPaths.