- 1.81.0 (latest)
- 1.80.0
- 1.78.0
- 1.76.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.70.0
- 1.68.0
- 1.66.0
- 1.65.0
- 1.62.0
- 1.61.0
- 1.60.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.0
- 1.1.14
- 0.1.2
public static final class SkippedShipment.Builder extends GeneratedMessage.Builder<SkippedShipment.Builder> implements SkippedShipmentOrBuilderSpecifies details of unperformed shipments in a solution. For trivial cases and/or if we are able to identify the cause for skipping, we report the reason here.
Protobuf type google.cloud.optimization.v1.SkippedShipment
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > SkippedShipment.BuilderImplements
SkippedShipmentOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllReasons(Iterable<? extends SkippedShipment.Reason> values)
public SkippedShipment.Builder addAllReasons(Iterable<? extends SkippedShipment.Reason> values) A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.optimization.v1.SkippedShipment.Reason> |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
|
addReasons(SkippedShipment.Reason value)
public SkippedShipment.Builder addReasons(SkippedShipment.Reason value) A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
SkippedShipment.Reason |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
|
addReasons(SkippedShipment.Reason.Builder builderForValue)
public SkippedShipment.Builder addReasons(SkippedShipment.Reason.Builder builderForValue) A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SkippedShipment.Reason.Builder |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
|
addReasons(int index, SkippedShipment.Reason value)
public SkippedShipment.Builder addReasons(int index, SkippedShipment.Reason value) A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SkippedShipment.Reason |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
|
addReasons(int index, SkippedShipment.Reason.Builder builderForValue)
public SkippedShipment.Builder addReasons(int index, SkippedShipment.Reason.Builder builderForValue) A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SkippedShipment.Reason.Builder |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
|
addReasonsBuilder()
public SkippedShipment.Reason.Builder addReasonsBuilder() A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Reason.Builder |
|
addReasonsBuilder(int index)
public SkippedShipment.Reason.Builder addReasonsBuilder(int index) A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Reason.Builder |
|
build()
public SkippedShipment build()| Returns | |
|---|---|
| Type | Description |
SkippedShipment |
|
buildPartial()
public SkippedShipment buildPartial()| Returns | |
|---|---|
| Type | Description |
SkippedShipment |
|
clear()
public SkippedShipment.Builder clear()| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
|
clearIndex()
public SkippedShipment.Builder clearIndex() The index corresponds to the index of the shipment in the source
ShipmentModel.
int32 index = 1;
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
This builder for chaining. |
clearLabel()
public SkippedShipment.Builder clearLabel() Copy of the corresponding
Shipment.label, if specified
in the Shipment.
string label = 2;
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
This builder for chaining. |
clearReasons()
public SkippedShipment.Builder clearReasons() A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
|
getDefaultInstanceForType()
public SkippedShipment getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
SkippedShipment |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIndex()
public int getIndex() The index corresponds to the index of the shipment in the source
ShipmentModel.
int32 index = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The index. |
getLabel()
public String getLabel() Copy of the corresponding
Shipment.label, if specified
in the Shipment.
string label = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The label. |
getLabelBytes()
public ByteString getLabelBytes() Copy of the corresponding
Shipment.label, if specified
in the Shipment.
string label = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for label. |
getReasons(int index)
public SkippedShipment.Reason getReasons(int index) A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Reason |
|
getReasonsBuilder(int index)
public SkippedShipment.Reason.Builder getReasonsBuilder(int index) A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Reason.Builder |
|
getReasonsBuilderList()
public List<SkippedShipment.Reason.Builder> getReasonsBuilderList() A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getReasonsCount()
public int getReasonsCount() A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Returns | |
|---|---|
| Type | Description |
int |
|
getReasonsList()
public List<SkippedShipment.Reason> getReasonsList() A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Returns | |
|---|---|
| Type | Description |
List<Reason> |
|
getReasonsOrBuilder(int index)
public SkippedShipment.ReasonOrBuilder getReasonsOrBuilder(int index) A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.ReasonOrBuilder |
|
getReasonsOrBuilderList()
public List<? extends SkippedShipment.ReasonOrBuilder> getReasonsOrBuilderList() A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.optimization.v1.SkippedShipment.ReasonOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(SkippedShipment other)
public SkippedShipment.Builder mergeFrom(SkippedShipment other)| Parameter | |
|---|---|
| Name | Description |
other |
SkippedShipment |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SkippedShipment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public SkippedShipment.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
|
removeReasons(int index)
public SkippedShipment.Builder removeReasons(int index) A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
|
setIndex(int value)
public SkippedShipment.Builder setIndex(int value) The index corresponds to the index of the shipment in the source
ShipmentModel.
int32 index = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe index to set. |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
This builder for chaining. |
setLabel(String value)
public SkippedShipment.Builder setLabel(String value) Copy of the corresponding
Shipment.label, if specified
in the Shipment.
string label = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe label to set. |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
This builder for chaining. |
setLabelBytes(ByteString value)
public SkippedShipment.Builder setLabelBytes(ByteString value) Copy of the corresponding
Shipment.label, if specified
in the Shipment.
string label = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for label to set. |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
This builder for chaining. |
setReasons(int index, SkippedShipment.Reason value)
public SkippedShipment.Builder setReasons(int index, SkippedShipment.Reason value) A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SkippedShipment.Reason |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
|
setReasons(int index, SkippedShipment.Reason.Builder builderForValue)
public SkippedShipment.Builder setReasons(int index, SkippedShipment.Reason.Builder builderForValue) A list of reasons that explain why the shipment was skipped. See comment
above Reason.
repeated .google.cloud.optimization.v1.SkippedShipment.Reason reasons = 3;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SkippedShipment.Reason.Builder |
| Returns | |
|---|---|
| Type | Description |
SkippedShipment.Builder |
|