public static interface SkippedShipment.ReasonOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCode()
public abstract SkippedShipment.Reason.Code getCode()Refer to the comments of Code.
.google.cloud.optimization.v1.SkippedShipment.Reason.Code code = 1;
| Type | Description |
SkippedShipment.Reason.Code |
The code. |
getCodeValue()
public abstract int getCodeValue()Refer to the comments of Code.
.google.cloud.optimization.v1.SkippedShipment.Reason.Code code = 1;
| Type | Description |
int |
The enum numeric value on the wire for code. |
getExampleExceededCapacityType()
public abstract String getExampleExceededCapacityType() If the reason code is DEMAND_EXCEEDS_VEHICLE_CAPACITY, documents one
capacity type that is exceeded.
string example_exceeded_capacity_type = 3;
| Type | Description |
String |
The exampleExceededCapacityType. |
getExampleExceededCapacityTypeBytes()
public abstract ByteString getExampleExceededCapacityTypeBytes() If the reason code is DEMAND_EXCEEDS_VEHICLE_CAPACITY, documents one
capacity type that is exceeded.
string example_exceeded_capacity_type = 3;
| Type | Description |
ByteString |
The bytes for exampleExceededCapacityType. |
getExampleVehicleIndex()
public abstract int getExampleVehicleIndex()If the reason is related to a shipment-vehicle incompatibility, this field provides the index of one relevant vehicle.
optional int32 example_vehicle_index = 2;
| Type | Description |
int |
The exampleVehicleIndex. |
hasExampleVehicleIndex()
public abstract boolean hasExampleVehicleIndex()If the reason is related to a shipment-vehicle incompatibility, this field provides the index of one relevant vehicle.
optional int32 example_vehicle_index = 2;
| Type | Description |
boolean |
Whether the exampleVehicleIndex field is set. |