Class RolloutConfig.RolloutStep (0.13.0)

public static final class RolloutConfig.RolloutStep extends GeneratedMessageV3 implements RolloutConfig.RolloutStepOrBuilder

A single rollout step with specified traffic allocation.

Protobuf type google.cloud.dialogflow.cx.v3beta1.RolloutConfig.RolloutStep

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

MIN_DURATION_FIELD_NUMBER

public static final int MIN_DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

TRAFFIC_PERCENT_FIELD_NUMBER

public static final int TRAFFIC_PERCENT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RolloutConfig.RolloutStep getDefaultInstance()
Returns
TypeDescription
RolloutConfig.RolloutStep

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RolloutConfig.RolloutStep.Builder newBuilder()
Returns
TypeDescription
RolloutConfig.RolloutStep.Builder

newBuilder(RolloutConfig.RolloutStep prototype)

public static RolloutConfig.RolloutStep.Builder newBuilder(RolloutConfig.RolloutStep prototype)
Parameter
NameDescription
prototypeRolloutConfig.RolloutStep
Returns
TypeDescription
RolloutConfig.RolloutStep.Builder

parseDelimitedFrom(InputStream input)

public static RolloutConfig.RolloutStep parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RolloutConfig.RolloutStep
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RolloutConfig.RolloutStep parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RolloutConfig.RolloutStep
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RolloutConfig.RolloutStep parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RolloutConfig.RolloutStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RolloutConfig.RolloutStep parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RolloutConfig.RolloutStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RolloutConfig.RolloutStep parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RolloutConfig.RolloutStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RolloutConfig.RolloutStep parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RolloutConfig.RolloutStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RolloutConfig.RolloutStep parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RolloutConfig.RolloutStep
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RolloutConfig.RolloutStep parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RolloutConfig.RolloutStep
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RolloutConfig.RolloutStep parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RolloutConfig.RolloutStep
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RolloutConfig.RolloutStep parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RolloutConfig.RolloutStep
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RolloutConfig.RolloutStep parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RolloutConfig.RolloutStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RolloutConfig.RolloutStep parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RolloutConfig.RolloutStep
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RolloutConfig.RolloutStep> parser()
Returns
TypeDescription
Parser<RolloutStep>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RolloutConfig.RolloutStep getDefaultInstanceForType()
Returns
TypeDescription
RolloutConfig.RolloutStep

getDisplayName()

public String getDisplayName()

The name of the rollout step;

string display_name = 1;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The name of the rollout step;

string display_name = 1;

Returns
TypeDescription
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
TypeDescription
Duration

The minDuration.

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
TypeDescription
DurationOrBuilder

getParserForType()

public Parser<RolloutConfig.RolloutStep> getParserForType()
Returns
TypeDescription
Parser<RolloutStep>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTrafficPercent()

public int getTrafficPercent()

The percentage of traffic allocated to the flow version of this rollout step. (0%, 100%].

int32 traffic_percent = 2;

Returns
TypeDescription
int

The trafficPercent.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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
TypeDescription
boolean

Whether the minDuration field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RolloutConfig.RolloutStep.Builder newBuilderForType()
Returns
TypeDescription
RolloutConfig.RolloutStep.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RolloutConfig.RolloutStep.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RolloutConfig.RolloutStep.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RolloutConfig.RolloutStep.Builder toBuilder()
Returns
TypeDescription
RolloutConfig.RolloutStep.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException