public static final class RolloutConfig.RolloutStep.Builder extends GeneratedMessage.Builder<RolloutConfig.RolloutStep.Builder> implements RolloutConfig.RolloutStepOrBuilderA single rollout step with specified traffic allocation.
Protobuf type google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RolloutConfig.RolloutStep.BuilderImplements
RolloutConfig.RolloutStepOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RolloutConfig.RolloutStep build()| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep |
|
buildPartial()
public RolloutConfig.RolloutStep buildPartial()| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep |
|
clear()
public RolloutConfig.RolloutStep.Builder clear()| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
|
clearDisplayName()
public RolloutConfig.RolloutStep.Builder clearDisplayName()The name of the rollout step;
string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
This builder for chaining. |
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 | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
|
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 | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RolloutConfig.RolloutStep getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 | |
|---|---|
| Type | Description |
Builder |
|
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 | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(RolloutConfig.RolloutStep other)
public RolloutConfig.RolloutStep.Builder mergeFrom(RolloutConfig.RolloutStep other)| Parameter | |
|---|---|
| Name | Description |
other |
RolloutConfig.RolloutStep |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RolloutConfig.RolloutStep.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RolloutConfig.RolloutStep.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
|
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 | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
|
setDisplayName(String value)
public RolloutConfig.RolloutStep.Builder setDisplayName(String value)The name of the rollout step;
string display_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public RolloutConfig.RolloutStep.Builder setDisplayNameBytes(ByteString value)The name of the rollout step;
string display_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
This builder for chaining. |
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 | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
|
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 | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
|
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 |
intThe trafficPercent to set. |
| Returns | |
|---|---|
| Type | Description |
RolloutConfig.RolloutStep.Builder |
This builder for chaining. |