Send feedback
Class RolloutConfig.RolloutStep.Builder (0.16.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.16.0 keyboard_arrow_down
public static final class RolloutConfig . RolloutStep . Builder extends GeneratedMessageV3 . Builder<RolloutConfig . RolloutStep . Builder > implements RolloutConfig . RolloutStepOrBuilder
A single rollout step with specified traffic allocation.
Protobuf type google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RolloutConfig . RolloutStep . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public RolloutConfig . RolloutStep build ()
Returns
buildPartial()
public RolloutConfig . RolloutStep buildPartial ()
Returns
clear()
public RolloutConfig . RolloutStep . Builder clear ()
Returns
Overrides
clearDisplayName()
public RolloutConfig . RolloutStep . Builder clearDisplayName ()
The name of the rollout step;
string display_name = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public RolloutConfig . RolloutStep . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearMinDuration()
public RolloutConfig . RolloutStep . Builder clearMinDuration ()
The minimum time that this step should last. Should be longer than 1
hour. If not set, the default minimum duration for each step will be 1
hour.
.google.protobuf.Duration min_duration = 3;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public RolloutConfig . RolloutStep . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clearTrafficPercent()
public RolloutConfig . RolloutStep . Builder clearTrafficPercent ()
The percentage of traffic allocated to the flow version of this rollout
step. (0%, 100%].
int32 traffic_percent = 2;
Returns
clone()
public RolloutConfig . RolloutStep . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public RolloutConfig . RolloutStep getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getDisplayName()
public String getDisplayName ()
The name of the rollout step;
string display_name = 1;
Returns
Type
Description
String
The displayName.
getDisplayNameBytes()
public ByteString getDisplayNameBytes ()
The name of the rollout step;
string display_name = 1;
Returns
Type
Description
ByteString
The bytes for displayName.
getMinDuration()
public Duration getMinDuration ()
The minimum time that this step should last. Should be longer than 1
hour. If not set, the default minimum duration for each step will be 1
hour.
.google.protobuf.Duration min_duration = 3;
Returns
Type
Description
Duration
The minDuration.
getMinDurationBuilder()
public Duration . Builder getMinDurationBuilder ()
The minimum time that this step should last. Should be longer than 1
hour. If not set, the default minimum duration for each step will be 1
hour.
.google.protobuf.Duration min_duration = 3;
Returns
getMinDurationOrBuilder()
public DurationOrBuilder getMinDurationOrBuilder ()
The minimum time that this step should last. Should be longer than 1
hour. If not set, the default minimum duration for each step will be 1
hour.
.google.protobuf.Duration min_duration = 3;
Returns
getTrafficPercent()
public int getTrafficPercent ()
The percentage of traffic allocated to the flow version of this rollout
step. (0%, 100%].
int32 traffic_percent = 2;
Returns
Type
Description
int
The trafficPercent.
hasMinDuration()
public boolean hasMinDuration ()
The minimum time that this step should last. Should be longer than 1
hour. If not set, the default minimum duration for each step will be 1
hour.
.google.protobuf.Duration min_duration = 3;
Returns
Type
Description
boolean
Whether the minDuration field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(RolloutConfig.RolloutStep other)
public RolloutConfig . RolloutStep . Builder mergeFrom ( RolloutConfig . RolloutStep other )
Parameter
Returns
public RolloutConfig . RolloutStep . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RolloutConfig . RolloutStep . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeMinDuration(Duration value)
public RolloutConfig . RolloutStep . Builder mergeMinDuration ( Duration value )
The minimum time that this step should last. Should be longer than 1
hour. If not set, the default minimum duration for each step will be 1
hour.
.google.protobuf.Duration min_duration = 3;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RolloutConfig . RolloutStep . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
setDisplayName(String value)
public RolloutConfig . RolloutStep . Builder setDisplayName ( String value )
The name of the rollout step;
string display_name = 1;
Parameter
Name
Description
value
String
The displayName to set.
Returns
setDisplayNameBytes(ByteString value)
public RolloutConfig . RolloutStep . Builder setDisplayNameBytes ( ByteString value )
The name of the rollout step;
string display_name = 1;
Parameter
Name
Description
value
ByteString
The bytes for displayName to set.
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public RolloutConfig . RolloutStep . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setMinDuration(Duration value)
public RolloutConfig . RolloutStep . Builder setMinDuration ( Duration value )
The minimum time that this step should last. Should be longer than 1
hour. If not set, the default minimum duration for each step will be 1
hour.
.google.protobuf.Duration min_duration = 3;
Parameter
Returns
setMinDuration(Duration.Builder builderForValue)
public RolloutConfig . RolloutStep . Builder setMinDuration ( Duration . Builder builderForValue )
The minimum time that this step should last. Should be longer than 1
hour. If not set, the default minimum duration for each step will be 1
hour.
.google.protobuf.Duration min_duration = 3;
Parameter
Name
Description
builderForValue
Builder
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RolloutConfig . RolloutStep . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setTrafficPercent(int value)
public RolloutConfig . RolloutStep . Builder setTrafficPercent ( int value )
The percentage of traffic allocated to the flow version of this rollout
step. (0%, 100%].
int32 traffic_percent = 2;
Parameter
Name
Description
value
int
The trafficPercent to set.
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final RolloutConfig . RolloutStep . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]