public static final class Shipment.VisitRequest extends GeneratedMessageV3 implements Shipment.VisitRequestOrBuilder
   
   Request for a visit which can be done by a vehicle: it has a geo-location
 (or two, see below), opening and closing times represented by time windows,
 and a service duration time (time spent by the vehicle once it has arrived
 to pickup or drop off goods).
 Protobuf type google.cloud.optimization.v1.Shipment.VisitRequest
 
  
  
  
  Static Fields
  
  ARRIVAL_LOCATION_FIELD_NUMBER
  
    public static final int ARRIVAL_LOCATION_FIELD_NUMBER
   
  Field Value
  
  ARRIVAL_WAYPOINT_FIELD_NUMBER
  
    public static final int ARRIVAL_WAYPOINT_FIELD_NUMBER
   
  Field Value
  
  COST_FIELD_NUMBER
  
    public static final int COST_FIELD_NUMBER
   
  Field Value
  
  DEMANDS_FIELD_NUMBER
  
    public static final int DEMANDS_FIELD_NUMBER
   
  Field Value
  
  DEPARTURE_LOCATION_FIELD_NUMBER
  
    public static final int DEPARTURE_LOCATION_FIELD_NUMBER
   
  Field Value
  
  DEPARTURE_WAYPOINT_FIELD_NUMBER
  
    public static final int DEPARTURE_WAYPOINT_FIELD_NUMBER
   
  Field Value
  
  DURATION_FIELD_NUMBER
  
    public static final int DURATION_FIELD_NUMBER
   
  Field Value
  
  LABEL_FIELD_NUMBER
  
    public static final int LABEL_FIELD_NUMBER
   
  Field Value
  
  LOAD_DEMANDS_FIELD_NUMBER
  
    public static final int LOAD_DEMANDS_FIELD_NUMBER
   
  Field Value
  
  
  
    public static final int TAGS_FIELD_NUMBER
   
  Field Value
  
  TIME_WINDOWS_FIELD_NUMBER
  
    public static final int TIME_WINDOWS_FIELD_NUMBER
   
  Field Value
  
  VISIT_TYPES_FIELD_NUMBER
  
    public static final int VISIT_TYPES_FIELD_NUMBER
   
  Field Value
  
  Static Methods
  
  
  getDefaultInstance()
  
    public static Shipment.VisitRequest getDefaultInstance()
   
  Returns
  
  
  getDescriptor()
  
    public static final Descriptors.Descriptor getDescriptor()
   
  Returns
  
  
  newBuilder()
  
    public static Shipment.VisitRequest.Builder newBuilder()
   
  Returns
  
  
  newBuilder(Shipment.VisitRequest prototype)
  
    public static Shipment.VisitRequest.Builder newBuilder(Shipment.VisitRequest prototype)
   
  Parameter
  
  Returns
  
  
  
  
    public static Shipment.VisitRequest parseDelimitedFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Shipment.VisitRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(byte[] data)
  
    public static Shipment.VisitRequest parseFrom(byte[] data)
   
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | data | 
        byte[]
  | 
      
    
  
  Returns
  
  Exceptions
  
  
  parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
  
    public static Shipment.VisitRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteString data)
  
    public static Shipment.VisitRequest parseFrom(ByteString data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
  
    public static Shipment.VisitRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Shipment.VisitRequest parseFrom(CodedInputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Shipment.VisitRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  
  
    public static Shipment.VisitRequest parseFrom(InputStream input)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  
  
    public static Shipment.VisitRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteBuffer data)
  
    public static Shipment.VisitRequest parseFrom(ByteBuffer data)
   
  Parameter
  
  Returns
  
  Exceptions
  
  
  parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
  
    public static Shipment.VisitRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
   
  Parameters
  
  Returns
  
  Exceptions
  
  
  parser()
  
    public static Parser<Shipment.VisitRequest> parser()
   
  Returns
  
  Methods
  
  
  containsLoadDemands(String key)
  
    public boolean containsLoadDemands(String key)
   
   Load demands of this visit request. This is just like
 Shipment.load_demands field, except that it only applies to this
 VisitRequest instead of the whole Shipment.
 The demands listed here are added to the demands listed in
 Shipment.load_demands.
 map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 12;
 
 
  Parameter
  
  Returns
  
  
  equals(Object obj)
  
    public boolean equals(Object obj)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  getArrivalLocation()
  
    public LatLng getArrivalLocation()
   
   The geo-location where the vehicle arrives when performing this
 VisitRequest. If the shipment model has duration distance matrices,
 arrival_location must not be specified.
 .google.type.LatLng arrival_location = 1;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | com.google.type.LatLng | 
        The arrivalLocation. 
 | 
      
    
  
  
  getArrivalLocationOrBuilder()
  
    public LatLngOrBuilder getArrivalLocationOrBuilder()
   
   The geo-location where the vehicle arrives when performing this
 VisitRequest. If the shipment model has duration distance matrices,
 arrival_location must not be specified.
 .google.type.LatLng arrival_location = 1;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | com.google.type.LatLngOrBuilder | 
         | 
      
    
  
  
  getArrivalWaypoint()
  
    public Waypoint getArrivalWaypoint()
   
   The waypoint where the vehicle arrives when performing this
 VisitRequest. If the shipment model has duration distance matrices,
 arrival_waypoint must not be specified.
 .google.cloud.optimization.v1.Waypoint arrival_waypoint = 2;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | Waypoint | 
        The arrivalWaypoint. 
 | 
      
    
  
  
  getArrivalWaypointOrBuilder()
  
    public WaypointOrBuilder getArrivalWaypointOrBuilder()
   
   The waypoint where the vehicle arrives when performing this
 VisitRequest. If the shipment model has duration distance matrices,
 arrival_waypoint must not be specified.
 .google.cloud.optimization.v1.Waypoint arrival_waypoint = 2;
 
  Returns
  
  
  getCost()
  
   Cost to service this visit request on a vehicle route. This can be used
 to pay different costs for each alternative pickup or delivery of a
 shipment. This cost must be in the same unit as Shipment.penalty_cost
 and must not be negative.
 double cost = 8;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | double | 
        The cost. 
 | 
      
    
  
  
  getDefaultInstanceForType()
  
    public Shipment.VisitRequest getDefaultInstanceForType()
   
  Returns
  
  
  getDemands(int index)
  
    public CapacityQuantity getDemands(int index)
   
   Deprecated: Use [VisitRequest.load_demands][] instead.
 
 repeated .google.cloud.optimization.v1.CapacityQuantity demands = 9 [deprecated = true];
 
 
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | index | 
        int
  | 
      
    
  
  Returns
  
  
  getDemandsCount()
  
    public int getDemandsCount()
   
   Deprecated: Use [VisitRequest.load_demands][] instead.
 
 repeated .google.cloud.optimization.v1.CapacityQuantity demands = 9 [deprecated = true];
 
 
  Returns
  
  
  getDemandsList()
  
    public List<CapacityQuantity> getDemandsList()
   
   Deprecated: Use [VisitRequest.load_demands][] instead.
 
 repeated .google.cloud.optimization.v1.CapacityQuantity demands = 9 [deprecated = true];
 
 
  Returns
  
  
  getDemandsOrBuilder(int index)
  
    public CapacityQuantityOrBuilder getDemandsOrBuilder(int index)
   
   Deprecated: Use [VisitRequest.load_demands][] instead.
 
 repeated .google.cloud.optimization.v1.CapacityQuantity demands = 9 [deprecated = true];
 
 
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | index | 
        int
  | 
      
    
  
  Returns
  
  
  getDemandsOrBuilderList()
  
    public List<? extends CapacityQuantityOrBuilder> getDemandsOrBuilderList()
   
   Deprecated: Use [VisitRequest.load_demands][] instead.
 
 repeated .google.cloud.optimization.v1.CapacityQuantity demands = 9 [deprecated = true];
 
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | List<? extends com.google.cloud.optimization.v1.CapacityQuantityOrBuilder> | 
         | 
      
    
  
  
  getDepartureLocation()
  
    public LatLng getDepartureLocation()
   
   The geo-location where the vehicle departs after completing this
 VisitRequest. Can be omitted if it is the same as arrival_location.
 If the shipment model has duration distance matrices,
 departure_location must not be specified.
 .google.type.LatLng departure_location = 3;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | com.google.type.LatLng | 
        The departureLocation. 
 | 
      
    
  
  
  getDepartureLocationOrBuilder()
  
    public LatLngOrBuilder getDepartureLocationOrBuilder()
   
   The geo-location where the vehicle departs after completing this
 VisitRequest. Can be omitted if it is the same as arrival_location.
 If the shipment model has duration distance matrices,
 departure_location must not be specified.
 .google.type.LatLng departure_location = 3;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | com.google.type.LatLngOrBuilder | 
         | 
      
    
  
  
  getDepartureWaypoint()
  
    public Waypoint getDepartureWaypoint()
   
   The waypoint where the vehicle departs after completing this
 VisitRequest. Can be omitted if it is the same as arrival_waypoint.
 If the shipment model has duration distance matrices,
 departure_waypoint must not be specified.
 .google.cloud.optimization.v1.Waypoint departure_waypoint = 4;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | Waypoint | 
        The departureWaypoint. 
 | 
      
    
  
  
  getDepartureWaypointOrBuilder()
  
    public WaypointOrBuilder getDepartureWaypointOrBuilder()
   
   The waypoint where the vehicle departs after completing this
 VisitRequest. Can be omitted if it is the same as arrival_waypoint.
 If the shipment model has duration distance matrices,
 departure_waypoint must not be specified.
 .google.cloud.optimization.v1.Waypoint departure_waypoint = 4;
 
  Returns
  
  
  getDuration()
  
    public Duration getDuration()
   
   Duration of the visit, i.e. time spent by the vehicle between arrival
 and departure (to be added to the possible waiting time; see
 time_windows).
 .google.protobuf.Duration duration = 7;
 
  Returns
  
  
  getDurationOrBuilder()
  
    public DurationOrBuilder getDurationOrBuilder()
   
   Duration of the visit, i.e. time spent by the vehicle between arrival
 and departure (to be added to the possible waiting time; see
 time_windows).
 .google.protobuf.Duration duration = 7;
 
  Returns
  
  
  getLabel()
  
   Specifies a label for this VisitRequest. This label is reported in the
 response as visit_label in the corresponding ShipmentRoute.Visit.
 string label = 11;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | String | 
        The label. 
 | 
      
    
  
  
  getLabelBytes()
  
    public ByteString getLabelBytes()
   
   Specifies a label for this VisitRequest. This label is reported in the
 response as visit_label in the corresponding ShipmentRoute.Visit.
 string label = 11;
 
  Returns
  
  
  getLoadDemands()
  
    public Map<String,Shipment.Load> getLoadDemands()
   
  
  Returns
  
  
  getLoadDemandsCount()
  
    public int getLoadDemandsCount()
   
   Load demands of this visit request. This is just like
 Shipment.load_demands field, except that it only applies to this
 VisitRequest instead of the whole Shipment.
 The demands listed here are added to the demands listed in
 Shipment.load_demands.
 map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 12;
 
 
  Returns
  
  
  getLoadDemandsMap()
  
    public Map<String,Shipment.Load> getLoadDemandsMap()
   
   Load demands of this visit request. This is just like
 Shipment.load_demands field, except that it only applies to this
 VisitRequest instead of the whole Shipment.
 The demands listed here are added to the demands listed in
 Shipment.load_demands.
 map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 12;
 
 
  Returns
  
  
  getLoadDemandsOrDefault(String key, Shipment.Load defaultValue)
  
    public Shipment.Load getLoadDemandsOrDefault(String key, Shipment.Load defaultValue)
   
   Load demands of this visit request. This is just like
 Shipment.load_demands field, except that it only applies to this
 VisitRequest instead of the whole Shipment.
 The demands listed here are added to the demands listed in
 Shipment.load_demands.
 map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 12;
 
 
  Parameters
  
  Returns
  
  
  getLoadDemandsOrThrow(String key)
  
    public Shipment.Load getLoadDemandsOrThrow(String key)
   
   Load demands of this visit request. This is just like
 Shipment.load_demands field, except that it only applies to this
 VisitRequest instead of the whole Shipment.
 The demands listed here are added to the demands listed in
 Shipment.load_demands.
 map<string, .google.cloud.optimization.v1.Shipment.Load> load_demands = 12;
 
 
  Parameter
  
  Returns
  
  
  getParserForType()
  
    public Parser<Shipment.VisitRequest> getParserForType()
   
  Returns
  
  Overrides
  
  
  getSerializedSize()
  
    public int getSerializedSize()
   
  Returns
  
  Overrides
  
  
  
  
    public String getTags(int index)
   
   Specifies tags attached to the visit request.
 Empty or duplicate strings are not allowed.
 repeated string tags = 5;
 
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | index | 
        int
 The index of the element to return. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | String | 
        The tags at the given index. 
 | 
      
    
  
  
  
  
    public ByteString getTagsBytes(int index)
   
   Specifies tags attached to the visit request.
 Empty or duplicate strings are not allowed.
 repeated string tags = 5;
 
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | index | 
        int
 The index of the value to return. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | ByteString | 
        The bytes of the tags at the given index. 
 | 
      
    
  
  
  
  
    public int getTagsCount()
   
   Specifies tags attached to the visit request.
 Empty or duplicate strings are not allowed.
 repeated string tags = 5;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | int | 
        The count of tags. 
 | 
      
    
  
  
  
  
    public ProtocolStringList getTagsList()
   
   Specifies tags attached to the visit request.
 Empty or duplicate strings are not allowed.
 repeated string tags = 5;
 
  Returns
  
  
  getTimeWindows(int index)
  
    public TimeWindow getTimeWindows(int index)
   
   Time windows which constrain the arrival time at a visit.
 Note that a vehicle may depart outside of the arrival time window, i.e.
 arrival time + duration do not need to be inside a time window. This can
 result in waiting time if the vehicle arrives before
 TimeWindow.start_time.
 The absence of TimeWindow means that the vehicle can perform this visit
 at any time.
 Time windows must be disjoint, i.e. no time window must overlap with or
 be adjacent to another, and they must be in increasing order.
 cost_per_hour_after_soft_end_time and soft_end_time can only
 be set if there is a single time window.
 repeated .google.cloud.optimization.v1.TimeWindow time_windows = 6;
 
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | index | 
        int
  | 
      
    
  
  Returns
  
  
  getTimeWindowsCount()
  
    public int getTimeWindowsCount()
   
   Time windows which constrain the arrival time at a visit.
 Note that a vehicle may depart outside of the arrival time window, i.e.
 arrival time + duration do not need to be inside a time window. This can
 result in waiting time if the vehicle arrives before
 TimeWindow.start_time.
 The absence of TimeWindow means that the vehicle can perform this visit
 at any time.
 Time windows must be disjoint, i.e. no time window must overlap with or
 be adjacent to another, and they must be in increasing order.
 cost_per_hour_after_soft_end_time and soft_end_time can only
 be set if there is a single time window.
 repeated .google.cloud.optimization.v1.TimeWindow time_windows = 6;
 
  Returns
  
  
  getTimeWindowsList()
  
    public List<TimeWindow> getTimeWindowsList()
   
   Time windows which constrain the arrival time at a visit.
 Note that a vehicle may depart outside of the arrival time window, i.e.
 arrival time + duration do not need to be inside a time window. This can
 result in waiting time if the vehicle arrives before
 TimeWindow.start_time.
 The absence of TimeWindow means that the vehicle can perform this visit
 at any time.
 Time windows must be disjoint, i.e. no time window must overlap with or
 be adjacent to another, and they must be in increasing order.
 cost_per_hour_after_soft_end_time and soft_end_time can only
 be set if there is a single time window.
 repeated .google.cloud.optimization.v1.TimeWindow time_windows = 6;
 
  Returns
  
  
  getTimeWindowsOrBuilder(int index)
  
    public TimeWindowOrBuilder getTimeWindowsOrBuilder(int index)
   
   Time windows which constrain the arrival time at a visit.
 Note that a vehicle may depart outside of the arrival time window, i.e.
 arrival time + duration do not need to be inside a time window. This can
 result in waiting time if the vehicle arrives before
 TimeWindow.start_time.
 The absence of TimeWindow means that the vehicle can perform this visit
 at any time.
 Time windows must be disjoint, i.e. no time window must overlap with or
 be adjacent to another, and they must be in increasing order.
 cost_per_hour_after_soft_end_time and soft_end_time can only
 be set if there is a single time window.
 repeated .google.cloud.optimization.v1.TimeWindow time_windows = 6;
 
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | index | 
        int
  | 
      
    
  
  Returns
  
  
  getTimeWindowsOrBuilderList()
  
    public List<? extends TimeWindowOrBuilder> getTimeWindowsOrBuilderList()
   
   Time windows which constrain the arrival time at a visit.
 Note that a vehicle may depart outside of the arrival time window, i.e.
 arrival time + duration do not need to be inside a time window. This can
 result in waiting time if the vehicle arrives before
 TimeWindow.start_time.
 The absence of TimeWindow means that the vehicle can perform this visit
 at any time.
 Time windows must be disjoint, i.e. no time window must overlap with or
 be adjacent to another, and they must be in increasing order.
 cost_per_hour_after_soft_end_time and soft_end_time can only
 be set if there is a single time window.
 repeated .google.cloud.optimization.v1.TimeWindow time_windows = 6;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | List<? extends com.google.cloud.optimization.v1.TimeWindowOrBuilder> | 
         | 
      
    
  
  
  getUnknownFields()
  
    public final UnknownFieldSet getUnknownFields()
   
  Returns
  
  Overrides
  
  
  getVisitTypes(int index)
  
    public String getVisitTypes(int index)
   
   Specifies the types of the visit. This may be used to allocate additional
 time required for a vehicle to complete this visit (see
 Vehicle.extra_visit_duration_for_visit_type).
 A type can only appear once.
 repeated string visit_types = 10;
 
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | index | 
        int
 The index of the element to return. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | String | 
        The visitTypes at the given index. 
 | 
      
    
  
  
  getVisitTypesBytes(int index)
  
    public ByteString getVisitTypesBytes(int index)
   
   Specifies the types of the visit. This may be used to allocate additional
 time required for a vehicle to complete this visit (see
 Vehicle.extra_visit_duration_for_visit_type).
 A type can only appear once.
 repeated string visit_types = 10;
 
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | index | 
        int
 The index of the value to return. 
 | 
      
    
  
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | ByteString | 
        The bytes of the visitTypes at the given index. 
 | 
      
    
  
  
  getVisitTypesCount()
  
    public int getVisitTypesCount()
   
   Specifies the types of the visit. This may be used to allocate additional
 time required for a vehicle to complete this visit (see
 Vehicle.extra_visit_duration_for_visit_type).
 A type can only appear once.
 repeated string visit_types = 10;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | int | 
        The count of visitTypes. 
 | 
      
    
  
  
  getVisitTypesList()
  
    public ProtocolStringList getVisitTypesList()
   
   Specifies the types of the visit. This may be used to allocate additional
 time required for a vehicle to complete this visit (see
 Vehicle.extra_visit_duration_for_visit_type).
 A type can only appear once.
 repeated string visit_types = 10;
 
  Returns
  
  
  hasArrivalLocation()
  
    public boolean hasArrivalLocation()
   
   The geo-location where the vehicle arrives when performing this
 VisitRequest. If the shipment model has duration distance matrices,
 arrival_location must not be specified.
 .google.type.LatLng arrival_location = 1;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | boolean | 
        Whether the arrivalLocation field is set. 
 | 
      
    
  
  
  hasArrivalWaypoint()
  
    public boolean hasArrivalWaypoint()
   
   The waypoint where the vehicle arrives when performing this
 VisitRequest. If the shipment model has duration distance matrices,
 arrival_waypoint must not be specified.
 .google.cloud.optimization.v1.Waypoint arrival_waypoint = 2;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | boolean | 
        Whether the arrivalWaypoint field is set. 
 | 
      
    
  
  
  hasDepartureLocation()
  
    public boolean hasDepartureLocation()
   
   The geo-location where the vehicle departs after completing this
 VisitRequest. Can be omitted if it is the same as arrival_location.
 If the shipment model has duration distance matrices,
 departure_location must not be specified.
 .google.type.LatLng departure_location = 3;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | boolean | 
        Whether the departureLocation field is set. 
 | 
      
    
  
  
  hasDepartureWaypoint()
  
    public boolean hasDepartureWaypoint()
   
   The waypoint where the vehicle departs after completing this
 VisitRequest. Can be omitted if it is the same as arrival_waypoint.
 If the shipment model has duration distance matrices,
 departure_waypoint must not be specified.
 .google.cloud.optimization.v1.Waypoint departure_waypoint = 4;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | boolean | 
        Whether the departureWaypoint field is set. 
 | 
      
    
  
  
  hasDuration()
  
    public boolean hasDuration()
   
   Duration of the visit, i.e. time spent by the vehicle between arrival
 and departure (to be added to the possible waiting time; see
 time_windows).
 .google.protobuf.Duration duration = 7;
 
  Returns
  
    
      
        | Type | 
        Description | 
      
      
        | boolean | 
        Whether the duration field is set. 
 | 
      
    
  
  
  hashCode()
  
  Returns
  
  Overrides
  
  
  internalGetFieldAccessorTable()
  
    protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
   
  Returns
  
  Overrides
  
  
  internalGetMapField(int number)
  
    protected MapField internalGetMapField(int number)
   
  Parameter
  
    
      
        | Name | 
        Description | 
      
      
        | number | 
        int
  | 
      
    
  
  Returns
  
  Overrides
  
  
  isInitialized()
  
    public final boolean isInitialized()
   
  Returns
  
  Overrides
  
  
  newBuilderForType()
  
    public Shipment.VisitRequest.Builder newBuilderForType()
   
  Returns
  
  
  newBuilderForType(GeneratedMessageV3.BuilderParent parent)
  
    protected Shipment.VisitRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
  
    protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
   
  Parameter
  
  Returns
  
  Overrides
  
  
  toBuilder()
  
    public Shipment.VisitRequest.Builder toBuilder()
   
  Returns
  
  
  writeTo(CodedOutputStream output)
  
    public void writeTo(CodedOutputStream output)
   
  Parameter
  
  Overrides
  
  Exceptions