Interface DashboardFilterOrBuilder (2.43.0)

public interface DashboardFilterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDefaultValueCase()

public abstract DashboardFilter.DefaultValueCase getDefaultValueCase()
Returns
TypeDescription
DashboardFilter.DefaultValueCase

getFilterType()

public abstract DashboardFilter.FilterType getFilterType()

The specified filter type

.google.monitoring.dashboard.v1.DashboardFilter.FilterType filter_type = 5;

Returns
TypeDescription
DashboardFilter.FilterType

The filterType.

getFilterTypeValue()

public abstract int getFilterTypeValue()

The specified filter type

.google.monitoring.dashboard.v1.DashboardFilter.FilterType filter_type = 5;

Returns
TypeDescription
int

The enum numeric value on the wire for filterType.

getLabelKey()

public abstract String getLabelKey()

Required. The key for the label

string label_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The labelKey.

getLabelKeyBytes()

public abstract ByteString getLabelKeyBytes()

Required. The key for the label

string label_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for labelKey.

getStringValue()

public abstract String getStringValue()

A variable-length string value.

string string_value = 4;

Returns
TypeDescription
String

The stringValue.

getStringValueBytes()

public abstract ByteString getStringValueBytes()

A variable-length string value.

string string_value = 4;

Returns
TypeDescription
ByteString

The bytes for stringValue.

getTemplateVariable()

public abstract String getTemplateVariable()

The placeholder text that can be referenced in a filter string or MQL query. If omitted, the dashboard filter will be applied to all relevant widgets in the dashboard.

string template_variable = 3;

Returns
TypeDescription
String

The templateVariable.

getTemplateVariableBytes()

public abstract ByteString getTemplateVariableBytes()

The placeholder text that can be referenced in a filter string or MQL query. If omitted, the dashboard filter will be applied to all relevant widgets in the dashboard.

string template_variable = 3;

Returns
TypeDescription
ByteString

The bytes for templateVariable.

hasStringValue()

public abstract boolean hasStringValue()

A variable-length string value.

string string_value = 4;

Returns
TypeDescription
boolean

Whether the stringValue field is set.