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