Class RolloutState.Builder (0.14.2)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RolloutState.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RolloutState.Builder
Overrides

build()

public RolloutState build()
Returns
TypeDescription
RolloutState

buildPartial()

public RolloutState buildPartial()
Returns
TypeDescription
RolloutState

clear()

public RolloutState.Builder clear()
Returns
TypeDescription
RolloutState.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RolloutState.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RolloutState.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public RolloutState.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RolloutState.Builder
Overrides

clearStartTime()

public RolloutState.Builder clearStartTime()

Start time of the current step.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
RolloutState.Builder

clearStep()

public RolloutState.Builder clearStep()

Display name of the current auto rollout step.

string step = 1;

Returns
TypeDescription
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
TypeDescription
RolloutState.Builder

This builder for chaining.

clone()

public RolloutState.Builder clone()
Returns
TypeDescription
RolloutState.Builder
Overrides

getDefaultInstanceForType()

public RolloutState getDefaultInstanceForType()
Returns
TypeDescription
RolloutState

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getStartTime()

public Timestamp getStartTime()

Start time of the current step.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Start time of the current step.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Start time of the current step.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
TimestampOrBuilder

getStep()

public String getStep()

Display name of the current auto rollout step.

string step = 1;

Returns
TypeDescription
String

The step.

getStepBytes()

public ByteString getStepBytes()

Display name of the current auto rollout step.

string step = 1;

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

The stepIndex.

hasStartTime()

public boolean hasStartTime()

Start time of the current step.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RolloutState other)

public RolloutState.Builder mergeFrom(RolloutState other)
Parameter
NameDescription
otherRolloutState
Returns
TypeDescription
RolloutState.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RolloutState.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RolloutState.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RolloutState.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
RolloutState.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RolloutState.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RolloutState.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RolloutState.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RolloutState.Builder
Overrides

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

public RolloutState.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
RolloutState.Builder

setStep(String value)

public RolloutState.Builder setStep(String value)

Display name of the current auto rollout step.

string step = 1;

Parameter
NameDescription
valueString

The step to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for step to set.

Returns
TypeDescription
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
NameDescription
valueint

The stepIndex to set.

Returns
TypeDescription
RolloutState.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final RolloutState.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RolloutState.Builder
Overrides