Interface LogsPanelOrBuilder (2.19.0)

public interface LogsPanelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFilter()

public abstract String getFilter()

A filter that chooses which log entries to return. See Advanced Logs Queries. Only log entries that match the filter are returned. An empty filter matches all log entries.

string filter = 1;

Returns
TypeDescription
String

The filter.

getFilterBytes()

public abstract ByteString getFilterBytes()

A filter that chooses which log entries to return. See Advanced Logs Queries. Only log entries that match the filter are returned. An empty filter matches all log entries.

string filter = 1;

Returns
TypeDescription
ByteString

The bytes for filter.

getResourceNames(int index)

public abstract String getResourceNames(int index)

The names of logging resources to collect logs for. Currently only projects are supported. If empty, the widget will default to the host project.

repeated string resource_names = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The resourceNames at the given index.

getResourceNamesBytes(int index)

public abstract ByteString getResourceNamesBytes(int index)

The names of logging resources to collect logs for. Currently only projects are supported. If empty, the widget will default to the host project.

repeated string resource_names = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the resourceNames at the given index.

getResourceNamesCount()

public abstract int getResourceNamesCount()

The names of logging resources to collect logs for. Currently only projects are supported. If empty, the widget will default to the host project.

repeated string resource_names = 2;

Returns
TypeDescription
int

The count of resourceNames.

getResourceNamesList()

public abstract List<String> getResourceNamesList()

The names of logging resources to collect logs for. Currently only projects are supported. If empty, the widget will default to the host project.

repeated string resource_names = 2;

Returns
TypeDescription
List<String>

A list containing the resourceNames.