Package com.google.cloud.deploy.v1
Class TimedPromoteReleaseCondition.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<TimedPromoteReleaseCondition.Builder>
com.google.cloud.deploy.v1.TimedPromoteReleaseCondition.Builder
- All Implemented Interfaces:
TimedPromoteReleaseConditionOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- TimedPromoteReleaseCondition
public static final class TimedPromoteReleaseCondition.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllTargetsList(Iterable<? extends TimedPromoteReleaseCondition.Targets> values) Output only.addTargetsList(int index, TimedPromoteReleaseCondition.Targets value) Output only.addTargetsList(int index, TimedPromoteReleaseCondition.Targets.Builder builderForValue) Output only.Output only.addTargetsList(TimedPromoteReleaseCondition.Targets.Builder builderForValue) Output only.Output only.addTargetsListBuilder(int index) Output only.build()clear()Output only.Output only.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOutput only.com.google.protobuf.Timestamp.BuilderOutput only.com.google.protobuf.TimestampOrBuilderOutput only.getTargetsList(int index) Output only.getTargetsListBuilder(int index) Output only.Output only.intOutput only.Output only.getTargetsListOrBuilder(int index) Output only.Output only.booleanOutput only.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeNextPromotionTime(com.google.protobuf.Timestamp value) Output only.removeTargetsList(int index) Output only.setNextPromotionTime(com.google.protobuf.Timestamp value) Output only.setNextPromotionTime(com.google.protobuf.Timestamp.Builder builderForValue) Output only.setTargetsList(int index, TimedPromoteReleaseCondition.Targets value) Output only.setTargetsList(int index, TimedPromoteReleaseCondition.Targets.Builder builderForValue) Output only.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<TimedPromoteReleaseCondition.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<TimedPromoteReleaseCondition.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<TimedPromoteReleaseCondition.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimedPromoteReleaseCondition.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<TimedPromoteReleaseCondition.Builder>
-
mergeFrom
public TimedPromoteReleaseCondition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TimedPromoteReleaseCondition.Builder>- Throws:
IOException
-
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];- Specified by:
hasNextPromotionTimein interfaceTimedPromoteReleaseConditionOrBuilder- Returns:
- Whether the nextPromotionTime field is set.
-
getNextPromotionTime
public com.google.protobuf.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];- Specified by:
getNextPromotionTimein interfaceTimedPromoteReleaseConditionOrBuilder- Returns:
- The nextPromotionTime.
-
setNextPromotionTime
public TimedPromoteReleaseCondition.Builder setNextPromotionTime(com.google.protobuf.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]; -
setNextPromotionTime
public TimedPromoteReleaseCondition.Builder setNextPromotionTime(com.google.protobuf.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]; -
mergeNextPromotionTime
public TimedPromoteReleaseCondition.Builder mergeNextPromotionTime(com.google.protobuf.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]; -
clearNextPromotionTime
Output only. When the next scheduled promotion(s) will occur.
.google.protobuf.Timestamp next_promotion_time = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getNextPromotionTimeBuilder
public com.google.protobuf.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]; -
getNextPromotionTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getNextPromotionTimeOrBuilderin interfaceTimedPromoteReleaseConditionOrBuilder
-
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];- Specified by:
getTargetsListListin interfaceTimedPromoteReleaseConditionOrBuilder
-
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];- Specified by:
getTargetsListCountin interfaceTimedPromoteReleaseConditionOrBuilder
-
getTargetsList
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];- Specified by:
getTargetsListin interfaceTimedPromoteReleaseConditionOrBuilder
-
setTargetsList
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]; -
setTargetsList
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]; -
addTargetsList
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]; -
addTargetsList
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]; -
addTargetsList
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]; -
addTargetsList
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]; -
addAllTargetsList
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]; -
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]; -
removeTargetsList
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]; -
getTargetsListBuilder
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]; -
getTargetsListOrBuilder
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];- Specified by:
getTargetsListOrBuilderin interfaceTimedPromoteReleaseConditionOrBuilder
-
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];- Specified by:
getTargetsListOrBuilderListin interfaceTimedPromoteReleaseConditionOrBuilder
-
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]; -
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]; -
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];
-