Interface LogsPanelOrBuilder (2.48.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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

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

The index of the value to return.

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

A list containing the resourceNames.