- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.1
- 2.4.0
- 2.3.0
- 2.2.3
- 2.1.0
- 2.0.19
public interface ControlOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getAssociatedServingConfigIds(int index)
public abstract String getAssociatedServingConfigIds(int index)
Output only. List of serving configuration ids that that are associated with this control. Note the association is managed via the ServingConfig, this is an output only denormalizeed view. Assumed to be in the same catalog.
repeated string associated_serving_config_ids = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int The index of the element to return. |
Type | Description |
String | The associatedServingConfigIds at the given index. |
getAssociatedServingConfigIdsBytes(int index)
public abstract ByteString getAssociatedServingConfigIdsBytes(int index)
Output only. List of serving configuration ids that that are associated with this control. Note the association is managed via the ServingConfig, this is an output only denormalizeed view. Assumed to be in the same catalog.
repeated string associated_serving_config_ids = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Name | Description |
index | int The index of the value to return. |
Type | Description |
ByteString | The bytes of the associatedServingConfigIds at the given index. |
getAssociatedServingConfigIdsCount()
public abstract int getAssociatedServingConfigIdsCount()
Output only. List of serving configuration ids that that are associated with this control. Note the association is managed via the ServingConfig, this is an output only denormalizeed view. Assumed to be in the same catalog.
repeated string associated_serving_config_ids = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
int | The count of associatedServingConfigIds. |
getAssociatedServingConfigIdsList()
public abstract List<String> getAssociatedServingConfigIdsList()
Output only. List of serving configuration ids that that are associated with this control. Note the association is managed via the ServingConfig, this is an output only denormalizeed view. Assumed to be in the same catalog.
repeated string associated_serving_config_ids = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
Type | Description |
List<String> | A list containing the associatedServingConfigIds. |
getControlCase()
public abstract Control.ControlCase getControlCase()
Type | Description |
Control.ControlCase |
getDisplayName()
public abstract String getDisplayName()
Required. The human readable control display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is thrown.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
Required. The human readable control display name. Used in Retail UI. This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is thrown.
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for displayName. |
getFacetSpec()
public abstract SearchRequest.FacetSpec getFacetSpec()
A facet specification to perform faceted search.
.google.cloud.retail.v2beta.SearchRequest.FacetSpec facet_spec = 3;
Type | Description |
SearchRequest.FacetSpec | The facetSpec. |
getFacetSpecOrBuilder()
public abstract SearchRequest.FacetSpecOrBuilder getFacetSpecOrBuilder()
A facet specification to perform faceted search.
.google.cloud.retail.v2beta.SearchRequest.FacetSpec facet_spec = 3;
Type | Description |
SearchRequest.FacetSpecOrBuilder |
getName()
public abstract String getName()
Immutable. Fully qualified name projects/*/locations/global/catalogs/*/controls/*
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
String | The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Immutable. Fully qualified name projects/*/locations/global/catalogs/*/controls/*
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
Type | Description |
ByteString | The bytes for name. |
getRule()
public abstract Rule getRule()
A rule control - a condition-action pair. Enacts a set action when the condition is triggered. For example: Boost "gShoe" when query full matches "Running Shoes".
.google.cloud.retail.v2beta.Rule rule = 4;
Type | Description |
Rule | The rule. |
getRuleOrBuilder()
public abstract RuleOrBuilder getRuleOrBuilder()
A rule control - a condition-action pair. Enacts a set action when the condition is triggered. For example: Boost "gShoe" when query full matches "Running Shoes".
.google.cloud.retail.v2beta.Rule rule = 4;
Type | Description |
RuleOrBuilder |
getSolutionTypes(int index)
public abstract SolutionType getSolutionTypes(int index)
Required. Immutable. The solution types that the serving config is used
for. Currently we support setting only one type of solution at creation
time.
Only SOLUTION_TYPE_SEARCH
value is supported at the moment.
If no solution type is provided at creation time, will default to
SOLUTION_TYPE_SEARCH.
repeated .google.cloud.retail.v2beta.SolutionType solution_types = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Name | Description |
index | int The index of the element to return. |
Type | Description |
SolutionType | The solutionTypes at the given index. |
getSolutionTypesCount()
public abstract int getSolutionTypesCount()
Required. Immutable. The solution types that the serving config is used
for. Currently we support setting only one type of solution at creation
time.
Only SOLUTION_TYPE_SEARCH
value is supported at the moment.
If no solution type is provided at creation time, will default to
SOLUTION_TYPE_SEARCH.
repeated .google.cloud.retail.v2beta.SolutionType solution_types = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
int | The count of solutionTypes. |
getSolutionTypesList()
public abstract List<SolutionType> getSolutionTypesList()
Required. Immutable. The solution types that the serving config is used
for. Currently we support setting only one type of solution at creation
time.
Only SOLUTION_TYPE_SEARCH
value is supported at the moment.
If no solution type is provided at creation time, will default to
SOLUTION_TYPE_SEARCH.
repeated .google.cloud.retail.v2beta.SolutionType solution_types = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
List<SolutionType> | A list containing the solutionTypes. |
getSolutionTypesValue(int index)
public abstract int getSolutionTypesValue(int index)
Required. Immutable. The solution types that the serving config is used
for. Currently we support setting only one type of solution at creation
time.
Only SOLUTION_TYPE_SEARCH
value is supported at the moment.
If no solution type is provided at creation time, will default to
SOLUTION_TYPE_SEARCH.
repeated .google.cloud.retail.v2beta.SolutionType solution_types = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Name | Description |
index | int The index of the value to return. |
Type | Description |
int | The enum numeric value on the wire of solutionTypes at the given index. |
getSolutionTypesValueList()
public abstract List<Integer> getSolutionTypesValueList()
Required. Immutable. The solution types that the serving config is used
for. Currently we support setting only one type of solution at creation
time.
Only SOLUTION_TYPE_SEARCH
value is supported at the moment.
If no solution type is provided at creation time, will default to
SOLUTION_TYPE_SEARCH.
repeated .google.cloud.retail.v2beta.SolutionType solution_types = 6 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
Type | Description |
List<Integer> | A list containing the enum numeric values on the wire for solutionTypes. |
hasFacetSpec()
public abstract boolean hasFacetSpec()
A facet specification to perform faceted search.
.google.cloud.retail.v2beta.SearchRequest.FacetSpec facet_spec = 3;
Type | Description |
boolean | Whether the facetSpec field is set. |
hasRule()
public abstract boolean hasRule()
A rule control - a condition-action pair. Enacts a set action when the condition is triggered. For example: Boost "gShoe" when query full matches "Running Shoes".
.google.cloud.retail.v2beta.Rule rule = 4;
Type | Description |
boolean | Whether the rule field is set. |