Class ExperimentInfo.ServingConfigExperiment (2.43.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.v2alpha.ExperimentInfo.ServingConfigExperiment

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ExperimentInfo.ServingConfigExperiment
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

EXPERIMENT_SERVING_CONFIG_FIELD_NUMBER

public static final int EXPERIMENT_SERVING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

ORIGINAL_SERVING_CONFIG_FIELD_NUMBER

public static final int ORIGINAL_SERVING_CONFIG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ExperimentInfo.ServingConfigExperiment getDefaultInstance()

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ExperimentInfo.ServingConfigExperiment.Builder newBuilder()

newBuilder(ExperimentInfo.ServingConfigExperiment prototype)

public static ExperimentInfo.ServingConfigExperiment.Builder newBuilder(ExperimentInfo.ServingConfigExperiment prototype)
Parameter
NameDescription
prototypeExperimentInfo.ServingConfigExperiment

parseDelimitedFrom(InputStream input)

public static ExperimentInfo.ServingConfigExperiment parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExperimentInfo.ServingConfigExperiment parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ExperimentInfo.ServingConfigExperiment parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ExperimentInfo.ServingConfigExperiment parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ExperimentInfo.ServingConfigExperiment parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ExperimentInfo.ServingConfigExperiment parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ExperimentInfo.ServingConfigExperiment parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ExperimentInfo.ServingConfigExperiment parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ExperimentInfo.ServingConfigExperiment parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ExperimentInfo.ServingConfigExperiment parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ExperimentInfo.ServingConfigExperiment parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExperimentInfo.ServingConfigExperiment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ExperimentInfo.ServingConfigExperiment getDefaultInstanceForType()

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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for originalServingConfig.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ExperimentInfo.ServingConfigExperiment.Builder newBuilderForType()

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ExperimentInfo.ServingConfigExperiment.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ExperimentInfo.ServingConfigExperiment.Builder toBuilder()

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException