Interface Model.PageOptimizationConfig.CandidateOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Model.PageOptimizationConfig.Candidate.CandidateCase getCandidateCase()  
      String getServingConfigId()
      This has to be a valid [ServingConfig][google.cloud.retail.v2alpha.ServingConfig] identifier.
      com.google.protobuf.ByteString getServingConfigIdBytes()
      This has to be a valid [ServingConfig][google.cloud.retail.v2alpha.ServingConfig] identifier.
      boolean hasServingConfigId()
      This has to be a valid [ServingConfig][google.cloud.retail.v2alpha.ServingConfig] identifier.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • hasServingConfigId

        boolean hasServingConfigId()
         This has to be a valid
         [ServingConfig][google.cloud.retail.v2alpha.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:
        Whether the servingConfigId field is set.
      • getServingConfigId

        String getServingConfigId()
         This has to be a valid
         [ServingConfig][google.cloud.retail.v2alpha.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:
        The servingConfigId.
      • getServingConfigIdBytes

        com.google.protobuf.ByteString getServingConfigIdBytes()
         This has to be a valid
         [ServingConfig][google.cloud.retail.v2alpha.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:
        The bytes for servingConfigId.