com.google.api.services.retail.v2.model.GoogleCloudRetailV2ExperimentInfoServingConfigExperiment Maven / Gradle / Ivy
The newest version!
/*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
/*
* This code was generated by https://github.com/googleapis/google-api-java-client-services/
* Modify at your own risk.
*/
package com.google.api.services.retail.v2.model;
/**
* Metadata for active serving config A/B tests.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Vertex AI Search for Retail API. For a detailed
* explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class GoogleCloudRetailV2ExperimentInfoServingConfigExperiment extends com.google.api.client.json.GenericJson {
/**
* The fully qualified resource name of the serving config
* `Experiment.VariantArm.serving_config_id` responsible for generating the search response. For
* example: `projects/locations/catalogs/servingConfigs`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String experimentServingConfig;
/**
* The fully qualified resource name of the original SearchRequest.placement in the search request
* prior to reassignment by experiment API. For example:
* `projects/locations/catalogs/servingConfigs`.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.String originalServingConfig;
/**
* The fully qualified resource name of the serving config
* `Experiment.VariantArm.serving_config_id` responsible for generating the search response. For
* example: `projects/locations/catalogs/servingConfigs`.
* @return value or {@code null} for none
*/
public java.lang.String getExperimentServingConfig() {
return experimentServingConfig;
}
/**
* The fully qualified resource name of the serving config
* `Experiment.VariantArm.serving_config_id` responsible for generating the search response. For
* example: `projects/locations/catalogs/servingConfigs`.
* @param experimentServingConfig experimentServingConfig or {@code null} for none
*/
public GoogleCloudRetailV2ExperimentInfoServingConfigExperiment setExperimentServingConfig(java.lang.String experimentServingConfig) {
this.experimentServingConfig = experimentServingConfig;
return this;
}
/**
* The fully qualified resource name of the original SearchRequest.placement in the search request
* prior to reassignment by experiment API. For example:
* `projects/locations/catalogs/servingConfigs`.
* @return value or {@code null} for none
*/
public java.lang.String getOriginalServingConfig() {
return originalServingConfig;
}
/**
* The fully qualified resource name of the original SearchRequest.placement in the search request
* prior to reassignment by experiment API. For example:
* `projects/locations/catalogs/servingConfigs`.
* @param originalServingConfig originalServingConfig or {@code null} for none
*/
public GoogleCloudRetailV2ExperimentInfoServingConfigExperiment setOriginalServingConfig(java.lang.String originalServingConfig) {
this.originalServingConfig = originalServingConfig;
return this;
}
@Override
public GoogleCloudRetailV2ExperimentInfoServingConfigExperiment set(String fieldName, Object value) {
return (GoogleCloudRetailV2ExperimentInfoServingConfigExperiment) super.set(fieldName, value);
}
@Override
public GoogleCloudRetailV2ExperimentInfoServingConfigExperiment clone() {
return (GoogleCloudRetailV2ExperimentInfoServingConfigExperiment) super.clone();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy