Interface BreakRuleOrBuilder (1.4.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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.optimization.v1.BreakRule.FrequencyConstraintOrBuilder>