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>)
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];
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)
Overrides
public PromoteReleaseOperation.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides