public static final class SkippedShipment.Builder extends GeneratedMessageV3.Builder<SkippedShipment.Builder> implements SkippedShipmentOrBuilder
   
   Specifies 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
 
  
  
  
    Inherited Members
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  Returns
  
  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
  
  
  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
  
  Returns
  
  
  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
  
  Returns
  
  
  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
  
  Returns
  
  
  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
  
  Returns
  
  
  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
  
  
  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
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value)
  
    public SkippedShipment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  build()
  
    public SkippedShipment build()
   
  Returns
  
  
  buildPartial()
  
    public SkippedShipment buildPartial()
   
  Returns
  
  
  clear()
  
    public SkippedShipment.Builder clear()
   
  Returns
  
  Overrides
  
  
  clearField(Descriptors.FieldDescriptor field)
  
    public SkippedShipment.Builder clearField(Descriptors.FieldDescriptor field)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  clearIndex()
  
    public SkippedShipment.Builder clearIndex()
   
   The index corresponds to the index of the shipment in the source
 ShipmentModel.
 int32 index = 1;
 
  Returns
  
  
  clearLabel()
  
    public SkippedShipment.Builder clearLabel()
   
   Copy of the corresponding Shipment.label, if specified in the
 Shipment.
 string label = 2;
 
  Returns
  
  
  clearOneof(Descriptors.OneofDescriptor oneof)
  
    public SkippedShipment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  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
  
  
  clone()
  
    public SkippedShipment.Builder clone()
   
  Returns
  
  Overrides
  
  
  getDefaultInstanceForType()
  
    public SkippedShipment getDefaultInstanceForType()
   
  Returns
  
  
  getDescriptorForType()
  
    public Descriptors.Descriptor getDescriptorForType()
   
  Returns
  
  Overrides
  
  
  getIndex()
  
   The index corresponds to the index of the shipment in the source
 ShipmentModel.
 int32 index = 1;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | int | 
        The index. 
 | 
      
    
  
  
  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
  
  
  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
  
  
  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
  
  
  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
  
  
  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
  
  
  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
  
  
  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
  
  
  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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  Returns
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  Returns
  
  Overrides
  
  
  mergeFrom(SkippedShipment other)
  
    public SkippedShipment.Builder mergeFrom(SkippedShipment other)
   
  Parameter
  
  Returns
  
  
  
  
    public SkippedShipment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Overrides
  
  Exceptions
  
  
  mergeFrom(Message other)
  
    public SkippedShipment.Builder mergeFrom(Message other)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  mergeUnknownFields(UnknownFieldSet unknownFields)
  
    public final SkippedShipment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  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
  
  
  setField(Descriptors.FieldDescriptor field, Object value)
  
    public SkippedShipment.Builder setField(Descriptors.FieldDescriptor field, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  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 | 
        int
 The index to set. 
 | 
      
    
  
  Returns
  
  
  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 | 
        String
 The label to set. 
 | 
      
    
  
  Returns
  
  
  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 | 
        ByteString
 The bytes for label to set. 
 | 
      
    
  
  Returns
  
  
  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
  
  Returns
  
  
  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
  
  Returns
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
  
    public SkippedShipment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
   
  Parameters
  
  Returns
  
  Overrides
  
  
  setUnknownFields(UnknownFieldSet unknownFields)
  
    public final SkippedShipment.Builder setUnknownFields(UnknownFieldSet unknownFields)
   
  Parameter
  
  Returns
  
  Overrides