Interface ApproveRolloutRequestOrBuilder (1.50.0)

public interface ApproveRolloutRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApproved()

public abstract boolean getApproved()

Required. True = approve; false = reject

bool approved = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The approved.

getName()

public abstract String getName()

Required. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. Name of the Rollout. Format is projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/releases/{release}/rollouts/{rollout}.

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

Returns
Type Description
ByteString

The bytes for name.

getOverrideDeployPolicy(int index)

public abstract String getOverrideDeployPolicy(int index)

Optional. Deploy policies to override. Format is projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.

repeated string override_deploy_policy = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The overrideDeployPolicy at the given index.

getOverrideDeployPolicyBytes(int index)

public abstract ByteString getOverrideDeployPolicyBytes(int index)

Optional. Deploy policies to override. Format is projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.

repeated string override_deploy_policy = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the overrideDeployPolicy at the given index.

getOverrideDeployPolicyCount()

public abstract int getOverrideDeployPolicyCount()

Optional. Deploy policies to override. Format is projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.

repeated string override_deploy_policy = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of overrideDeployPolicy.

getOverrideDeployPolicyList()

public abstract List<String> getOverrideDeployPolicyList()

Optional. Deploy policies to override. Format is projects/{project}/locations/{location}/deployPolicies/{deployPolicy}.

repeated string override_deploy_policy = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the overrideDeployPolicy.