Send feedback
Class RollbackTargetConfig.Builder (1.74.0)
Version latestkeyboard_arrow_down
public static final class RollbackTargetConfig . Builder extends GeneratedMessageV3 . Builder<RollbackTargetConfig . Builder > implements RollbackTargetConfigOrBuilder
Configs for the Rollback rollout.
Protobuf type google.cloud.deploy.v1.RollbackTargetConfig
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
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RollbackTargetConfig . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public RollbackTargetConfig build ()
buildPartial()
public RollbackTargetConfig buildPartial ()
clear()
public RollbackTargetConfig . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public RollbackTargetConfig . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RollbackTargetConfig . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearRollout()
public RollbackTargetConfig . Builder clearRollout ()
Optional. The rollback Rollout to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
clearStartingPhaseId()
public RollbackTargetConfig . Builder clearStartingPhaseId ()
Optional. The starting phase ID for the Rollout. If unspecified, the
Rollout will start in the stable phase.
string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL];
clone()
public RollbackTargetConfig . Builder clone ()
Overrides
getDefaultInstanceForType()
public RollbackTargetConfig getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getRollout()
public Rollout getRollout ()
Optional. The rollback Rollout to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
Rollout
The rollout.
getRolloutBuilder()
public Rollout . Builder getRolloutBuilder ()
Optional. The rollback Rollout to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
getRolloutOrBuilder()
public RolloutOrBuilder getRolloutOrBuilder ()
Optional. The rollback Rollout to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
getStartingPhaseId()
public String getStartingPhaseId ()
Optional. The starting phase ID for the Rollout. If unspecified, the
Rollout will start in the stable phase.
string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The startingPhaseId.
getStartingPhaseIdBytes()
public ByteString getStartingPhaseIdBytes ()
Optional. The starting phase ID for the Rollout. If unspecified, the
Rollout will start in the stable phase.
string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for startingPhaseId.
hasRollout()
public boolean hasRollout ()
Optional. The rollback Rollout to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
Whether the rollout field is set.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(RollbackTargetConfig other)
public RollbackTargetConfig . Builder mergeFrom ( RollbackTargetConfig other )
public RollbackTargetConfig . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public RollbackTargetConfig . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeRollout(Rollout value)
public RollbackTargetConfig . Builder mergeRollout ( Rollout value )
Optional. The rollback Rollout to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
Rollout
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RollbackTargetConfig . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RollbackTargetConfig . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RollbackTargetConfig . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setRollout(Rollout value)
public RollbackTargetConfig . Builder setRollout ( Rollout value )
Optional. The rollback Rollout to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
Rollout
setRollout(Rollout.Builder builderForValue)
public RollbackTargetConfig . Builder setRollout ( Rollout . Builder builderForValue )
Optional. The rollback Rollout to create.
.google.cloud.deploy.v1.Rollout rollout = 1 [(.google.api.field_behavior) = OPTIONAL];
setStartingPhaseId(String value)
public RollbackTargetConfig . Builder setStartingPhaseId ( String value )
Optional. The starting phase ID for the Rollout. If unspecified, the
Rollout will start in the stable phase.
string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
String The startingPhaseId to set.
setStartingPhaseIdBytes(ByteString value)
public RollbackTargetConfig . Builder setStartingPhaseIdBytes ( ByteString value )
Optional. The starting phase ID for the Rollout. If unspecified, the
Rollout will start in the stable phase.
string starting_phase_id = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
ByteString The bytes for startingPhaseId to set.
setUnknownFields(UnknownFieldSet unknownFields)
public final RollbackTargetConfig . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]