- 2.55.0 (latest)
- 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 static final class Model.PageOptimizationConfig.Candidate.Builder extends GeneratedMessageV3.Builder<Model.PageOptimizationConfig.Candidate.Builder> implements Model.PageOptimizationConfig.CandidateOrBuilder
A candidate to consider for a given panel. Currently only ServingConfig are valid candidates.
Protobuf type google.cloud.retail.v2alpha.Model.PageOptimizationConfig.Candidate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Model.PageOptimizationConfig.Candidate.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Model.PageOptimizationConfig.Candidate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder |
build()
public Model.PageOptimizationConfig.Candidate build()
Type | Description |
Model.PageOptimizationConfig.Candidate |
buildPartial()
public Model.PageOptimizationConfig.Candidate buildPartial()
Type | Description |
Model.PageOptimizationConfig.Candidate |
clear()
public Model.PageOptimizationConfig.Candidate.Builder clear()
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder |
clearCandidate()
public Model.PageOptimizationConfig.Candidate.Builder clearCandidate()
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder |
clearField(Descriptors.FieldDescriptor field)
public Model.PageOptimizationConfig.Candidate.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Model.PageOptimizationConfig.Candidate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder |
clearServingConfigId()
public Model.PageOptimizationConfig.Candidate.Builder clearServingConfigId()
This has to be a valid
ServingConfig
identifier. For example, for a ServingConfig with full name:
projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config
,
this would be my_candidate_config
.
string serving_config_id = 1;
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder | This builder for chaining. |
clone()
public Model.PageOptimizationConfig.Candidate.Builder clone()
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder |
getCandidateCase()
public Model.PageOptimizationConfig.Candidate.CandidateCase getCandidateCase()
Type | Description |
Model.PageOptimizationConfig.Candidate.CandidateCase |
getDefaultInstanceForType()
public Model.PageOptimizationConfig.Candidate getDefaultInstanceForType()
Type | Description |
Model.PageOptimizationConfig.Candidate |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getServingConfigId()
public String getServingConfigId()
This has to be a valid
ServingConfig
identifier. For example, for a ServingConfig with full name:
projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config
,
this would be my_candidate_config
.
string serving_config_id = 1;
Type | Description |
String | The servingConfigId. |
getServingConfigIdBytes()
public ByteString getServingConfigIdBytes()
This has to be a valid
ServingConfig
identifier. For example, for a ServingConfig with full name:
projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config
,
this would be my_candidate_config
.
string serving_config_id = 1;
Type | Description |
ByteString | The bytes for servingConfigId. |
hasServingConfigId()
public boolean hasServingConfigId()
This has to be a valid
ServingConfig
identifier. For example, for a ServingConfig with full name:
projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config
,
this would be my_candidate_config
.
string serving_config_id = 1;
Type | Description |
boolean | Whether the servingConfigId field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(Model.PageOptimizationConfig.Candidate other)
public Model.PageOptimizationConfig.Candidate.Builder mergeFrom(Model.PageOptimizationConfig.Candidate other)
Name | Description |
other | Model.PageOptimizationConfig.Candidate |
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Model.PageOptimizationConfig.Candidate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public Model.PageOptimizationConfig.Candidate.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Model.PageOptimizationConfig.Candidate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Model.PageOptimizationConfig.Candidate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Model.PageOptimizationConfig.Candidate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder |
setServingConfigId(String value)
public Model.PageOptimizationConfig.Candidate.Builder setServingConfigId(String value)
This has to be a valid
ServingConfig
identifier. For example, for a ServingConfig with full name:
projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config
,
this would be my_candidate_config
.
string serving_config_id = 1;
Name | Description |
value | String The servingConfigId to set. |
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder | This builder for chaining. |
setServingConfigIdBytes(ByteString value)
public Model.PageOptimizationConfig.Candidate.Builder setServingConfigIdBytes(ByteString value)
This has to be a valid
ServingConfig
identifier. For example, for a ServingConfig with full name:
projects/*/locations/global/catalogs/default_catalog/servingConfigs/my_candidate_config
,
this would be my_candidate_config
.
string serving_config_id = 1;
Name | Description |
value | ByteString The bytes for servingConfigId to set. |
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Model.PageOptimizationConfig.Candidate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
Model.PageOptimizationConfig.Candidate.Builder |