public static final class PromoteReleaseOperation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder> implements PromoteReleaseOperationOrBuilder
Contains the information of an automated promote-release operation.Protobuf type
google.cloud.deploy.v1.PromoteReleaseOperation| Modifier and Type | Method and Description |
|---|---|
PromoteReleaseOperation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PromoteReleaseOperation |
build() |
PromoteReleaseOperation |
buildPartial() |
PromoteReleaseOperation.Builder |
clear() |
PromoteReleaseOperation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PromoteReleaseOperation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PromoteReleaseOperation.Builder |
clearPhase()
Output only.
|
PromoteReleaseOperation.Builder |
clearRollout()
Output only.
|
PromoteReleaseOperation.Builder |
clearTargetId()
Output only.
|
PromoteReleaseOperation.Builder |
clearWait()
Output only.
|
PromoteReleaseOperation.Builder |
clone() |
PromoteReleaseOperation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getPhase()
Output only.
|
com.google.protobuf.ByteString |
getPhaseBytes()
Output only.
|
String |
getRollout()
Output only.
|
com.google.protobuf.ByteString |
getRolloutBytes()
Output only.
|
String |
getTargetId()
Output only.
|
com.google.protobuf.ByteString |
getTargetIdBytes()
Output only.
|
com.google.protobuf.Duration |
getWait()
Output only.
|
com.google.protobuf.Duration.Builder |
getWaitBuilder()
Output only.
|
com.google.protobuf.DurationOrBuilder |
getWaitOrBuilder()
Output only.
|
boolean |
hasWait()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PromoteReleaseOperation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PromoteReleaseOperation.Builder |
mergeFrom(com.google.protobuf.Message other) |
PromoteReleaseOperation.Builder |
mergeFrom(PromoteReleaseOperation other) |
PromoteReleaseOperation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PromoteReleaseOperation.Builder |
mergeWait(com.google.protobuf.Duration value)
Output only.
|
PromoteReleaseOperation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PromoteReleaseOperation.Builder |
setPhase(String value)
Output only.
|
PromoteReleaseOperation.Builder |
setPhaseBytes(com.google.protobuf.ByteString value)
Output only.
|
PromoteReleaseOperation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PromoteReleaseOperation.Builder |
setRollout(String value)
Output only.
|
PromoteReleaseOperation.Builder |
setRolloutBytes(com.google.protobuf.ByteString value)
Output only.
|
PromoteReleaseOperation.Builder |
setTargetId(String value)
Output only.
|
PromoteReleaseOperation.Builder |
setTargetIdBytes(com.google.protobuf.ByteString value)
Output only.
|
PromoteReleaseOperation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PromoteReleaseOperation.Builder |
setWait(com.google.protobuf.Duration.Builder builderForValue)
Output only.
|
PromoteReleaseOperation.Builder |
setWait(com.google.protobuf.Duration value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder>public PromoteReleaseOperation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder>public PromoteReleaseOperation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PromoteReleaseOperation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PromoteReleaseOperation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PromoteReleaseOperation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder>public PromoteReleaseOperation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder>public PromoteReleaseOperation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder>public PromoteReleaseOperation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder>public PromoteReleaseOperation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder>public PromoteReleaseOperation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder>public PromoteReleaseOperation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PromoteReleaseOperation.Builder>public PromoteReleaseOperation.Builder mergeFrom(PromoteReleaseOperation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder>public PromoteReleaseOperation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PromoteReleaseOperation.Builder>IOExceptionpublic String getTargetId()
Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.
string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getTargetId in interface PromoteReleaseOperationOrBuilderpublic com.google.protobuf.ByteString getTargetIdBytes()
Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.
string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];getTargetIdBytes in interface PromoteReleaseOperationOrBuilderpublic PromoteReleaseOperation.Builder setTargetId(String value)
Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.
string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The targetId to set.public PromoteReleaseOperation.Builder clearTargetId()
Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.
string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];public PromoteReleaseOperation.Builder setTargetIdBytes(com.google.protobuf.ByteString value)
Output only. The ID of the target that represents the promotion stage to which the release will be promoted. The value of this field is the last segment of a target name.
string target_id = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for targetId to set.public boolean hasWait()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];hasWait in interface PromoteReleaseOperationOrBuilderpublic com.google.protobuf.Duration getWait()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getWait in interface PromoteReleaseOperationOrBuilderpublic PromoteReleaseOperation.Builder setWait(com.google.protobuf.Duration value)
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public PromoteReleaseOperation.Builder setWait(com.google.protobuf.Duration.Builder builderForValue)
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public PromoteReleaseOperation.Builder mergeWait(com.google.protobuf.Duration value)
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public PromoteReleaseOperation.Builder clearWait()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public com.google.protobuf.Duration.Builder getWaitBuilder()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];public com.google.protobuf.DurationOrBuilder getWaitOrBuilder()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];getWaitOrBuilder in interface PromoteReleaseOperationOrBuilderpublic String getRollout()
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getRollout in interface PromoteReleaseOperationOrBuilderpublic com.google.protobuf.ByteString getRolloutBytes()
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];getRolloutBytes in interface PromoteReleaseOperationOrBuilderpublic PromoteReleaseOperation.Builder setRollout(String value)
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The rollout to set.public PromoteReleaseOperation.Builder clearRollout()
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];public PromoteReleaseOperation.Builder setRolloutBytes(com.google.protobuf.ByteString value)
Output only. The name of the rollout that initiates the `AutomationRun`.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for rollout to set.public String getPhase()
Output only. The starting phase of the rollout created by this operation.
string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getPhase in interface PromoteReleaseOperationOrBuilderpublic com.google.protobuf.ByteString getPhaseBytes()
Output only. The starting phase of the rollout created by this operation.
string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];getPhaseBytes in interface PromoteReleaseOperationOrBuilderpublic PromoteReleaseOperation.Builder setPhase(String value)
Output only. The starting phase of the rollout created by this operation.
string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The phase to set.public PromoteReleaseOperation.Builder clearPhase()
Output only. The starting phase of the rollout created by this operation.
string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];public PromoteReleaseOperation.Builder setPhaseBytes(com.google.protobuf.ByteString value)
Output only. The starting phase of the rollout created by this operation.
string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The bytes for phase to set.public final PromoteReleaseOperation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder>public final PromoteReleaseOperation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder>Copyright © 2024 Google LLC. All rights reserved.