public final class RolloutConfig extends com.google.protobuf.GeneratedMessageV3 implements RolloutConfigOrBuilder
The configuration for auto rollout.Protobuf type
google.cloud.dialogflow.cx.v3.RolloutConfig| Modifier and Type | Class and Description |
|---|---|
static class |
RolloutConfig.Builder
The configuration for auto rollout.
|
static class |
RolloutConfig.RolloutStep
A single rollout step with specified traffic allocation.
|
static interface |
RolloutConfig.RolloutStepOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
FAILURE_CONDITION_FIELD_NUMBER |
static int |
ROLLOUT_CONDITION_FIELD_NUMBER |
static int |
ROLLOUT_STEPS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RolloutConfig |
getDefaultInstance() |
RolloutConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFailureCondition()
The conditions that are used to evaluate the failure of a rollout
step.
|
com.google.protobuf.ByteString |
getFailureConditionBytes()
The conditions that are used to evaluate the failure of a rollout
step.
|
com.google.protobuf.Parser<RolloutConfig> |
getParserForType() |
String |
getRolloutCondition()
The conditions that are used to evaluate the success of a rollout
step.
|
com.google.protobuf.ByteString |
getRolloutConditionBytes()
The conditions that are used to evaluate the success of a rollout
step.
|
RolloutConfig.RolloutStep |
getRolloutSteps(int index)
Steps to roll out a flow version.
|
int |
getRolloutStepsCount()
Steps to roll out a flow version.
|
List<RolloutConfig.RolloutStep> |
getRolloutStepsList()
Steps to roll out a flow version.
|
RolloutConfig.RolloutStepOrBuilder |
getRolloutStepsOrBuilder(int index)
Steps to roll out a flow version.
|
List<? extends RolloutConfig.RolloutStepOrBuilder> |
getRolloutStepsOrBuilderList()
Steps to roll out a flow version.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static RolloutConfig.Builder |
newBuilder() |
static RolloutConfig.Builder |
newBuilder(RolloutConfig prototype) |
RolloutConfig.Builder |
newBuilderForType() |
protected RolloutConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static RolloutConfig |
parseDelimitedFrom(InputStream input) |
static RolloutConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RolloutConfig |
parseFrom(byte[] data) |
static RolloutConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RolloutConfig |
parseFrom(ByteBuffer data) |
static RolloutConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RolloutConfig |
parseFrom(com.google.protobuf.ByteString data) |
static RolloutConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RolloutConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static RolloutConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static RolloutConfig |
parseFrom(InputStream input) |
static RolloutConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<RolloutConfig> |
parser() |
RolloutConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int ROLLOUT_STEPS_FIELD_NUMBER
public static final int ROLLOUT_CONDITION_FIELD_NUMBER
public static final int FAILURE_CONDITION_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public List<RolloutConfig.RolloutStep> getRolloutStepsList()
Steps to roll out a flow version. Steps should be sorted by percentage in ascending order.
repeated .google.cloud.dialogflow.cx.v3.RolloutConfig.RolloutStep rollout_steps = 1;
getRolloutStepsList in interface RolloutConfigOrBuilderpublic List<? extends RolloutConfig.RolloutStepOrBuilder> getRolloutStepsOrBuilderList()
Steps to roll out a flow version. Steps should be sorted by percentage in ascending order.
repeated .google.cloud.dialogflow.cx.v3.RolloutConfig.RolloutStep rollout_steps = 1;
getRolloutStepsOrBuilderList in interface RolloutConfigOrBuilderpublic int getRolloutStepsCount()
Steps to roll out a flow version. Steps should be sorted by percentage in ascending order.
repeated .google.cloud.dialogflow.cx.v3.RolloutConfig.RolloutStep rollout_steps = 1;
getRolloutStepsCount in interface RolloutConfigOrBuilderpublic RolloutConfig.RolloutStep getRolloutSteps(int index)
Steps to roll out a flow version. Steps should be sorted by percentage in ascending order.
repeated .google.cloud.dialogflow.cx.v3.RolloutConfig.RolloutStep rollout_steps = 1;
getRolloutSteps in interface RolloutConfigOrBuilderpublic RolloutConfig.RolloutStepOrBuilder getRolloutStepsOrBuilder(int index)
Steps to roll out a flow version. Steps should be sorted by percentage in ascending order.
repeated .google.cloud.dialogflow.cx.v3.RolloutConfig.RolloutStep rollout_steps = 1;
getRolloutStepsOrBuilder in interface RolloutConfigOrBuilderpublic String getRolloutCondition()
The conditions that are used to evaluate the success of a rollout step. If not specified, all rollout steps will proceed to the next one unless failure conditions are met. E.g. "containment_rate > 60% AND callback_rate < 20%". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
string rollout_condition = 2;getRolloutCondition in interface RolloutConfigOrBuilderpublic com.google.protobuf.ByteString getRolloutConditionBytes()
The conditions that are used to evaluate the success of a rollout step. If not specified, all rollout steps will proceed to the next one unless failure conditions are met. E.g. "containment_rate > 60% AND callback_rate < 20%". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
string rollout_condition = 2;getRolloutConditionBytes in interface RolloutConfigOrBuilderpublic String getFailureCondition()
The conditions that are used to evaluate the failure of a rollout step. If not specified, no rollout steps will fail. E.g. "containment_rate < 10% OR average_turn_count < 3". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
string failure_condition = 3;getFailureCondition in interface RolloutConfigOrBuilderpublic com.google.protobuf.ByteString getFailureConditionBytes()
The conditions that are used to evaluate the failure of a rollout step. If not specified, no rollout steps will fail. E.g. "containment_rate < 10% OR average_turn_count < 3". See the [conditions reference](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
string failure_condition = 3;getFailureConditionBytes in interface RolloutConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static RolloutConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RolloutConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RolloutConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RolloutConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RolloutConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RolloutConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static RolloutConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static RolloutConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RolloutConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static RolloutConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static RolloutConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static RolloutConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic RolloutConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static RolloutConfig.Builder newBuilder()
public static RolloutConfig.Builder newBuilder(RolloutConfig prototype)
public RolloutConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected RolloutConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static RolloutConfig getDefaultInstance()
public static com.google.protobuf.Parser<RolloutConfig> parser()
public com.google.protobuf.Parser<RolloutConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public RolloutConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.