Interface ShipmentModel.BreakRuleOrBuilder (1.44.0)

public static interface ShipmentModel.BreakRuleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBreakRequests(int index) (deprecated)

public abstract ShipmentModel.BreakRule.BreakRequest getBreakRequests(int index)

Sequence of breaks. See the BreakRequest message.

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

Parameter
Name Description
index int
Returns
Type Description
ShipmentModel.BreakRule.BreakRequest

getBreakRequestsCount() (deprecated)

public abstract int getBreakRequestsCount()

Sequence of breaks. See the BreakRequest message.

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

Returns
Type Description
int

getBreakRequestsList() (deprecated)

public abstract List<ShipmentModel.BreakRule.BreakRequest> getBreakRequestsList()

Sequence of breaks. See the BreakRequest message.

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

Returns
Type Description
List<BreakRequest>

getBreakRequestsOrBuilder(int index) (deprecated)

public abstract ShipmentModel.BreakRule.BreakRequestOrBuilder getBreakRequestsOrBuilder(int index)

Sequence of breaks. See the BreakRequest message.

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

Parameter
Name Description
index int
Returns
Type Description
ShipmentModel.BreakRule.BreakRequestOrBuilder

getBreakRequestsOrBuilderList() (deprecated)

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

Sequence of breaks. See the BreakRequest message.

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

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

getFrequencyConstraints(int index) (deprecated)

public abstract ShipmentModel.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.ShipmentModel.BreakRule.FrequencyConstraint frequency_constraints = 2;

Parameter
Name Description
index int
Returns
Type Description
ShipmentModel.BreakRule.FrequencyConstraint

getFrequencyConstraintsCount() (deprecated)

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.ShipmentModel.BreakRule.FrequencyConstraint frequency_constraints = 2;

Returns
Type Description
int

getFrequencyConstraintsList() (deprecated)

public abstract List<ShipmentModel.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.ShipmentModel.BreakRule.FrequencyConstraint frequency_constraints = 2;

Returns
Type Description
List<FrequencyConstraint>

getFrequencyConstraintsOrBuilder(int index) (deprecated)

public abstract ShipmentModel.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.ShipmentModel.BreakRule.FrequencyConstraint frequency_constraints = 2;

Parameter
Name Description
index int
Returns
Type Description
ShipmentModel.BreakRule.FrequencyConstraintOrBuilder

getFrequencyConstraintsOrBuilderList() (deprecated)

public abstract List<? extends ShipmentModel.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.ShipmentModel.BreakRule.FrequencyConstraint frequency_constraints = 2;

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