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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
public static final Descriptors.Descriptor getDescriptor()
Methods
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>
|
public TimedPromoteReleaseCondition.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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];
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];
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];
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];
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
|
public TimedPromoteReleaseCondition build()
public TimedPromoteReleaseCondition buildPartial()
public TimedPromoteReleaseCondition.Builder clear()
Overrides
public TimedPromoteReleaseCondition.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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];
public TimedPromoteReleaseCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
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];
public TimedPromoteReleaseCondition.Builder clone()
Overrides
public TimedPromoteReleaseCondition getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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];
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];
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
|
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
|
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];
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 |
|
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];
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
|
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> |
|
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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public TimedPromoteReleaseCondition.Builder mergeFrom(TimedPromoteReleaseCondition other)
public TimedPromoteReleaseCondition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public TimedPromoteReleaseCondition.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
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];
public final TimedPromoteReleaseCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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
|
public TimedPromoteReleaseCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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];
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
|
public TimedPromoteReleaseCondition.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
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];
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];
public final TimedPromoteReleaseCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides