public interface ConditionOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getActiveTimeRange(int index)
public abstract Condition.TimeRange getActiveTimeRange(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Condition.TimeRange |
getActiveTimeRangeCount()
public abstract 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;
Returns | |
---|---|
Type | Description |
int |
getActiveTimeRangeList()
public abstract 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;
Returns | |
---|---|
Type | Description |
List<TimeRange> |
getActiveTimeRangeOrBuilder(int index)
public abstract Condition.TimeRangeOrBuilder getActiveTimeRangeOrBuilder(int index)
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Condition.TimeRangeOrBuilder |
getActiveTimeRangeOrBuilderList()
public abstract 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;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1beta.Condition.TimeRangeOrBuilder> |
getQueryRegex()
public abstract String getQueryRegex()
Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. This is currently supporting promotion use case.
string query_regex = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The queryRegex. |
getQueryRegexBytes()
public abstract ByteString getQueryRegexBytes()
Optional. Query regex to match the whole search query. Cannot be set when Condition.query_terms is set. This is currently supporting promotion use case.
string query_regex = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for queryRegex. |
getQueryTerms(int index)
public abstract Condition.QueryTerm getQueryTerms(int index)
Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set.
Maximum of 10 query terms.
repeated .google.cloud.discoveryengine.v1beta.Condition.QueryTerm query_terms = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Condition.QueryTerm |
getQueryTermsCount()
public abstract int getQueryTermsCount()
Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set.
Maximum of 10 query terms.
repeated .google.cloud.discoveryengine.v1beta.Condition.QueryTerm query_terms = 2;
Returns | |
---|---|
Type | Description |
int |
getQueryTermsList()
public abstract List<Condition.QueryTerm> getQueryTermsList()
Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set.
Maximum of 10 query terms.
repeated .google.cloud.discoveryengine.v1beta.Condition.QueryTerm query_terms = 2;
Returns | |
---|---|
Type | Description |
List<QueryTerm> |
getQueryTermsOrBuilder(int index)
public abstract Condition.QueryTermOrBuilder getQueryTermsOrBuilder(int index)
Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set.
Maximum of 10 query terms.
repeated .google.cloud.discoveryengine.v1beta.Condition.QueryTerm query_terms = 2;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
Condition.QueryTermOrBuilder |
getQueryTermsOrBuilderList()
public abstract List<? extends Condition.QueryTermOrBuilder> getQueryTermsOrBuilderList()
Search only A list of terms to match the query on. Cannot be set when Condition.query_regex is set.
Maximum of 10 query terms.
repeated .google.cloud.discoveryengine.v1beta.Condition.QueryTerm query_terms = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.discoveryengine.v1beta.Condition.QueryTermOrBuilder> |