Class RolloutInfo.Builder (0.19.0)

public static final class RolloutInfo.Builder extends GeneratedMessage.Builder<RolloutInfo.Builder> implements RolloutInfoOrBuilder

RolloutInfo represents the state of the FleetPackage at all the clusters the rollout is targeting.

Protobuf type google.cloud.configdelivery.v1.RolloutInfo

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public RolloutInfo build()
Returns
Type Description
RolloutInfo

buildPartial()

public RolloutInfo buildPartial()
Returns
Type Description
RolloutInfo

clear()

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

clearEndTime()

public RolloutInfo.Builder clearEndTime()

Output only. Time when the rollout completed.

.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RolloutInfo.Builder

clearMessage()

public RolloutInfo.Builder clearMessage()

Output only. Message containing additional information related to the rollout.

string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RolloutInfo.Builder

This builder for chaining.

clearRolloutStrategyInfo()

public RolloutInfo.Builder clearRolloutStrategyInfo()

Output only. Rollout strategy info represents the status of execution of rollout strategy.

.google.cloud.configdelivery.v1.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RolloutInfo.Builder

clearStartTime()

public RolloutInfo.Builder clearStartTime()

Output only. Time when the rollout started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RolloutInfo.Builder

clearState()

public RolloutInfo.Builder clearState()

Output only. state contains the overall status of the Rollout.

.google.cloud.configdelivery.v1.RolloutInfo.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RolloutInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public RolloutInfo getDefaultInstanceForType()
Returns
Type Description
RolloutInfo

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

Output only. Time when the rollout completed.

.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. Time when the rollout completed.

.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. Time when the rollout completed.

.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getMessage()

public String getMessage()

Output only. Message containing additional information related to the rollout.

string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The message.

getMessageBytes()

public ByteString getMessageBytes()

Output only. Message containing additional information related to the rollout.

string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for message.

getRolloutStrategyInfo()

public RolloutStrategyInfo getRolloutStrategyInfo()

Output only. Rollout strategy info represents the status of execution of rollout strategy.

.google.cloud.configdelivery.v1.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RolloutStrategyInfo

The rolloutStrategyInfo.

getRolloutStrategyInfoBuilder()

public RolloutStrategyInfo.Builder getRolloutStrategyInfoBuilder()

Output only. Rollout strategy info represents the status of execution of rollout strategy.

.google.cloud.configdelivery.v1.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RolloutStrategyInfo.Builder

getRolloutStrategyInfoOrBuilder()

public RolloutStrategyInfoOrBuilder getRolloutStrategyInfoOrBuilder()

Output only. Rollout strategy info represents the status of execution of rollout strategy.

.google.cloud.configdelivery.v1.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RolloutStrategyInfoOrBuilder

getStartTime()

public Timestamp getStartTime()

Output only. Time when the rollout started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. Time when the rollout started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. Time when the rollout started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getState()

public RolloutInfo.State getState()

Output only. state contains the overall status of the Rollout.

.google.cloud.configdelivery.v1.RolloutInfo.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RolloutInfo.State

The state.

getStateValue()

public int getStateValue()

Output only. state contains the overall status of the Rollout.

.google.cloud.configdelivery.v1.RolloutInfo.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasEndTime()

public boolean hasEndTime()

Output only. Time when the rollout completed.

.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasRolloutStrategyInfo()

public boolean hasRolloutStrategyInfo()

Output only. Rollout strategy info represents the status of execution of rollout strategy.

.google.cloud.configdelivery.v1.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the rolloutStrategyInfo field is set.

hasStartTime()

public boolean hasStartTime()

Output only. Time when the rollout started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public RolloutInfo.Builder mergeEndTime(Timestamp value)

Output only. Time when the rollout completed.

.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
RolloutInfo.Builder

mergeFrom(RolloutInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRolloutStrategyInfo(RolloutStrategyInfo value)

public RolloutInfo.Builder mergeRolloutStrategyInfo(RolloutStrategyInfo value)

Output only. Rollout strategy info represents the status of execution of rollout strategy.

.google.cloud.configdelivery.v1.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RolloutStrategyInfo
Returns
Type Description
RolloutInfo.Builder

mergeStartTime(Timestamp value)

public RolloutInfo.Builder mergeStartTime(Timestamp value)

Output only. Time when the rollout started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
RolloutInfo.Builder

setEndTime(Timestamp value)

public RolloutInfo.Builder setEndTime(Timestamp value)

Output only. Time when the rollout completed.

.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
RolloutInfo.Builder

setEndTime(Timestamp.Builder builderForValue)

public RolloutInfo.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. Time when the rollout completed.

.google.protobuf.Timestamp end_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RolloutInfo.Builder

setMessage(String value)

public RolloutInfo.Builder setMessage(String value)

Output only. Message containing additional information related to the rollout.

string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The message to set.

Returns
Type Description
RolloutInfo.Builder

This builder for chaining.

setMessageBytes(ByteString value)

public RolloutInfo.Builder setMessageBytes(ByteString value)

Output only. Message containing additional information related to the rollout.

string message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for message to set.

Returns
Type Description
RolloutInfo.Builder

This builder for chaining.

setRolloutStrategyInfo(RolloutStrategyInfo value)

public RolloutInfo.Builder setRolloutStrategyInfo(RolloutStrategyInfo value)

Output only. Rollout strategy info represents the status of execution of rollout strategy.

.google.cloud.configdelivery.v1.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RolloutStrategyInfo
Returns
Type Description
RolloutInfo.Builder

setRolloutStrategyInfo(RolloutStrategyInfo.Builder builderForValue)

public RolloutInfo.Builder setRolloutStrategyInfo(RolloutStrategyInfo.Builder builderForValue)

Output only. Rollout strategy info represents the status of execution of rollout strategy.

.google.cloud.configdelivery.v1.RolloutStrategyInfo rollout_strategy_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue RolloutStrategyInfo.Builder
Returns
Type Description
RolloutInfo.Builder

setStartTime(Timestamp value)

public RolloutInfo.Builder setStartTime(Timestamp value)

Output only. Time when the rollout started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
RolloutInfo.Builder

setStartTime(Timestamp.Builder builderForValue)

public RolloutInfo.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. Time when the rollout started.

.google.protobuf.Timestamp start_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
RolloutInfo.Builder

setState(RolloutInfo.State value)

public RolloutInfo.Builder setState(RolloutInfo.State value)

Output only. state contains the overall status of the Rollout.

.google.cloud.configdelivery.v1.RolloutInfo.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RolloutInfo.State

The state to set.

Returns
Type Description
RolloutInfo.Builder

This builder for chaining.

setStateValue(int value)

public RolloutInfo.Builder setStateValue(int value)

Output only. state contains the overall status of the Rollout.

.google.cloud.configdelivery.v1.RolloutInfo.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
RolloutInfo.Builder

This builder for chaining.