Class TimedPromoteReleaseCondition.Builder (1.53.0)

public static final class TimedPromoteReleaseCondition.Builder extends GeneratedMessageV3.Builder<TimedPromoteReleaseCondition.Builder> implements TimedPromoteReleaseConditionOrBuilder

TimedPromoteReleaseCondition contains conditions specific to an Automation with a Timed Promote Release rule defined.

Protobuf type google.cloud.deploy.v1.TimedPromoteReleaseCondition

Static Methods

getDescriptor()

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

Methods

addAllTargetsList(Iterable<? extends TimedPromoteReleaseCondition.Targets> values)

public TimedPromoteReleaseCondition.Builder addAllTargetsList(Iterable<? extends TimedPromoteReleaseCondition.Targets> values)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets>
Returns
Type Description
TimedPromoteReleaseCondition.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addTargetsList(TimedPromoteReleaseCondition.Targets value)

public TimedPromoteReleaseCondition.Builder addTargetsList(TimedPromoteReleaseCondition.Targets value)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value TimedPromoteReleaseCondition.Targets
Returns
Type Description
TimedPromoteReleaseCondition.Builder

addTargetsList(TimedPromoteReleaseCondition.Targets.Builder builderForValue)

public TimedPromoteReleaseCondition.Builder addTargetsList(TimedPromoteReleaseCondition.Targets.Builder builderForValue)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue TimedPromoteReleaseCondition.Targets.Builder
Returns
Type Description
TimedPromoteReleaseCondition.Builder

addTargetsList(int index, TimedPromoteReleaseCondition.Targets value)

public TimedPromoteReleaseCondition.Builder addTargetsList(int index, TimedPromoteReleaseCondition.Targets value)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value TimedPromoteReleaseCondition.Targets
Returns
Type Description
TimedPromoteReleaseCondition.Builder

addTargetsList(int index, TimedPromoteReleaseCondition.Targets.Builder builderForValue)

public TimedPromoteReleaseCondition.Builder addTargetsList(int index, TimedPromoteReleaseCondition.Targets.Builder builderForValue)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue TimedPromoteReleaseCondition.Targets.Builder
Returns
Type Description
TimedPromoteReleaseCondition.Builder

addTargetsListBuilder()

public TimedPromoteReleaseCondition.Targets.Builder addTargetsListBuilder()

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimedPromoteReleaseCondition.Targets.Builder

addTargetsListBuilder(int index)

public TimedPromoteReleaseCondition.Targets.Builder addTargetsListBuilder(int index)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
TimedPromoteReleaseCondition.Targets.Builder

build()

public TimedPromoteReleaseCondition build()
Returns
Type Description
TimedPromoteReleaseCondition

buildPartial()

public TimedPromoteReleaseCondition buildPartial()
Returns
Type Description
TimedPromoteReleaseCondition

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPromotionTime()

public TimedPromoteReleaseCondition.Builder clearNextPromotionTime()

Output only. When the next scheduled promotion(s) will occur.

.google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimedPromoteReleaseCondition.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearTargetsList()

public TimedPromoteReleaseCondition.Builder clearTargetsList()

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimedPromoteReleaseCondition.Builder

clone()

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

getDefaultInstanceForType()

public TimedPromoteReleaseCondition getDefaultInstanceForType()
Returns
Type Description
TimedPromoteReleaseCondition

getDescriptorForType()

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

getNextPromotionTime()

public Timestamp getNextPromotionTime()

Output only. When the next scheduled promotion(s) will occur.

.google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The nextPromotionTime.

getNextPromotionTimeBuilder()

public Timestamp.Builder getNextPromotionTimeBuilder()

Output only. When the next scheduled promotion(s) will occur.

.google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getNextPromotionTimeOrBuilder()

public TimestampOrBuilder getNextPromotionTimeOrBuilder()

Output only. When the next scheduled promotion(s) will occur.

.google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getTargetsList(int index)

public TimedPromoteReleaseCondition.Targets getTargetsList(int index)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
TimedPromoteReleaseCondition.Targets

getTargetsListBuilder(int index)

public TimedPromoteReleaseCondition.Targets.Builder getTargetsListBuilder(int index)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
TimedPromoteReleaseCondition.Targets.Builder

getTargetsListBuilderList()

public List<TimedPromoteReleaseCondition.Targets.Builder> getTargetsListBuilderList()

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getTargetsListCount()

public int getTargetsListCount()

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getTargetsListList()

public List<TimedPromoteReleaseCondition.Targets> getTargetsListList()

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Targets>

getTargetsListOrBuilder(int index)

public TimedPromoteReleaseCondition.TargetsOrBuilder getTargetsListOrBuilder(int index)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
TimedPromoteReleaseCondition.TargetsOrBuilder

getTargetsListOrBuilderList()

public List<? extends TimedPromoteReleaseCondition.TargetsOrBuilder> getTargetsListOrBuilderList()

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.deploy.v1.TimedPromoteReleaseCondition.TargetsOrBuilder>

hasNextPromotionTime()

public boolean hasNextPromotionTime()

Output only. When the next scheduled promotion(s) will occur.

.google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the nextPromotionTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TimedPromoteReleaseCondition other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeNextPromotionTime(Timestamp value)

public TimedPromoteReleaseCondition.Builder mergeNextPromotionTime(Timestamp value)

Output only. When the next scheduled promotion(s) will occur.

.google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
TimedPromoteReleaseCondition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeTargetsList(int index)

public TimedPromoteReleaseCondition.Builder removeTargetsList(int index)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
TimedPromoteReleaseCondition.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPromotionTime(Timestamp value)

public TimedPromoteReleaseCondition.Builder setNextPromotionTime(Timestamp value)

Output only. When the next scheduled promotion(s) will occur.

.google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
TimedPromoteReleaseCondition.Builder

setNextPromotionTime(Timestamp.Builder builderForValue)

public TimedPromoteReleaseCondition.Builder setNextPromotionTime(Timestamp.Builder builderForValue)

Output only. When the next scheduled promotion(s) will occur.

.google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TimedPromoteReleaseCondition.Builder

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

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

setTargetsList(int index, TimedPromoteReleaseCondition.Targets value)

public TimedPromoteReleaseCondition.Builder setTargetsList(int index, TimedPromoteReleaseCondition.Targets value)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value TimedPromoteReleaseCondition.Targets
Returns
Type Description
TimedPromoteReleaseCondition.Builder

setTargetsList(int index, TimedPromoteReleaseCondition.Targets.Builder builderForValue)

public TimedPromoteReleaseCondition.Builder setTargetsList(int index, TimedPromoteReleaseCondition.Targets.Builder builderForValue)

Output only. A list of targets involved in the upcoming timed promotion(s).

repeated .google.cloud.deploy.v1.TimedPromoteReleaseCondition.Targets targets_list = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue TimedPromoteReleaseCondition.Targets.Builder
Returns
Type Description
TimedPromoteReleaseCondition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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