- 1.76.0 (latest)
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 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 RollbackAttempt.Builder extends GeneratedMessageV3.Builder<RollbackAttempt.Builder> implements RollbackAttemptOrBuilderRollbackAttempt represents an action of rolling back a Cloud Deploy 'Target'.
 Protobuf type google.cloud.deploy.v1.RollbackAttempt
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RollbackAttempt.BuilderImplements
RollbackAttemptOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RollbackAttempt.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | |
build()
public RollbackAttempt build()| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt | |
buildPartial()
public RollbackAttempt buildPartial()| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt | |
clear()
public RollbackAttempt.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | |
clearDestinationPhase()
public RollbackAttempt.Builder clearDestinationPhase()Output only. The phase to which the rollout will be rolled back to.
 string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public RollbackAttempt.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | |
clearOneof(Descriptors.OneofDescriptor oneof)
public RollbackAttempt.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | |
clearRolloutId()
public RollbackAttempt.Builder clearRolloutId() Output only. ID of the rollback Rollout to create.
 string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | This builder for chaining. | 
clearState()
public RollbackAttempt.Builder clearState()Output only. Valid state of this rollback action.
 
 .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | This builder for chaining. | 
clearStateDesc()
public RollbackAttempt.Builder clearStateDesc()Output only. Description of the state of the Rollback.
 string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | This builder for chaining. | 
clone()
public RollbackAttempt.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | |
getDefaultInstanceForType()
public RollbackAttempt getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
getDestinationPhase()
public String getDestinationPhase()Output only. The phase to which the rollout will be rolled back to.
 string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The destinationPhase. | 
getDestinationPhaseBytes()
public ByteString getDestinationPhaseBytes()Output only. The phase to which the rollout will be rolled back to.
 string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for destinationPhase. | 
getRolloutId()
public String getRolloutId() Output only. ID of the rollback Rollout to create.
 string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The rolloutId. | 
getRolloutIdBytes()
public ByteString getRolloutIdBytes() Output only. ID of the rollback Rollout to create.
 string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for rolloutId. | 
getState()
public RepairState getState()Output only. Valid state of this rollback action.
 
 .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| RepairState | The state. | 
getStateDesc()
public String getStateDesc()Output only. Description of the state of the Rollback.
 string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| String | The stateDesc. | 
getStateDescBytes()
public ByteString getStateDescBytes()Output only. Description of the state of the Rollback.
 string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for stateDesc. | 
getStateValue()
public int getStateValue()Output only. Valid state of this rollback action.
 
 .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Returns | |
|---|---|
| Type | Description | 
| int | The enum numeric value on the wire for state. | 
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description | 
| FieldAccessorTable | |
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description | 
| boolean | |
mergeFrom(RollbackAttempt other)
public RollbackAttempt.Builder mergeFrom(RollbackAttempt other)| Parameter | |
|---|---|
| Name | Description | 
| other | RollbackAttempt | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RollbackAttempt.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public RollbackAttempt.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RollbackAttempt.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | |
setDestinationPhase(String value)
public RollbackAttempt.Builder setDestinationPhase(String value)Output only. The phase to which the rollout will be rolled back to.
 string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe destinationPhase to set. | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | This builder for chaining. | 
setDestinationPhaseBytes(ByteString value)
public RollbackAttempt.Builder setDestinationPhaseBytes(ByteString value)Output only. The phase to which the rollout will be rolled back to.
 string destination_phase = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for destinationPhase to set. | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public RollbackAttempt.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RollbackAttempt.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | |
setRolloutId(String value)
public RollbackAttempt.Builder setRolloutId(String value) Output only. ID of the rollback Rollout to create.
 string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe rolloutId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | This builder for chaining. | 
setRolloutIdBytes(ByteString value)
public RollbackAttempt.Builder setRolloutIdBytes(ByteString value) Output only. ID of the rollback Rollout to create.
 string rollout_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for rolloutId to set. | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | This builder for chaining. | 
setState(RepairState value)
public RollbackAttempt.Builder setState(RepairState value)Output only. Valid state of this rollback action.
 
 .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | RepairStateThe state to set. | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | This builder for chaining. | 
setStateDesc(String value)
public RollbackAttempt.Builder setStateDesc(String value)Output only. Description of the state of the Rollback.
 string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe stateDesc to set. | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | This builder for chaining. | 
setStateDescBytes(ByteString value)
public RollbackAttempt.Builder setStateDescBytes(ByteString value)Output only. Description of the state of the Rollback.
 string state_desc = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for stateDesc to set. | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | This builder for chaining. | 
setStateValue(int value)
public RollbackAttempt.Builder setStateValue(int value)Output only. Valid state of this rollback action.
 
 .google.cloud.deploy.v1.RepairState state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
 
| Parameter | |
|---|---|
| Name | Description | 
| value | intThe enum numeric value on the wire for state to set. | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final RollbackAttempt.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| RollbackAttempt.Builder | |