Interface ConditionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Condition,Condition.Builder
@Generated
public interface ConditionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetActiveTimeRange(int index) Range of time(s) specifying when condition is active.intRange of time(s) specifying when condition is active.Range of time(s) specifying when condition is active.getActiveTimeRangeOrBuilder(int index) Range of time(s) specifying when condition is active.List<? extends Condition.TimeRangeOrBuilder>Range of time(s) specifying when condition is active.Optional.com.google.protobuf.ByteStringOptional.getQueryTerms(int index) Search only A list of terms to match the query on.intSearch only A list of terms to match the query on.Search only A list of terms to match the query on.getQueryTermsOrBuilder(int index) Search only A list of terms to match the query on.List<? extends Condition.QueryTermOrBuilder>Search only A list of terms to match the query on.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getQueryTermsList
List<Condition.QueryTerm> getQueryTermsList()Search only A list of terms to match the query on. Cannot be set when [Condition.query_regex][google.cloud.discoveryengine.v1beta.Condition.query_regex] is set. Maximum of 10 query terms.
repeated .google.cloud.discoveryengine.v1beta.Condition.QueryTerm query_terms = 2; -
getQueryTerms
Search only A list of terms to match the query on. Cannot be set when [Condition.query_regex][google.cloud.discoveryengine.v1beta.Condition.query_regex] is set. Maximum of 10 query terms.
repeated .google.cloud.discoveryengine.v1beta.Condition.QueryTerm query_terms = 2; -
getQueryTermsCount
int getQueryTermsCount()Search only A list of terms to match the query on. Cannot be set when [Condition.query_regex][google.cloud.discoveryengine.v1beta.Condition.query_regex] is set. Maximum of 10 query terms.
repeated .google.cloud.discoveryengine.v1beta.Condition.QueryTerm query_terms = 2; -
getQueryTermsOrBuilderList
List<? extends Condition.QueryTermOrBuilder> getQueryTermsOrBuilderList()Search only A list of terms to match the query on. Cannot be set when [Condition.query_regex][google.cloud.discoveryengine.v1beta.Condition.query_regex] is set. Maximum of 10 query terms.
repeated .google.cloud.discoveryengine.v1beta.Condition.QueryTerm query_terms = 2; -
getQueryTermsOrBuilder
Search only A list of terms to match the query on. Cannot be set when [Condition.query_regex][google.cloud.discoveryengine.v1beta.Condition.query_regex] is set. Maximum of 10 query terms.
repeated .google.cloud.discoveryengine.v1beta.Condition.QueryTerm query_terms = 2; -
getActiveTimeRangeList
List<Condition.TimeRange> getActiveTimeRangeList()Range of time(s) specifying when condition is active. Maximum of 10 time ranges.
repeated .google.cloud.discoveryengine.v1beta.Condition.TimeRange active_time_range = 3; -
getActiveTimeRange
Range of time(s) specifying when condition is active. Maximum of 10 time ranges.
repeated .google.cloud.discoveryengine.v1beta.Condition.TimeRange active_time_range = 3; -
getActiveTimeRangeCount
int getActiveTimeRangeCount()Range of time(s) specifying when condition is active. Maximum of 10 time ranges.
repeated .google.cloud.discoveryengine.v1beta.Condition.TimeRange active_time_range = 3; -
getActiveTimeRangeOrBuilderList
List<? extends Condition.TimeRangeOrBuilder> getActiveTimeRangeOrBuilderList()Range of time(s) specifying when condition is active. Maximum of 10 time ranges.
repeated .google.cloud.discoveryengine.v1beta.Condition.TimeRange active_time_range = 3; -
getActiveTimeRangeOrBuilder
Range of time(s) specifying when condition is active. Maximum of 10 time ranges.
repeated .google.cloud.discoveryengine.v1beta.Condition.TimeRange active_time_range = 3; -
getQueryRegex
String getQueryRegex()Optional. Query regex to match the whole search query. Cannot be set when [Condition.query_terms][google.cloud.discoveryengine.v1beta.Condition.query_terms] is set. This is currently supporting promotion use case.
string query_regex = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The queryRegex.
-
getQueryRegexBytes
com.google.protobuf.ByteString getQueryRegexBytes()Optional. Query regex to match the whole search query. Cannot be set when [Condition.query_terms][google.cloud.discoveryengine.v1beta.Condition.query_terms] is set. This is currently supporting promotion use case.
string query_regex = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for queryRegex.
-