Class ExperimentInfo.ServingConfigExperiment (2.45.0)

public static final class ExperimentInfo.ServingConfigExperiment extends GeneratedMessageV3 implements ExperimentInfo.ServingConfigExperimentOrBuilder

Metadata for active serving config A/B tests.

Protobuf type google.cloud.retail.v2.ExperimentInfo.ServingConfigExperiment

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ExperimentInfo.ServingConfigExperiment

Static Fields

EXPERIMENT_SERVING_CONFIG_FIELD_NUMBER

public static final int EXPERIMENT_SERVING_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

ORIGINAL_SERVING_CONFIG_FIELD_NUMBER

public static final int ORIGINAL_SERVING_CONFIG_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExperimentInfo.ServingConfigExperiment getDefaultInstance()
Returns
Type Description
ExperimentInfo.ServingConfigExperiment

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ExperimentInfo.ServingConfigExperiment.Builder newBuilder()
Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder

newBuilder(ExperimentInfo.ServingConfigExperiment prototype)

public static ExperimentInfo.ServingConfigExperiment.Builder newBuilder(ExperimentInfo.ServingConfigExperiment prototype)
Parameter
Name Description
prototype ExperimentInfo.ServingConfigExperiment
Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder

parseDelimitedFrom(InputStream input)

public static ExperimentInfo.ServingConfigExperiment parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExperimentInfo.ServingConfigExperiment
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExperimentInfo.ServingConfigExperiment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExperimentInfo.ServingConfigExperiment
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ExperimentInfo.ServingConfigExperiment parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ExperimentInfo.ServingConfigExperiment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExperimentInfo.ServingConfigExperiment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExperimentInfo.ServingConfigExperiment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExperimentInfo.ServingConfigExperiment parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExperimentInfo.ServingConfigExperiment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExperimentInfo.ServingConfigExperiment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExperimentInfo.ServingConfigExperiment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExperimentInfo.ServingConfigExperiment parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExperimentInfo.ServingConfigExperiment
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExperimentInfo.ServingConfigExperiment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExperimentInfo.ServingConfigExperiment
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ExperimentInfo.ServingConfigExperiment parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExperimentInfo.ServingConfigExperiment
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExperimentInfo.ServingConfigExperiment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExperimentInfo.ServingConfigExperiment
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ExperimentInfo.ServingConfigExperiment parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExperimentInfo.ServingConfigExperiment
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExperimentInfo.ServingConfigExperiment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ExperimentInfo.ServingConfigExperiment
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ExperimentInfo.ServingConfigExperiment> parser()
Returns
Type Description
Parser<ServingConfigExperiment>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ExperimentInfo.ServingConfigExperiment getDefaultInstanceForType()
Returns
Type Description
ExperimentInfo.ServingConfigExperiment

getExperimentServingConfig()

public String getExperimentServingConfig()

The fully qualified resource name of the serving config [VariantArm.serving_config_id][] responsible for generating the search response. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

string experiment_serving_config = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The experimentServingConfig.

getExperimentServingConfigBytes()

public ByteString getExperimentServingConfigBytes()

The fully qualified resource name of the serving config [VariantArm.serving_config_id][] responsible for generating the search response. For example: projects/*/locations/*/catalogs/*/servingConfigs/*.

string experiment_serving_config = 2 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for experimentServingConfig.

getOriginalServingConfig()

public String getOriginalServingConfig()

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/*.

string original_serving_config = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The originalServingConfig.

getOriginalServingConfigBytes()

public ByteString getOriginalServingConfigBytes()

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/*.

string original_serving_config = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for originalServingConfig.

getParserForType()

public Parser<ExperimentInfo.ServingConfigExperiment> getParserForType()
Returns
Type Description
Parser<ServingConfigExperiment>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExperimentInfo.ServingConfigExperiment.Builder newBuilderForType()
Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExperimentInfo.ServingConfigExperiment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ExperimentInfo.ServingConfigExperiment.Builder toBuilder()
Returns
Type Description
ExperimentInfo.ServingConfigExperiment.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException