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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Model.PageOptimizationConfig.Candidate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Model.PageOptimizationConfig.Candidate build()
buildPartial()
public Model.PageOptimizationConfig.Candidate buildPartial()
clear()
public Model.PageOptimizationConfig.Candidate.Builder clear()
Overrides
clearCandidate()
public Model.PageOptimizationConfig.Candidate.Builder clearCandidate()
clearField(Descriptors.FieldDescriptor field)
public Model.PageOptimizationConfig.Candidate.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Model.PageOptimizationConfig.Candidate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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;
clone()
public Model.PageOptimizationConfig.Candidate.Builder clone()
Overrides
getCandidateCase()
public Model.PageOptimizationConfig.Candidate.CandidateCase getCandidateCase()
getDefaultInstanceForType()
public Model.PageOptimizationConfig.Candidate getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
Returns |
---|
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;
Returns |
---|
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;
Returns |
---|
Type | Description |
boolean | Whether the servingConfigId field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Model.PageOptimizationConfig.Candidate other)
public Model.PageOptimizationConfig.Candidate.Builder mergeFrom(Model.PageOptimizationConfig.Candidate other)
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Model.PageOptimizationConfig.Candidate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Model.PageOptimizationConfig.Candidate.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Model.PageOptimizationConfig.Candidate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public Model.PageOptimizationConfig.Candidate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Model.PageOptimizationConfig.Candidate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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;
Parameter |
---|
Name | Description |
value | String
The servingConfigId to set.
|
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;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for servingConfigId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Model.PageOptimizationConfig.Candidate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides