Class RolloutState.Builder (0.15.0)

public static final class RolloutState.Builder extends GeneratedMessageV3.Builder<RolloutState.Builder> implements RolloutStateOrBuilder

State of the auto-rollout process.

Protobuf type google.cloud.dialogflow.cx.v3.RolloutState

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RolloutState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RolloutState.Builder
Overrides

build()

public RolloutState build()
Returns
Type Description
RolloutState

buildPartial()

public RolloutState buildPartial()
Returns
Type Description
RolloutState

clear()

public RolloutState.Builder clear()
Returns
Type Description
RolloutState.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RolloutState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RolloutState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RolloutState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RolloutState.Builder
Overrides

clearStartTime()

public RolloutState.Builder clearStartTime()

Start time of the current step.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
RolloutState.Builder

clearStep()

public RolloutState.Builder clearStep()

Display name of the current auto rollout step.

string step = 1;

Returns
Type Description
RolloutState.Builder

This builder for chaining.

clearStepIndex()

public RolloutState.Builder clearStepIndex()

Index of the current step in the auto rollout steps list.

int32 step_index = 3;

Returns
Type Description
RolloutState.Builder

This builder for chaining.

clone()

public RolloutState.Builder clone()
Returns
Type Description
RolloutState.Builder
Overrides

getDefaultInstanceForType()

public RolloutState getDefaultInstanceForType()
Returns
Type Description
RolloutState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getStartTime()

public Timestamp getStartTime()

Start time of the current step.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Start time of the current step.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Start time of the current step.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
TimestampOrBuilder

getStep()

public String getStep()

Display name of the current auto rollout step.

string step = 1;

Returns
Type Description
String

The step.

getStepBytes()

public ByteString getStepBytes()

Display name of the current auto rollout step.

string step = 1;

Returns
Type Description
ByteString

The bytes for step.

getStepIndex()

public int getStepIndex()

Index of the current step in the auto rollout steps list.

int32 step_index = 3;

Returns
Type Description
int

The stepIndex.

hasStartTime()

public boolean hasStartTime()

Start time of the current step.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RolloutState other)

public RolloutState.Builder mergeFrom(RolloutState other)
Parameter
Name Description
other RolloutState
Returns
Type Description
RolloutState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RolloutState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RolloutState.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public RolloutState.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RolloutState.Builder
Overrides

mergeStartTime(Timestamp value)

public RolloutState.Builder mergeStartTime(Timestamp value)

Start time of the current step.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
RolloutState.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RolloutState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RolloutState.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RolloutState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RolloutState.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RolloutState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RolloutState.Builder
Overrides

setStartTime(Timestamp value)

public RolloutState.Builder setStartTime(Timestamp value)

Start time of the current step.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
RolloutState.Builder

setStartTime(Timestamp.Builder builderForValue)

public RolloutState.Builder setStartTime(Timestamp.Builder builderForValue)

Start time of the current step.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RolloutState.Builder

setStep(String value)

public RolloutState.Builder setStep(String value)

Display name of the current auto rollout step.

string step = 1;

Parameter
Name Description
value String

The step to set.

Returns
Type Description
RolloutState.Builder

This builder for chaining.

setStepBytes(ByteString value)

public RolloutState.Builder setStepBytes(ByteString value)

Display name of the current auto rollout step.

string step = 1;

Parameter
Name Description
value ByteString

The bytes for step to set.

Returns
Type Description
RolloutState.Builder

This builder for chaining.

setStepIndex(int value)

public RolloutState.Builder setStepIndex(int value)

Index of the current step in the auto rollout steps list.

int32 step_index = 3;

Parameter
Name Description
value int

The stepIndex to set.

Returns
Type Description
RolloutState.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RolloutState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RolloutState.Builder
Overrides