Interface BreakRuleOrBuilder (1.51.0)

public interface BreakRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBreakRequests(int index)

public abstract BreakRule.BreakRequest getBreakRequests(int index)

Sequence of breaks. See the BreakRequest message.

repeated .google.cloud.optimization.v1.BreakRule.BreakRequest break_requests = 1;

Parameter
Name Description
index int
Returns
Type Description
BreakRule.BreakRequest

getBreakRequestsCount()

public abstract int getBreakRequestsCount()

Sequence of breaks. See the BreakRequest message.

repeated .google.cloud.optimization.v1.BreakRule.BreakRequest break_requests = 1;

Returns
Type Description
int

getBreakRequestsList()

public abstract List<BreakRule.BreakRequest> getBreakRequestsList()

Sequence of breaks. See the BreakRequest message.

repeated .google.cloud.optimization.v1.BreakRule.BreakRequest break_requests = 1;

Returns
Type Description
List<BreakRequest>

getBreakRequestsOrBuilder(int index)

public abstract BreakRule.BreakRequestOrBuilder getBreakRequestsOrBuilder(int index)

Sequence of breaks. See the BreakRequest message.

repeated .google.cloud.optimization.v1.BreakRule.BreakRequest break_requests = 1;

Parameter
Name Description
index int
Returns
Type Description
BreakRule.BreakRequestOrBuilder

getBreakRequestsOrBuilderList()

public abstract List<? extends BreakRule.BreakRequestOrBuilder> getBreakRequestsOrBuilderList()

Sequence of breaks. See the BreakRequest message.

repeated .google.cloud.optimization.v1.BreakRule.BreakRequest break_requests = 1;

Returns
Type Description
List<? extends com.google.cloud.optimization.v1.BreakRule.BreakRequestOrBuilder>

getFrequencyConstraints(int index)

public abstract BreakRule.FrequencyConstraint getFrequencyConstraints(int index)

Several FrequencyConstraint may apply. They must all be satisfied by the BreakRequests of this BreakRule. See FrequencyConstraint.

repeated .google.cloud.optimization.v1.BreakRule.FrequencyConstraint frequency_constraints = 2;

Parameter
Name Description
index int
Returns
Type Description
BreakRule.FrequencyConstraint

getFrequencyConstraintsCount()

public abstract int getFrequencyConstraintsCount()

Several FrequencyConstraint may apply. They must all be satisfied by the BreakRequests of this BreakRule. See FrequencyConstraint.

repeated .google.cloud.optimization.v1.BreakRule.FrequencyConstraint frequency_constraints = 2;

Returns
Type Description
int

getFrequencyConstraintsList()

public abstract List<BreakRule.FrequencyConstraint> getFrequencyConstraintsList()

Several FrequencyConstraint may apply. They must all be satisfied by the BreakRequests of this BreakRule. See FrequencyConstraint.

repeated .google.cloud.optimization.v1.BreakRule.FrequencyConstraint frequency_constraints = 2;

Returns
Type Description
List<FrequencyConstraint>

getFrequencyConstraintsOrBuilder(int index)

public abstract BreakRule.FrequencyConstraintOrBuilder getFrequencyConstraintsOrBuilder(int index)

Several FrequencyConstraint may apply. They must all be satisfied by the BreakRequests of this BreakRule. See FrequencyConstraint.

repeated .google.cloud.optimization.v1.BreakRule.FrequencyConstraint frequency_constraints = 2;

Parameter
Name Description
index int
Returns
Type Description
BreakRule.FrequencyConstraintOrBuilder

getFrequencyConstraintsOrBuilderList()

public abstract List<? extends BreakRule.FrequencyConstraintOrBuilder> getFrequencyConstraintsOrBuilderList()

Several FrequencyConstraint may apply. They must all be satisfied by the BreakRequests of this BreakRule. See FrequencyConstraint.

repeated .google.cloud.optimization.v1.BreakRule.FrequencyConstraint frequency_constraints = 2;

Returns
Type Description
List<? extends com.google.cloud.optimization.v1.BreakRule.FrequencyConstraintOrBuilder>