Interface RollbackTargetRequestOrBuilder (1.39.0)

public interface RollbackTargetRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Required. The DeliveryPipeline for which the rollback Rollout should be created. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The DeliveryPipeline for which the rollback Rollout should be created. Format should be projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getReleaseId()

public abstract String getReleaseId()

Optional. ID of the Release to roll back to. If this isn't specified, the previous successful Rollout to the specified target will be used to determine the Release.

string release_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The releaseId.

getReleaseIdBytes()

public abstract ByteString getReleaseIdBytes()

Optional. ID of the Release to roll back to. If this isn't specified, the previous successful Rollout to the specified target will be used to determine the Release.

string release_id = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for releaseId.

getRollbackConfig()

public abstract RollbackTargetConfig getRollbackConfig()

Optional. Configs for the rollback Rollout.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
RollbackTargetConfig

The rollbackConfig.

getRollbackConfigOrBuilder()

public abstract RollbackTargetConfigOrBuilder getRollbackConfigOrBuilder()

Optional. Configs for the rollback Rollout.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
RollbackTargetConfigOrBuilder

getRolloutId()

public abstract String getRolloutId()

Required. ID of the rollback Rollout to create.

string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The rolloutId.

getRolloutIdBytes()

public abstract ByteString getRolloutIdBytes()

Required. ID of the rollback Rollout to create.

string rollout_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for rolloutId.

getRolloutToRollBack()

public abstract String getRolloutToRollBack()

Optional. If provided, this must be the latest Rollout that is on the Target.

string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The rolloutToRollBack.

getRolloutToRollBackBytes()

public abstract ByteString getRolloutToRollBackBytes()

Optional. If provided, this must be the latest Rollout that is on the Target.

string rollout_to_roll_back = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for rolloutToRollBack.

getTargetId()

public abstract String getTargetId()

Required. ID of the Target that is being rolled back.

string target_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The targetId.

getTargetIdBytes()

public abstract ByteString getTargetIdBytes()

Required. ID of the Target that is being rolled back.

string target_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for targetId.

getValidateOnly()

public abstract boolean getValidateOnly()

Optional. If set to true, the request is validated and the user is provided with a RollbackTargetResponse.

bool validate_only = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

The validateOnly.

hasRollbackConfig()

public abstract boolean hasRollbackConfig()

Optional. Configs for the rollback Rollout.

.google.cloud.deploy.v1.RollbackTargetConfig rollback_config = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the rollbackConfig field is set.