public static final class RolloutConfig.Builder extends GeneratedMessageV3.Builder<RolloutConfig.Builder> implements RolloutConfigOrBuilder
The configuration for auto rollout.
Protobuf type google.cloud.dialogflow.cx.v3beta1.RolloutConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RolloutConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Parameter
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Parameter
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Parameters
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Parameters
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Parameter
Name |
Description |
index |
int
|
Returns
build()
public RolloutConfig build()
Returns
buildPartial()
public RolloutConfig buildPartial()
Returns
clear()
public RolloutConfig.Builder clear()
Returns
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public RolloutConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RolloutConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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;
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Returns
clone()
public RolloutConfig.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RolloutConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Parameter
Name |
Description |
index |
int
|
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Parameter
Name |
Description |
index |
int
|
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Parameter
Name |
Description |
index |
int
|
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Returns
Type |
Description |
List<? extends com.google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStepOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RolloutConfig other)
public RolloutConfig.Builder mergeFrom(RolloutConfig other)
Parameter
Returns
public RolloutConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RolloutConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RolloutConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Parameter
Name |
Description |
index |
int
|
Returns
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.
|
Returns
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.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RolloutConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RolloutConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Parameters
Returns
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.v3beta1.RolloutConfig.RolloutStep rollout_steps = 1;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RolloutConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides