Filters API - Manual - Industrial Edge - Industrial Edge - Industrial Edge - Documentation of Industrial Edge APIs - CLI tools - Industrial Edge - References - APIs

Industrial Edge Platform Operation - APIs & References

Product
Industrial Edge
Edition
12/2024
Language
en-US (original)
// Filter type and option definitions
syntax = "proto3";

import "common_variant.proto";
import "common_operators.proto";


package siemens.common.filters.v1;


message SupportedFilter {
    string key = 1;
    siemens.common.types.v1.VariantType datatype = 2;
}

message SupportedOption {
    string key = 1;
    siemens.common.types.v1.VariantType datatype = 2;
}

message ActiveFilter {
    string key = 1; // e.g. Timeout
    // array of raw-data
    siemens.common.operators.v1.ComparisonOperator operator = 2; //optional
    siemens.common.types.v1.Variant value = 3;
}


message ActiveOption {
    string key = 1; // e.g. Timeout
    // array of raw-data
    siemens.common.operators.v1.ComparisonOperator operator = 2; //optional (when missing it means EQUAL)
    siemens.common.types.v1.Variant value = 3;
}

// Get list of supported filter types from the connector

message FilterTypesRequest {
    //void
}

message FilterTypesResponse {
    repeated SupportedFilter filter_types = 1;
}

// Get list of supported filter options from the connector

message FilterOptionsRequest {
    //void
}

message FilterOptionsResponse {
    repeated SupportedOption filter_options = 1;
}
Message Type Field Type Description
SupportedFilter key string -
datatype siemens.common.types.v1.VariantType -
SupportedOption key string -
datatype siemens.common.types.v1.VariantType -
ActiveFilter key string e.g. Timeout
operator siemens.common.operators.v1.ComparisonOperator optional
value siemens.common.types.v1.Variant -
ActiveOption key string e.g. Timeout
operator siemens.common.operators.v1.ComparisonOperator optional (when missing it means EQUAL)
value siemens.common.types.v1.Variant -
FilterTypesRequest - - void
FilterTypesResponse filter_types repeated SupportedFilter -
FilterOptionsRequest - - void
FilterOptionsResponse filter_options repeated SupportedOption -