Send feedback
Class PromoteReleaseOperation (1.40.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.40.0 keyboard_arrow_down
public final class PromoteReleaseOperation extends GeneratedMessageV3 implements PromoteReleaseOperationOrBuilder
Contains the information of an automated promote-release operation.
Protobuf type google.cloud.deploy.v1.PromoteReleaseOperation
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int PHASE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int ROLLOUT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int TARGET_ID_FIELD_NUMBER
Field Value
Type
Description
int
public static final int WAIT_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static PromoteReleaseOperation getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static PromoteReleaseOperation . Builder newBuilder ()
public static PromoteReleaseOperation . Builder newBuilder ( PromoteReleaseOperation prototype )
public static PromoteReleaseOperation parseDelimitedFrom ( InputStream input )
public static PromoteReleaseOperation parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static PromoteReleaseOperation parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static PromoteReleaseOperation parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static PromoteReleaseOperation parseFrom ( ByteString data )
public static PromoteReleaseOperation parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static PromoteReleaseOperation parseFrom ( CodedInputStream input )
public static PromoteReleaseOperation parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static PromoteReleaseOperation parseFrom ( InputStream input )
public static PromoteReleaseOperation parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static PromoteReleaseOperation parseFrom ( ByteBuffer data )
public static PromoteReleaseOperation parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<PromoteReleaseOperation> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public PromoteReleaseOperation getDefaultInstanceForType ()
public Parser<PromoteReleaseOperation> getParserForType ()
Overrides
Output only. The starting phase of the rollout created by this operation.
string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The phase.
public ByteString getPhaseBytes ()
Output only. The starting phase of the rollout created by this operation.
string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for phase.
public String getRollout ()
Output only. The name of the rollout that initiates the AutomationRun
.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
String
The rollout.
public ByteString getRolloutBytes ()
Output only. The name of the rollout that initiates the AutomationRun
.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
ByteString
The bytes for rollout.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public 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];
Returns
Type
Description
String
The targetId.
public 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];
Returns
Type
Description
ByteString
The bytes for targetId.
public Duration getWait ()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
Duration
The wait.
public DurationOrBuilder getWaitOrBuilder ()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns
Type
Description
boolean
Whether the wait field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public PromoteReleaseOperation . Builder newBuilderForType ()
protected PromoteReleaseOperation . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public PromoteReleaseOperation . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
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-01-28 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-01-28 UTC."],[],[]]