public static final class RolloutConfig.Builder extends GeneratedMessageV3.Builder<RolloutConfig.Builder> implements RolloutConfigOrBuilder
The configuration for auto rollout.
Protobuf type google.cloud.dialogflow.cx.v3.RolloutConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllRolloutSteps(Iterable<? extends RolloutConfig.RolloutStep> values)
public RolloutConfig.Builder addAllRolloutSteps(Iterable<? extends RolloutConfig.RolloutStep> values)
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;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.RolloutConfig.RolloutStep>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RolloutConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
addRolloutSteps(RolloutConfig.RolloutStep value)
public RolloutConfig.Builder addRolloutSteps(RolloutConfig.RolloutStep value)
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;
addRolloutSteps(RolloutConfig.RolloutStep.Builder builderForValue)
public RolloutConfig.Builder addRolloutSteps(RolloutConfig.RolloutStep.Builder builderForValue)
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;
addRolloutSteps(int index, RolloutConfig.RolloutStep value)
public RolloutConfig.Builder addRolloutSteps(int index, RolloutConfig.RolloutStep value)
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;
addRolloutSteps(int index, RolloutConfig.RolloutStep.Builder builderForValue)
public RolloutConfig.Builder addRolloutSteps(int index, RolloutConfig.RolloutStep.Builder builderForValue)
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;
addRolloutStepsBuilder()
public RolloutConfig.RolloutStep.Builder addRolloutStepsBuilder()
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;
addRolloutStepsBuilder(int index)
public RolloutConfig.RolloutStep.Builder addRolloutStepsBuilder(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;
Parameter |
Name |
Description |
index |
int
|
build()
public RolloutConfig build()
buildPartial()
public RolloutConfig buildPartial()
clear()
public RolloutConfig.Builder clear()
Overrides
clearFailureCondition()
public RolloutConfig.Builder clearFailureCondition()
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.
string failure_condition = 3;
clearField(Descriptors.FieldDescriptor field)
public RolloutConfig.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RolloutConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRolloutCondition()
public RolloutConfig.Builder clearRolloutCondition()
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.
string rollout_condition = 2;
clearRolloutSteps()
public RolloutConfig.Builder clearRolloutSteps()
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;
clone()
public RolloutConfig.Builder clone()
Overrides
getDefaultInstanceForType()
public RolloutConfig getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFailureCondition()
public 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.
string failure_condition = 3;
Returns |
Type |
Description |
String |
The failureCondition.
|
getFailureConditionBytes()
public 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.
string failure_condition = 3;
Returns |
Type |
Description |
ByteString |
The bytes for failureCondition.
|
getRolloutCondition()
public 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.
string rollout_condition = 2;
Returns |
Type |
Description |
String |
The rolloutCondition.
|
getRolloutConditionBytes()
public 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.
string rollout_condition = 2;
Returns |
Type |
Description |
ByteString |
The bytes for rolloutCondition.
|
getRolloutSteps(int index)
public 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;
Parameter |
Name |
Description |
index |
int
|
getRolloutStepsBuilder(int index)
public RolloutConfig.RolloutStep.Builder getRolloutStepsBuilder(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;
Parameter |
Name |
Description |
index |
int
|
getRolloutStepsBuilderList()
public List<RolloutConfig.RolloutStep.Builder> getRolloutStepsBuilderList()
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()
public 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;
Returns |
Type |
Description |
int |
|
getRolloutStepsList()
public 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;
getRolloutStepsOrBuilder(int index)
public 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;
Parameter |
Name |
Description |
index |
int
|
getRolloutStepsOrBuilderList()
public 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;
Returns |
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3.RolloutConfig.RolloutStepOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(RolloutConfig other)
public RolloutConfig.Builder mergeFrom(RolloutConfig other)
public RolloutConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RolloutConfig.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RolloutConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeRolloutSteps(int index)
public RolloutConfig.Builder removeRolloutSteps(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;
Parameter |
Name |
Description |
index |
int
|
setFailureCondition(String value)
public RolloutConfig.Builder setFailureCondition(String value)
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.
string failure_condition = 3;
Parameter |
Name |
Description |
value |
String
The failureCondition to set.
|
setFailureConditionBytes(ByteString value)
public RolloutConfig.Builder setFailureConditionBytes(ByteString value)
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.
string failure_condition = 3;
Parameter |
Name |
Description |
value |
ByteString
The bytes for failureCondition to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public RolloutConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RolloutConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRolloutCondition(String value)
public RolloutConfig.Builder setRolloutCondition(String value)
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.
string rollout_condition = 2;
Parameter |
Name |
Description |
value |
String
The rolloutCondition to set.
|
setRolloutConditionBytes(ByteString value)
public RolloutConfig.Builder setRolloutConditionBytes(ByteString value)
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.
string rollout_condition = 2;
Parameter |
Name |
Description |
value |
ByteString
The bytes for rolloutCondition to set.
|
setRolloutSteps(int index, RolloutConfig.RolloutStep value)
public RolloutConfig.Builder setRolloutSteps(int index, RolloutConfig.RolloutStep value)
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;
setRolloutSteps(int index, RolloutConfig.RolloutStep.Builder builderForValue)
public RolloutConfig.Builder setRolloutSteps(int index, RolloutConfig.RolloutStep.Builder builderForValue)
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final RolloutConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides