Class RolloutConfig.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RolloutConfig.Builder>
com.google.cloud.dialogflow.cx.v3beta1.RolloutConfig.Builder
- All Implemented Interfaces:
RolloutConfigOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RolloutConfig
public static final class RolloutConfig.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RolloutConfig.Builder>
implements RolloutConfigOrBuilder
The configuration for auto rollout.Protobuf type
google.cloud.dialogflow.cx.v3beta1.RolloutConfig-
Method Summary
Modifier and TypeMethodDescriptionaddAllRolloutSteps(Iterable<? extends RolloutConfig.RolloutStep> values) Steps to roll out a flow version.addRolloutSteps(int index, RolloutConfig.RolloutStep value) Steps to roll out a flow version.addRolloutSteps(int index, RolloutConfig.RolloutStep.Builder builderForValue) Steps to roll out a flow version.Steps to roll out a flow version.addRolloutSteps(RolloutConfig.RolloutStep.Builder builderForValue) Steps to roll out a flow version.Steps to roll out a flow version.addRolloutStepsBuilder(int index) Steps to roll out a flow version.build()clear()The conditions that are used to evaluate the failure of a rollout step.The conditions that are used to evaluate the success of a rollout step.Steps to roll out a flow version.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe conditions that are used to evaluate the failure of a rollout step.com.google.protobuf.ByteStringThe conditions that are used to evaluate the failure of a rollout step.The conditions that are used to evaluate the success of a rollout step.com.google.protobuf.ByteStringThe conditions that are used to evaluate the success of a rollout step.getRolloutSteps(int index) Steps to roll out a flow version.getRolloutStepsBuilder(int index) Steps to roll out a flow version.Steps to roll out a flow version.intSteps to roll out a flow version.Steps to roll out a flow version.getRolloutStepsOrBuilder(int index) Steps to roll out a flow version.List<? extends RolloutConfig.RolloutStepOrBuilder>Steps to roll out a flow version.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(RolloutConfig other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeRolloutSteps(int index) Steps to roll out a flow version.setFailureCondition(String value) The conditions that are used to evaluate the failure of a rollout step.setFailureConditionBytes(com.google.protobuf.ByteString value) The conditions that are used to evaluate the failure of a rollout step.setRolloutCondition(String value) The conditions that are used to evaluate the success of a rollout step.setRolloutConditionBytes(com.google.protobuf.ByteString value) The conditions that are used to evaluate the success of a rollout step.setRolloutSteps(int index, RolloutConfig.RolloutStep value) Steps to roll out a flow version.setRolloutSteps(int index, RolloutConfig.RolloutStep.Builder builderForValue) Steps to roll out a flow version.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RolloutConfig.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RolloutConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<RolloutConfig.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RolloutConfig.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RolloutConfig.Builder>
-
mergeFrom
public RolloutConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RolloutConfig.Builder>- Throws:
IOException
-
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;- Specified by:
getRolloutStepsListin interfaceRolloutConfigOrBuilder
-
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;- Specified by:
getRolloutStepsCountin interfaceRolloutConfigOrBuilder
-
getRolloutSteps
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;- Specified by:
getRolloutStepsin interfaceRolloutConfigOrBuilder
-
setRolloutSteps
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; -
setRolloutSteps
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; -
addRolloutSteps
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; -
addRolloutSteps
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; -
addRolloutSteps
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; -
addRolloutSteps
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; -
addAllRolloutSteps
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; -
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; -
removeRolloutSteps
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; -
getRolloutStepsBuilder
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; -
getRolloutStepsOrBuilder
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;- Specified by:
getRolloutStepsOrBuilderin interfaceRolloutConfigOrBuilder
-
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;- Specified by:
getRolloutStepsOrBuilderListin interfaceRolloutConfigOrBuilder
-
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; -
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; -
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; -
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;- Specified by:
getRolloutConditionin interfaceRolloutConfigOrBuilder- Returns:
- The rolloutCondition.
-
getRolloutConditionBytes
public 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;- Specified by:
getRolloutConditionBytesin interfaceRolloutConfigOrBuilder- Returns:
- The bytes for rolloutCondition.
-
setRolloutCondition
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;- Parameters:
value- The rolloutCondition to set.- Returns:
- This builder for chaining.
-
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](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
string rollout_condition = 2;- Returns:
- This builder for chaining.
-
setRolloutConditionBytes
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;- Parameters:
value- The bytes for rolloutCondition to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getFailureConditionin interfaceRolloutConfigOrBuilder- Returns:
- The failureCondition.
-
getFailureConditionBytes
public 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;- Specified by:
getFailureConditionBytesin interfaceRolloutConfigOrBuilder- Returns:
- The bytes for failureCondition.
-
setFailureCondition
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;- Parameters:
value- The failureCondition to set.- Returns:
- This builder for chaining.
-
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](https://cloud.google.com/dialogflow/cx/docs/reference/condition).
string failure_condition = 3;- Returns:
- This builder for chaining.
-
setFailureConditionBytes
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;- Parameters:
value- The bytes for failureCondition to set.- Returns:
- This builder for chaining.
-