- 1.49.0 (latest)
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.8
- 1.0.2
public static final class PromoteReleaseOperation.Builder extends GeneratedMessageV3.Builder<PromoteReleaseOperation.Builder> implements PromoteReleaseOperationOrBuilder
Contains the information of an automated promote-release operation.
Protobuf type google.cloud.deploy.v1.PromoteReleaseOperation
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PromoteReleaseOperation.BuilderImplements
PromoteReleaseOperationOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PromoteReleaseOperation.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
build()
public PromoteReleaseOperation build()
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation |
buildPartial()
public PromoteReleaseOperation buildPartial()
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation |
clear()
public PromoteReleaseOperation.Builder clear()
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
clearField(Descriptors.FieldDescriptor field)
public PromoteReleaseOperation.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PromoteReleaseOperation.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
clearPhase()
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];
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
This builder for chaining. |
clearRollout()
public PromoteReleaseOperation.Builder clearRollout()
Output only. The name of the rollout that initiates the AutomationRun
.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
This builder for chaining. |
clearTargetId()
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];
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
This builder for chaining. |
clearWait()
public PromoteReleaseOperation.Builder clearWait()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
clone()
public PromoteReleaseOperation.Builder clone()
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
getDefaultInstanceForType()
public PromoteReleaseOperation getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getPhase()
public String getPhase()
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. |
getPhaseBytes()
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. |
getRollout()
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. |
getRolloutBytes()
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. |
getTargetId()
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. |
getTargetIdBytes()
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. |
getWait()
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. |
getWaitBuilder()
public Duration.Builder getWaitBuilder()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
Builder |
getWaitOrBuilder()
public DurationOrBuilder getWaitOrBuilder()
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns | |
---|---|
Type | Description |
DurationOrBuilder |
hasWait()
public boolean hasWait()
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PromoteReleaseOperation other)
public PromoteReleaseOperation.Builder mergeFrom(PromoteReleaseOperation other)
Parameter | |
---|---|
Name | Description |
other |
PromoteReleaseOperation |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PromoteReleaseOperation.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PromoteReleaseOperation.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PromoteReleaseOperation.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
mergeWait(Duration value)
public PromoteReleaseOperation.Builder mergeWait(Duration value)
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public PromoteReleaseOperation.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
setPhase(String value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
String The phase to set. |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
This builder for chaining. |
setPhaseBytes(ByteString value)
public PromoteReleaseOperation.Builder setPhaseBytes(ByteString value)
Output only. The starting phase of the rollout created by this operation.
string phase = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for phase to set. |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PromoteReleaseOperation.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
setRollout(String value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
String The rollout to set. |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
This builder for chaining. |
setRolloutBytes(ByteString value)
public PromoteReleaseOperation.Builder setRolloutBytes(ByteString value)
Output only. The name of the rollout that initiates the AutomationRun
.
string rollout = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for rollout to set. |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
This builder for chaining. |
setTargetId(String value)
public 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];
Parameter | |
---|---|
Name | Description |
value |
String The targetId to set. |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
This builder for chaining. |
setTargetIdBytes(ByteString value)
public PromoteReleaseOperation.Builder setTargetIdBytes(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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for targetId to set. |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PromoteReleaseOperation.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
setWait(Duration value)
public PromoteReleaseOperation.Builder setWait(Duration value)
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
value |
Duration |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |
setWait(Duration.Builder builderForValue)
public PromoteReleaseOperation.Builder setWait(Duration.Builder builderForValue)
Output only. How long the operation will be paused.
.google.protobuf.Duration wait = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
PromoteReleaseOperation.Builder |