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

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()
Returns
TypeDescription
ExperimentInfo.ServingConfigExperiment

getDescriptor()

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

newBuilder()

public static ExperimentInfo.ServingConfigExperiment.Builder newBuilder()
Returns
TypeDescription
ExperimentInfo.ServingConfigExperiment.Builder

newBuilder(ExperimentInfo.ServingConfigExperiment prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ExperimentInfo.ServingConfigExperiment parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ExperimentInfo.ServingConfigExperiment
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()
Returns
TypeDescription
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
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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
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()
Returns
TypeDescription
ExperimentInfo.ServingConfigExperiment.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ExperimentInfo.ServingConfigExperiment.Builder toBuilder()
Returns
TypeDescription
ExperimentInfo.ServingConfigExperiment.Builder

writeTo(CodedOutputStream output)

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