public static final class RolloutConfig.Builder extends GeneratedMessage.Builder<RolloutConfig.Builder> implements RolloutConfigOrBuilderThe configuration for auto rollout.
Protobuf type google.cloud.dialogflow.cx.v3.RolloutConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RolloutConfig.BuilderImplements
RolloutConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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> |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
RolloutConfig.RolloutStep |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
RolloutConfig.RolloutStep.Builder |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RolloutConfig.RolloutStep |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RolloutConfig.RolloutStep.Builder |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
|
build()
public RolloutConfig build()| Returns | |
|---|---|
| Type | Description |
RolloutConfig |
|
buildPartial()
public RolloutConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
RolloutConfig |
|
clear()
public RolloutConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
|
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 | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
|
getDefaultInstanceForType()
public RolloutConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RolloutConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep |
|
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 |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<RolloutStep> |
|
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 |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStepOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RolloutConfig other)
public RolloutConfig.Builder mergeFrom(RolloutConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
RolloutConfig |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RolloutConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RolloutConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
|
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 |
StringThe failureCondition to set. |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for failureCondition to set. |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
This builder for chaining. |
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 |
StringThe rolloutCondition to set. |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for rolloutCondition to set. |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
This builder for chaining. |
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
RolloutConfig.RolloutStep |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
RolloutConfig.RolloutStep.Builder |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.Builder |
|