public static final class Model.PageOptimizationConfig.Candidate extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
SERVING_CONFIG_ID_FIELD_NUMBER
public static final int SERVING_CONFIG_ID_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Model.PageOptimizationConfig.Candidate getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Model.PageOptimizationConfig.Candidate.Builder newBuilder()
newBuilder(Model.PageOptimizationConfig.Candidate prototype)
public static Model.PageOptimizationConfig.Candidate.Builder newBuilder(Model.PageOptimizationConfig.Candidate prototype)
parseDelimitedFrom(InputStream input)
public static Model.PageOptimizationConfig.Candidate parseDelimitedFrom(InputStream input)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Model.PageOptimizationConfig.Candidate parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Model.PageOptimizationConfig.Candidate parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Model.PageOptimizationConfig.Candidate parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Model.PageOptimizationConfig.Candidate parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Model.PageOptimizationConfig.Candidate parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
parseFrom(CodedInputStream input)
public static Model.PageOptimizationConfig.Candidate parseFrom(CodedInputStream input)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Model.PageOptimizationConfig.Candidate parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(InputStream input)
public static Model.PageOptimizationConfig.Candidate parseFrom(InputStream input)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Model.PageOptimizationConfig.Candidate parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Model.PageOptimizationConfig.Candidate parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Model.PageOptimizationConfig.Candidate parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Model.PageOptimizationConfig.Candidate> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCandidateCase()
public Model.PageOptimizationConfig.Candidate.CandidateCase getCandidateCase()
getDefaultInstanceForType()
public Model.PageOptimizationConfig.Candidate getDefaultInstanceForType()
getParserForType()
public Parser<Model.PageOptimizationConfig.Candidate> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Model.PageOptimizationConfig.Candidate.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Model.PageOptimizationConfig.Candidate.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Model.PageOptimizationConfig.Candidate.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides