Interface DashboardFilterOrBuilder (2.50.0)

public interface DashboardFilterOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDefaultValueCase()

public abstract DashboardFilter.DefaultValueCase getDefaultValueCase()
Returns
Type Description
DashboardFilter.DefaultValueCase

getFilterType()

public abstract DashboardFilter.FilterType getFilterType()

The specified filter type

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

Returns
Type Description
DashboardFilter.FilterType

The filterType.

getFilterTypeValue()

public abstract int getFilterTypeValue()

The specified filter type

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

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

The labelKey.

getLabelKeyBytes()

public abstract ByteString getLabelKeyBytes()

Required. The key for the label

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

Returns
Type Description
ByteString

The bytes for labelKey.

getStringValue()

public abstract String getStringValue()

A variable-length string value.

string string_value = 4;

Returns
Type Description
String

The stringValue.

getStringValueBytes()

public abstract ByteString getStringValueBytes()

A variable-length string value.

string string_value = 4;

Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for templateVariable.

hasStringValue()

public abstract boolean hasStringValue()

A variable-length string value.

string string_value = 4;

Returns
Type Description
boolean

Whether the stringValue field is set.