public final class DashboardFilter extends GeneratedMessage implements DashboardFilterOrBuilder
Dashboard level filter that can be used in native dashboards as well as
inputs to execute query.
Protobuf type google.cloud.chronicle.v1.DashboardFilter
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
ADVANCED_FILTER_CONFIG_FIELD_NUMBER
public static final int ADVANCED_FILTER_CONFIG_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
CHART_IDS_FIELD_NUMBER
public static final int CHART_IDS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DATA_SOURCE_FIELD_NUMBER
public static final int DATA_SOURCE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FIELD_PATH_FIELD_NUMBER
public static final int FIELD_PATH_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
FILTER_OPERATOR_AND_FIELD_VALUES_FIELD_NUMBER
public static final int FILTER_OPERATOR_AND_FIELD_VALUES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
IS_MANDATORY_FIELD_NUMBER
public static final int IS_MANDATORY_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
IS_STANDARD_TIME_RANGE_FILTER_ENABLED_FIELD_NUMBER
public static final int IS_STANDARD_TIME_RANGE_FILTER_ENABLED_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
IS_STANDARD_TIME_RANGE_FILTER_FIELD_NUMBER
public static final int IS_STANDARD_TIME_RANGE_FILTER_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static DashboardFilter getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DashboardFilter.Builder newBuilder()
newBuilder(DashboardFilter prototype)
public static DashboardFilter.Builder newBuilder(DashboardFilter prototype)
public static DashboardFilter parseDelimitedFrom(InputStream input)
public static DashboardFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DashboardFilter parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DashboardFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DashboardFilter parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DashboardFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DashboardFilter parseFrom(CodedInputStream input)
public static DashboardFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DashboardFilter parseFrom(InputStream input)
public static DashboardFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DashboardFilter parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DashboardFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DashboardFilter> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getAdvancedFilterConfig()
public AdvancedFilterConfig getAdvancedFilterConfig()
Optional. Advanced filter configuration for the filter widget.
.google.cloud.chronicle.v1.AdvancedFilterConfig advanced_filter_config = 10 [(.google.api.field_behavior) = OPTIONAL];
getAdvancedFilterConfigOrBuilder()
public AdvancedFilterConfigOrBuilder getAdvancedFilterConfigOrBuilder()
Optional. Advanced filter configuration for the filter widget.
.google.cloud.chronicle.v1.AdvancedFilterConfig advanced_filter_config = 10 [(.google.api.field_behavior) = OPTIONAL];
getChartIds(int index)
public String getChartIds(int index)
Chart IDs the filter is applicable for.
repeated string chart_ids = 6;
| Parameter |
| Name |
Description |
index |
int
The index of the element to return.
|
| Returns |
| Type |
Description |
String |
The chartIds at the given index.
|
getChartIdsBytes(int index)
public ByteString getChartIdsBytes(int index)
Chart IDs the filter is applicable for.
repeated string chart_ids = 6;
| Parameter |
| Name |
Description |
index |
int
The index of the value to return.
|
| Returns |
| Type |
Description |
ByteString |
The bytes of the chartIds at the given index.
|
getChartIdsCount()
public int getChartIdsCount()
Chart IDs the filter is applicable for.
repeated string chart_ids = 6;
| Returns |
| Type |
Description |
int |
The count of chartIds.
|
getChartIdsList()
public ProtocolStringList getChartIdsList()
Chart IDs the filter is applicable for.
repeated string chart_ids = 6;
getDataSource()
public DataSource getDataSource()
Datasource the filter is applicable for.
.google.cloud.chronicle.v1.DataSource data_source = 2;
| Returns |
| Type |
Description |
DataSource |
The dataSource.
|
getDataSourceValue()
public int getDataSourceValue()
Datasource the filter is applicable for.
.google.cloud.chronicle.v1.DataSource data_source = 2;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for dataSource.
|
getDefaultInstanceForType()
public DashboardFilter getDefaultInstanceForType()
getDisplayName()
public String getDisplayName()
Display name of the filter.
string display_name = 5;
| Returns |
| Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Display name of the filter.
string display_name = 5;
| Returns |
| Type |
Description |
ByteString |
The bytes for displayName.
|
getFieldPath()
public String getFieldPath()
Filter field path.
string field_path = 3;
| Returns |
| Type |
Description |
String |
The fieldPath.
|
getFieldPathBytes()
public ByteString getFieldPathBytes()
Filter field path.
string field_path = 3;
| Returns |
| Type |
Description |
ByteString |
The bytes for fieldPath.
|
getFilterOperatorAndFieldValues(int index)
public FilterOperatorAndValues getFilterOperatorAndFieldValues(int index)
Operator and values. Can include multiple modifiers.
repeated .google.cloud.chronicle.v1.FilterOperatorAndValues filter_operator_and_field_values = 4;
| Parameter |
| Name |
Description |
index |
int
|
getFilterOperatorAndFieldValuesCount()
public int getFilterOperatorAndFieldValuesCount()
Operator and values. Can include multiple modifiers.
repeated .google.cloud.chronicle.v1.FilterOperatorAndValues filter_operator_and_field_values = 4;
| Returns |
| Type |
Description |
int |
|
getFilterOperatorAndFieldValuesList()
public List<FilterOperatorAndValues> getFilterOperatorAndFieldValuesList()
Operator and values. Can include multiple modifiers.
repeated .google.cloud.chronicle.v1.FilterOperatorAndValues filter_operator_and_field_values = 4;
getFilterOperatorAndFieldValuesOrBuilder(int index)
public FilterOperatorAndValuesOrBuilder getFilterOperatorAndFieldValuesOrBuilder(int index)
Operator and values. Can include multiple modifiers.
repeated .google.cloud.chronicle.v1.FilterOperatorAndValues filter_operator_and_field_values = 4;
| Parameter |
| Name |
Description |
index |
int
|
getFilterOperatorAndFieldValuesOrBuilderList()
public List<? extends FilterOperatorAndValuesOrBuilder> getFilterOperatorAndFieldValuesOrBuilderList()
Operator and values. Can include multiple modifiers.
repeated .google.cloud.chronicle.v1.FilterOperatorAndValues filter_operator_and_field_values = 4;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.chronicle.v1.FilterOperatorAndValuesOrBuilder> |
|
getId()
ID of the filter.
string id = 1;
| Returns |
| Type |
Description |
String |
The id.
|
getIdBytes()
public ByteString getIdBytes()
ID of the filter.
string id = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for id.
|
getIsMandatory()
public boolean getIsMandatory()
Optional. Whether this filter is required to be populated by the
dashboard consumer prior to the dashboard loading.
bool is_mandatory = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The isMandatory.
|
getIsStandardTimeRangeFilter()
public boolean getIsStandardTimeRangeFilter()
Optional. Whether the filter is a standard time range filter,
meaning that it has to be used as the query time range,
and not as a predicate in the query.
A chart can have at most one standard time range filter applied.
bool is_standard_time_range_filter = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The isStandardTimeRangeFilter.
|
getIsStandardTimeRangeFilterEnabled()
public boolean getIsStandardTimeRangeFilterEnabled()
Optional. Whether this standard time range filter is enabled.
optional bool is_standard_time_range_filter_enabled = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
The isStandardTimeRangeFilterEnabled.
|
getParserForType()
public Parser<DashboardFilter> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
hasAdvancedFilterConfig()
public boolean hasAdvancedFilterConfig()
Optional. Advanced filter configuration for the filter widget.
.google.cloud.chronicle.v1.AdvancedFilterConfig advanced_filter_config = 10 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the advancedFilterConfig field is set.
|
hasIsStandardTimeRangeFilterEnabled()
public boolean hasIsStandardTimeRangeFilterEnabled()
Optional. Whether this standard time range filter is enabled.
optional bool is_standard_time_range_filter_enabled = 9 [(.google.api.field_behavior) = OPTIONAL];
| Returns |
| Type |
Description |
boolean |
Whether the isStandardTimeRangeFilterEnabled field is set.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DashboardFilter.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected DashboardFilter.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public DashboardFilter.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides