public final class DashboardFilter extends GeneratedMessageV3 implements DashboardFilterOrBuilder
A filter to reduce the amount of data charted in relevant widgets.
Protobuf type google.monitoring.dashboard.v1.DashboardFilter
Static Fields
FILTER_TYPE_FIELD_NUMBER
public static final int FILTER_TYPE_FIELD_NUMBER
Field Value
LABEL_KEY_FIELD_NUMBER
public static final int LABEL_KEY_FIELD_NUMBER
Field Value
STRING_VALUE_FIELD_NUMBER
public static final int STRING_VALUE_FIELD_NUMBER
Field Value
TEMPLATE_VARIABLE_FIELD_NUMBER
public static final int TEMPLATE_VARIABLE_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static DashboardFilter getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static DashboardFilter.Builder newBuilder()
Returns
newBuilder(DashboardFilter prototype)
public static DashboardFilter.Builder newBuilder(DashboardFilter prototype)
Parameter
Returns
public static DashboardFilter parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static DashboardFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static DashboardFilter parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DashboardFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static DashboardFilter parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DashboardFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DashboardFilter parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static DashboardFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static DashboardFilter parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static DashboardFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static DashboardFilter parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DashboardFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<DashboardFilter> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public DashboardFilter getDefaultInstanceForType()
Returns
getDefaultValueCase()
public DashboardFilter.DefaultValueCase getDefaultValueCase()
Returns
getFilterType()
public DashboardFilter.FilterType getFilterType()
The specified filter type
.google.monitoring.dashboard.v1.DashboardFilter.FilterType filter_type = 5;
Returns
getFilterTypeValue()
public 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 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 ByteString getLabelKeyBytes()
Required. The key for the label
string label_key = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getParserForType()
public Parser<DashboardFilter> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStringValue()
public String getStringValue()
A variable-length string value.
string string_value = 4;
Returns
Type | Description |
String | The stringValue.
|
getStringValueBytes()
public ByteString getStringValueBytes()
A variable-length string value.
string string_value = 4;
Returns
Type | Description |
ByteString | The bytes for stringValue.
|
getTemplateVariable()
public 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 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.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasStringValue()
public boolean hasStringValue()
A variable-length string value.
string string_value = 4;
Returns
Type | Description |
boolean | Whether the stringValue field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public DashboardFilter.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DashboardFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public DashboardFilter.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions