Class ExperimentConfig.VersionRelease (0.9.0)

public static final class ExperimentConfig.VersionRelease extends GeneratedMessage implements ExperimentConfig.VersionReleaseOrBuilder

Version release for the experiment.

Protobuf type google.cloud.ces.v1beta.ExperimentConfig.VersionRelease

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > ExperimentConfig.VersionRelease

Static Fields

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

TRAFFIC_ALLOCATIONS_FIELD_NUMBER

public static final int TRAFFIC_ALLOCATIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ExperimentConfig.VersionRelease getDefaultInstance()
Returns
Type Description
ExperimentConfig.VersionRelease

getDescriptor()

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

newBuilder()

public static ExperimentConfig.VersionRelease.Builder newBuilder()
Returns
Type Description
ExperimentConfig.VersionRelease.Builder

newBuilder(ExperimentConfig.VersionRelease prototype)

public static ExperimentConfig.VersionRelease.Builder newBuilder(ExperimentConfig.VersionRelease prototype)
Parameter
Name Description
prototype ExperimentConfig.VersionRelease
Returns
Type Description
ExperimentConfig.VersionRelease.Builder

parseDelimitedFrom(InputStream input)

public static ExperimentConfig.VersionRelease parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExperimentConfig.VersionRelease
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ExperimentConfig.VersionRelease parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ExperimentConfig.VersionRelease
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static ExperimentConfig.VersionRelease parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ExperimentConfig.VersionRelease
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static ExperimentConfig.VersionRelease parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ExperimentConfig.VersionRelease
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static ExperimentConfig.VersionRelease parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ExperimentConfig.VersionRelease
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<ExperimentConfig.VersionRelease> parser()
Returns
Type Description
Parser<VersionRelease>

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ExperimentConfig.VersionRelease getDefaultInstanceForType()
Returns
Type Description
ExperimentConfig.VersionRelease

getParserForType()

public Parser<ExperimentConfig.VersionRelease> getParserForType()
Returns
Type Description
Parser<VersionRelease>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public ExperimentConfig.State getState()

Optional. State of the version release.

.google.cloud.ces.v1beta.ExperimentConfig.State state = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExperimentConfig.State

The state.

getStateValue()

public int getStateValue()

Optional. State of the version release.

.google.cloud.ces.v1beta.ExperimentConfig.State state = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for state.

getTrafficAllocations(int index)

public ExperimentConfig.VersionRelease.TrafficAllocation getTrafficAllocations(int index)

Optional. Traffic allocations for the version release.

repeated .google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocation traffic_allocations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ExperimentConfig.VersionRelease.TrafficAllocation

getTrafficAllocationsCount()

public int getTrafficAllocationsCount()

Optional. Traffic allocations for the version release.

repeated .google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocation traffic_allocations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTrafficAllocationsList()

public List<ExperimentConfig.VersionRelease.TrafficAllocation> getTrafficAllocationsList()

Optional. Traffic allocations for the version release.

repeated .google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocation traffic_allocations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<TrafficAllocation>

getTrafficAllocationsOrBuilder(int index)

public ExperimentConfig.VersionRelease.TrafficAllocationOrBuilder getTrafficAllocationsOrBuilder(int index)

Optional. Traffic allocations for the version release.

repeated .google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocation traffic_allocations = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ExperimentConfig.VersionRelease.TrafficAllocationOrBuilder

getTrafficAllocationsOrBuilderList()

public List<? extends ExperimentConfig.VersionRelease.TrafficAllocationOrBuilder> getTrafficAllocationsOrBuilderList()

Optional. Traffic allocations for the version release.

repeated .google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocation traffic_allocations = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.ces.v1beta.ExperimentConfig.VersionRelease.TrafficAllocationOrBuilder>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ExperimentConfig.VersionRelease.Builder newBuilderForType()
Returns
Type Description
ExperimentConfig.VersionRelease.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ExperimentConfig.VersionRelease.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ExperimentConfig.VersionRelease.Builder
Overrides

toBuilder()

public ExperimentConfig.VersionRelease.Builder toBuilder()
Returns
Type Description
ExperimentConfig.VersionRelease.Builder

writeTo(CodedOutputStream output)

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