Package com.google.cloud.chronicle.v1
Class DashboardFilter
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.chronicle.v1.DashboardFilter
- All Implemented Interfaces:
DashboardFilterOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class DashboardFilter
extends com.google.protobuf.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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDashboard level filter that can be used in native dashboards as well as inputs to execute query.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.Optional.getChartIds(int index) Chart IDs the filter is applicable for.com.google.protobuf.ByteStringgetChartIdsBytes(int index) Chart IDs the filter is applicable for.intChart IDs the filter is applicable for.com.google.protobuf.ProtocolStringListChart IDs the filter is applicable for.Datasource the filter is applicable for.intDatasource the filter is applicable for.static DashboardFilterstatic final com.google.protobuf.Descriptors.DescriptorDisplay name of the filter.com.google.protobuf.ByteStringDisplay name of the filter.Filter field path.com.google.protobuf.ByteStringFilter field path.getFilterOperatorAndFieldValues(int index) Operator and values.intOperator and values.Operator and values.getFilterOperatorAndFieldValuesOrBuilder(int index) Operator and values.List<? extends FilterOperatorAndValuesOrBuilder>Operator and values.getId()ID of the filter.com.google.protobuf.ByteStringID of the filter.booleanOptional.booleanOptional.booleanOptional.com.google.protobuf.Parser<DashboardFilter>intbooleanOptional.inthashCode()booleanOptional.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic DashboardFilter.Builderstatic DashboardFilter.BuildernewBuilder(DashboardFilter prototype) protected DashboardFilter.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static DashboardFilterparseDelimitedFrom(InputStream input) static DashboardFilterparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardFilterparseFrom(byte[] data) static DashboardFilterparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardFilterparseFrom(com.google.protobuf.ByteString data) static DashboardFilterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardFilterparseFrom(com.google.protobuf.CodedInputStream input) static DashboardFilterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardFilterparseFrom(InputStream input) static DashboardFilterparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static DashboardFilterparseFrom(ByteBuffer data) static DashboardFilterparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<DashboardFilter>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER- See Also:
-
DATA_SOURCE_FIELD_NUMBER
public static final int DATA_SOURCE_FIELD_NUMBER- See Also:
-
FIELD_PATH_FIELD_NUMBER
public static final int FIELD_PATH_FIELD_NUMBER- See Also:
-
FILTER_OPERATOR_AND_FIELD_VALUES_FIELD_NUMBER
public static final int FILTER_OPERATOR_AND_FIELD_VALUES_FIELD_NUMBER- See Also:
-
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER- See Also:
-
CHART_IDS_FIELD_NUMBER
public static final int CHART_IDS_FIELD_NUMBER- See Also:
-
IS_STANDARD_TIME_RANGE_FILTER_FIELD_NUMBER
public static final int IS_STANDARD_TIME_RANGE_FILTER_FIELD_NUMBER- See Also:
-
IS_MANDATORY_FIELD_NUMBER
public static final int IS_MANDATORY_FIELD_NUMBER- See Also:
-
IS_STANDARD_TIME_RANGE_FILTER_ENABLED_FIELD_NUMBER
public static final int IS_STANDARD_TIME_RANGE_FILTER_ENABLED_FIELD_NUMBER- See Also:
-
ADVANCED_FILTER_CONFIG_FIELD_NUMBER
public static final int ADVANCED_FILTER_CONFIG_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getId
ID of the filter.
string id = 1;- Specified by:
getIdin interfaceDashboardFilterOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()ID of the filter.
string id = 1;- Specified by:
getIdBytesin interfaceDashboardFilterOrBuilder- Returns:
- The bytes for id.
-
getDataSourceValue
public int getDataSourceValue()Datasource the filter is applicable for.
.google.cloud.chronicle.v1.DataSource data_source = 2;- Specified by:
getDataSourceValuein interfaceDashboardFilterOrBuilder- Returns:
- The enum numeric value on the wire for dataSource.
-
getDataSource
Datasource the filter is applicable for.
.google.cloud.chronicle.v1.DataSource data_source = 2;- Specified by:
getDataSourcein interfaceDashboardFilterOrBuilder- Returns:
- The dataSource.
-
getFieldPath
Filter field path.
string field_path = 3;- Specified by:
getFieldPathin interfaceDashboardFilterOrBuilder- Returns:
- The fieldPath.
-
getFieldPathBytes
public com.google.protobuf.ByteString getFieldPathBytes()Filter field path.
string field_path = 3;- Specified by:
getFieldPathBytesin interfaceDashboardFilterOrBuilder- Returns:
- The bytes for fieldPath.
-
getFilterOperatorAndFieldValuesList
Operator and values. Can include multiple modifiers.
repeated .google.cloud.chronicle.v1.FilterOperatorAndValues filter_operator_and_field_values = 4;- Specified by:
getFilterOperatorAndFieldValuesListin interfaceDashboardFilterOrBuilder
-
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;- Specified by:
getFilterOperatorAndFieldValuesOrBuilderListin interfaceDashboardFilterOrBuilder
-
getFilterOperatorAndFieldValuesCount
public int getFilterOperatorAndFieldValuesCount()Operator and values. Can include multiple modifiers.
repeated .google.cloud.chronicle.v1.FilterOperatorAndValues filter_operator_and_field_values = 4;- Specified by:
getFilterOperatorAndFieldValuesCountin interfaceDashboardFilterOrBuilder
-
getFilterOperatorAndFieldValues
Operator and values. Can include multiple modifiers.
repeated .google.cloud.chronicle.v1.FilterOperatorAndValues filter_operator_and_field_values = 4;- Specified by:
getFilterOperatorAndFieldValuesin interfaceDashboardFilterOrBuilder
-
getFilterOperatorAndFieldValuesOrBuilder
Operator and values. Can include multiple modifiers.
repeated .google.cloud.chronicle.v1.FilterOperatorAndValues filter_operator_and_field_values = 4;- Specified by:
getFilterOperatorAndFieldValuesOrBuilderin interfaceDashboardFilterOrBuilder
-
getDisplayName
Display name of the filter.
string display_name = 5;- Specified by:
getDisplayNamein interfaceDashboardFilterOrBuilder- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()Display name of the filter.
string display_name = 5;- Specified by:
getDisplayNameBytesin interfaceDashboardFilterOrBuilder- Returns:
- The bytes for displayName.
-
getChartIdsList
public com.google.protobuf.ProtocolStringList getChartIdsList()Chart IDs the filter is applicable for.
repeated string chart_ids = 6;- Specified by:
getChartIdsListin interfaceDashboardFilterOrBuilder- Returns:
- A list containing the chartIds.
-
getChartIdsCount
public int getChartIdsCount()Chart IDs the filter is applicable for.
repeated string chart_ids = 6;- Specified by:
getChartIdsCountin interfaceDashboardFilterOrBuilder- Returns:
- The count of chartIds.
-
getChartIds
Chart IDs the filter is applicable for.
repeated string chart_ids = 6;- Specified by:
getChartIdsin interfaceDashboardFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The chartIds at the given index.
-
getChartIdsBytes
public com.google.protobuf.ByteString getChartIdsBytes(int index) Chart IDs the filter is applicable for.
repeated string chart_ids = 6;- Specified by:
getChartIdsBytesin interfaceDashboardFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the chartIds at the given index.
-
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];- Specified by:
getIsStandardTimeRangeFilterin interfaceDashboardFilterOrBuilder- Returns:
- The isStandardTimeRangeFilter.
-
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];- Specified by:
getIsMandatoryin interfaceDashboardFilterOrBuilder- Returns:
- The isMandatory.
-
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];- Specified by:
hasIsStandardTimeRangeFilterEnabledin interfaceDashboardFilterOrBuilder- Returns:
- Whether the isStandardTimeRangeFilterEnabled field is set.
-
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];- Specified by:
getIsStandardTimeRangeFilterEnabledin interfaceDashboardFilterOrBuilder- Returns:
- The isStandardTimeRangeFilterEnabled.
-
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];- Specified by:
hasAdvancedFilterConfigin interfaceDashboardFilterOrBuilder- Returns:
- Whether the advancedFilterConfig field is set.
-
getAdvancedFilterConfig
Optional. Advanced filter configuration for the filter widget.
.google.cloud.chronicle.v1.AdvancedFilterConfig advanced_filter_config = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdvancedFilterConfigin interfaceDashboardFilterOrBuilder- Returns:
- The advancedFilterConfig.
-
getAdvancedFilterConfigOrBuilder
Optional. Advanced filter configuration for the filter widget.
.google.cloud.chronicle.v1.AdvancedFilterConfig advanced_filter_config = 10 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAdvancedFilterConfigOrBuilderin interfaceDashboardFilterOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static DashboardFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DashboardFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DashboardFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DashboardFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DashboardFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static DashboardFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static DashboardFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static DashboardFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static DashboardFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static DashboardFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected DashboardFilter.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-