public static final class TimedPromoteReleaseCondition.Builder extends GeneratedMessage.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
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > TimedPromoteReleaseCondition.BuilderImplements
TimedPromoteReleaseConditionOrBuilderStatic 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 |
|
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 |
|
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 |
|
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 |
|
getDefaultInstanceForType()
public TimedPromoteReleaseCondition getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public TimedPromoteReleaseCondition.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
TimedPromoteReleaseCondition.Builder |
|
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 |
|
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 |
|
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 |
|
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 |
|