freightv1

package
v0.27.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-aip-cli. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_einride_example_freight_v1_freight_service_proto protoreflect.FileDescriptor
View Source
var File_einride_example_freight_v1_shipment_proto protoreflect.FileDescriptor
View Source
var File_einride_example_freight_v1_shipper_proto protoreflect.FileDescriptor
View Source
var File_einride_example_freight_v1_site_proto protoreflect.FileDescriptor

Functions

func NewFreightServiceCommand

func NewFreightServiceCommand(config aipcli.Config) *cobra.Command

Types

type BatchGetSitesRequest

type BatchGetSitesRequest struct {

	// The parent resource shared by all sites being retrieved.
	// If this is set, the parent of all of the sites specified in `names`
	// must match this field.
	// Format: `shippers/{shipper}`
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The names of the sites to retrieve.
	// A maximum of 1000 sites can be retrieved in a batch.
	// Format: `shippers/{shipper}/sites/{site}`
	Names []string `protobuf:"bytes,2,rep,name=names,proto3" json:"names,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.BatchGetSites.

func (*BatchGetSitesRequest) Descriptor deprecated

func (*BatchGetSitesRequest) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetSitesRequest.ProtoReflect.Descriptor instead.

func (*BatchGetSitesRequest) GetNames

func (x *BatchGetSitesRequest) GetNames() []string

func (*BatchGetSitesRequest) GetParent

func (x *BatchGetSitesRequest) GetParent() string

func (*BatchGetSitesRequest) ProtoMessage

func (*BatchGetSitesRequest) ProtoMessage()

func (*BatchGetSitesRequest) ProtoReflect

func (x *BatchGetSitesRequest) ProtoReflect() protoreflect.Message

func (*BatchGetSitesRequest) Reset

func (x *BatchGetSitesRequest) Reset()

func (*BatchGetSitesRequest) String

func (x *BatchGetSitesRequest) String() string

type BatchGetSitesResponse

type BatchGetSitesResponse struct {

	// Sites requested.
	Sites []*Site `protobuf:"bytes,1,rep,name=sites,proto3" json:"sites,omitempty"`
	// contains filtered or unexported fields
}

Response message for FreightService.BatchGetSites.

func (*BatchGetSitesResponse) Descriptor deprecated

func (*BatchGetSitesResponse) Descriptor() ([]byte, []int)

Deprecated: Use BatchGetSitesResponse.ProtoReflect.Descriptor instead.

func (*BatchGetSitesResponse) GetSites

func (x *BatchGetSitesResponse) GetSites() []*Site

func (*BatchGetSitesResponse) ProtoMessage

func (*BatchGetSitesResponse) ProtoMessage()

func (*BatchGetSitesResponse) ProtoReflect

func (x *BatchGetSitesResponse) ProtoReflect() protoreflect.Message

func (*BatchGetSitesResponse) Reset

func (x *BatchGetSitesResponse) Reset()

func (*BatchGetSitesResponse) String

func (x *BatchGetSitesResponse) String() string

type CreateShipmentRequest

type CreateShipmentRequest struct {

	// The resource name of the parent shipper for which this shipment will be created.
	// Format: shippers/{shipper}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The shipment to create.
	Shipment *Shipment `protobuf:"bytes,2,opt,name=shipment,proto3" json:"shipment,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.CreateShipment.

func (*CreateShipmentRequest) Descriptor deprecated

func (*CreateShipmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateShipmentRequest.ProtoReflect.Descriptor instead.

func (*CreateShipmentRequest) GetParent

func (x *CreateShipmentRequest) GetParent() string

func (*CreateShipmentRequest) GetShipment

func (x *CreateShipmentRequest) GetShipment() *Shipment

func (*CreateShipmentRequest) ProtoMessage

func (*CreateShipmentRequest) ProtoMessage()

func (*CreateShipmentRequest) ProtoReflect

func (x *CreateShipmentRequest) ProtoReflect() protoreflect.Message

func (*CreateShipmentRequest) Reset

func (x *CreateShipmentRequest) Reset()

func (*CreateShipmentRequest) String

func (x *CreateShipmentRequest) String() string

type CreateShipperRequest

type CreateShipperRequest struct {

	// The shipper to create.
	Shipper *Shipper `protobuf:"bytes,1,opt,name=shipper,proto3" json:"shipper,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.CreateShipper.

func (*CreateShipperRequest) Descriptor deprecated

func (*CreateShipperRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateShipperRequest.ProtoReflect.Descriptor instead.

func (*CreateShipperRequest) GetShipper

func (x *CreateShipperRequest) GetShipper() *Shipper

func (*CreateShipperRequest) ProtoMessage

func (*CreateShipperRequest) ProtoMessage()

func (*CreateShipperRequest) ProtoReflect

func (x *CreateShipperRequest) ProtoReflect() protoreflect.Message

func (*CreateShipperRequest) Reset

func (x *CreateShipperRequest) Reset()

func (*CreateShipperRequest) String

func (x *CreateShipperRequest) String() string

type CreateSiteRequest

type CreateSiteRequest struct {

	// The resource name of the parent shipper for which this site will be created.
	// Format: shippers/{shipper}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// The site to create.
	Site *Site `protobuf:"bytes,2,opt,name=site,proto3" json:"site,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.CreateSite.

func (*CreateSiteRequest) Descriptor deprecated

func (*CreateSiteRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSiteRequest.ProtoReflect.Descriptor instead.

func (*CreateSiteRequest) GetParent

func (x *CreateSiteRequest) GetParent() string

func (*CreateSiteRequest) GetSite

func (x *CreateSiteRequest) GetSite() *Site

func (*CreateSiteRequest) ProtoMessage

func (*CreateSiteRequest) ProtoMessage()

func (*CreateSiteRequest) ProtoReflect

func (x *CreateSiteRequest) ProtoReflect() protoreflect.Message

func (*CreateSiteRequest) Reset

func (x *CreateSiteRequest) Reset()

func (*CreateSiteRequest) String

func (x *CreateSiteRequest) String() string

type DeleteShipmentRequest

type DeleteShipmentRequest struct {

	// The resource name of the shipment to delete.
	// Format: shippers/{shipper}/shipments/{shipment}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.DeleteShipment.

func (*DeleteShipmentRequest) Descriptor deprecated

func (*DeleteShipmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteShipmentRequest.ProtoReflect.Descriptor instead.

func (*DeleteShipmentRequest) GetName

func (x *DeleteShipmentRequest) GetName() string

func (*DeleteShipmentRequest) ProtoMessage

func (*DeleteShipmentRequest) ProtoMessage()

func (*DeleteShipmentRequest) ProtoReflect

func (x *DeleteShipmentRequest) ProtoReflect() protoreflect.Message

func (*DeleteShipmentRequest) Reset

func (x *DeleteShipmentRequest) Reset()

func (*DeleteShipmentRequest) String

func (x *DeleteShipmentRequest) String() string

type DeleteShipperRequest

type DeleteShipperRequest struct {

	// The resource name of the shipper to delete.
	// Format: shippers/{shipper}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.DeleteShipper.

func (*DeleteShipperRequest) Descriptor deprecated

func (*DeleteShipperRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteShipperRequest.ProtoReflect.Descriptor instead.

func (*DeleteShipperRequest) GetName

func (x *DeleteShipperRequest) GetName() string

func (*DeleteShipperRequest) ProtoMessage

func (*DeleteShipperRequest) ProtoMessage()

func (*DeleteShipperRequest) ProtoReflect

func (x *DeleteShipperRequest) ProtoReflect() protoreflect.Message

func (*DeleteShipperRequest) Reset

func (x *DeleteShipperRequest) Reset()

func (*DeleteShipperRequest) String

func (x *DeleteShipperRequest) String() string

type DeleteSiteRequest

type DeleteSiteRequest struct {

	// The resource name of the site to delete.
	// Format: shippers/{shipper}/sites/{site}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.DeleteSite.

func (*DeleteSiteRequest) Descriptor deprecated

func (*DeleteSiteRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSiteRequest.ProtoReflect.Descriptor instead.

func (*DeleteSiteRequest) GetName

func (x *DeleteSiteRequest) GetName() string

func (*DeleteSiteRequest) ProtoMessage

func (*DeleteSiteRequest) ProtoMessage()

func (*DeleteSiteRequest) ProtoReflect

func (x *DeleteSiteRequest) ProtoReflect() protoreflect.Message

func (*DeleteSiteRequest) Reset

func (x *DeleteSiteRequest) Reset()

func (*DeleteSiteRequest) String

func (x *DeleteSiteRequest) String() string

type GetShipmentRequest

type GetShipmentRequest struct {

	// The resource name of the shipment to retrieve.
	// Format: shippers/{shipper}/shipments/{shipment}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.GetShipment.

func (*GetShipmentRequest) Descriptor deprecated

func (*GetShipmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetShipmentRequest.ProtoReflect.Descriptor instead.

func (*GetShipmentRequest) GetName

func (x *GetShipmentRequest) GetName() string

func (*GetShipmentRequest) ProtoMessage

func (*GetShipmentRequest) ProtoMessage()

func (*GetShipmentRequest) ProtoReflect

func (x *GetShipmentRequest) ProtoReflect() protoreflect.Message

func (*GetShipmentRequest) Reset

func (x *GetShipmentRequest) Reset()

func (*GetShipmentRequest) String

func (x *GetShipmentRequest) String() string

type GetShipperRequest

type GetShipperRequest struct {

	// The resource name of the shipper to retrieve.
	// Format: shippers/{shipper}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.GetShipper.

func (*GetShipperRequest) Descriptor deprecated

func (*GetShipperRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetShipperRequest.ProtoReflect.Descriptor instead.

func (*GetShipperRequest) GetName

func (x *GetShipperRequest) GetName() string

func (*GetShipperRequest) ProtoMessage

func (*GetShipperRequest) ProtoMessage()

func (*GetShipperRequest) ProtoReflect

func (x *GetShipperRequest) ProtoReflect() protoreflect.Message

func (*GetShipperRequest) Reset

func (x *GetShipperRequest) Reset()

func (*GetShipperRequest) String

func (x *GetShipperRequest) String() string

type GetSiteRequest

type GetSiteRequest struct {

	// The resource name of the site to retrieve.
	// Format: shippers/{shipper}/sites/{site}
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.GetSite.

func (*GetSiteRequest) Descriptor deprecated

func (*GetSiteRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSiteRequest.ProtoReflect.Descriptor instead.

func (*GetSiteRequest) GetName

func (x *GetSiteRequest) GetName() string

func (*GetSiteRequest) ProtoMessage

func (*GetSiteRequest) ProtoMessage()

func (*GetSiteRequest) ProtoReflect

func (x *GetSiteRequest) ProtoReflect() protoreflect.Message

func (*GetSiteRequest) Reset

func (x *GetSiteRequest) Reset()

func (*GetSiteRequest) String

func (x *GetSiteRequest) String() string

type LineItem

type LineItem struct {

	// The title of the line item.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// The quantity of the line item.
	Quantity float32 `protobuf:"fixed32,2,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// The weight of the line item in kilograms.
	WeightKg float32 `protobuf:"fixed32,3,opt,name=weight_kg,json=weightKg,proto3" json:"weight_kg,omitempty"`
	// The volume of the line item in cubic meters.
	VolumeM3 float32 `protobuf:"fixed32,4,opt,name=volume_m3,json=volumeM3,proto3" json:"volume_m3,omitempty"`
	// contains filtered or unexported fields
}

A shipment line item.

func (*LineItem) Descriptor deprecated

func (*LineItem) Descriptor() ([]byte, []int)

Deprecated: Use LineItem.ProtoReflect.Descriptor instead.

func (*LineItem) GetQuantity

func (x *LineItem) GetQuantity() float32

func (*LineItem) GetTitle

func (x *LineItem) GetTitle() string

func (*LineItem) GetVolumeM3

func (x *LineItem) GetVolumeM3() float32

func (*LineItem) GetWeightKg

func (x *LineItem) GetWeightKg() float32

func (*LineItem) ProtoMessage

func (*LineItem) ProtoMessage()

func (*LineItem) ProtoReflect

func (x *LineItem) ProtoReflect() protoreflect.Message

func (*LineItem) Reset

func (x *LineItem) Reset()

func (*LineItem) String

func (x *LineItem) String() string

type ListShipmentsRequest

type ListShipmentsRequest struct {

	// The resource name of the parent, which owns this collection of shipments.
	// Format: shippers/{shipper}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer shipments than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// [ListShipmentsResponse.next_page_token][einride.example.freight.v1.ListShipmentsResponse.next_page_token]
	// returned from the previous call to `ListShipments` method.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.ListShipments.

func (*ListShipmentsRequest) Descriptor deprecated

func (*ListShipmentsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListShipmentsRequest.ProtoReflect.Descriptor instead.

func (*ListShipmentsRequest) GetPageSize

func (x *ListShipmentsRequest) GetPageSize() int32

func (*ListShipmentsRequest) GetPageToken

func (x *ListShipmentsRequest) GetPageToken() string

func (*ListShipmentsRequest) GetParent

func (x *ListShipmentsRequest) GetParent() string

func (*ListShipmentsRequest) ProtoMessage

func (*ListShipmentsRequest) ProtoMessage()

func (*ListShipmentsRequest) ProtoReflect

func (x *ListShipmentsRequest) ProtoReflect() protoreflect.Message

func (*ListShipmentsRequest) Reset

func (x *ListShipmentsRequest) Reset()

func (*ListShipmentsRequest) String

func (x *ListShipmentsRequest) String() string

type ListShipmentsResponse

type ListShipmentsResponse struct {

	// The list of shipments.
	Shipments []*Shipment `protobuf:"bytes,1,rep,name=shipments,proto3" json:"shipments,omitempty"`
	// A token to retrieve next page of results.  Pass this value in the
	// [ListShipmentsRequest.page_token][einride.example.freight.v1.ListShipmentsRequest.page_token]
	// field in the subsequent call to `ListShipments` method to retrieve the next
	// page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for FreightService.ListShipments.

func (*ListShipmentsResponse) Descriptor deprecated

func (*ListShipmentsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListShipmentsResponse.ProtoReflect.Descriptor instead.

func (*ListShipmentsResponse) GetNextPageToken

func (x *ListShipmentsResponse) GetNextPageToken() string

func (*ListShipmentsResponse) GetShipments

func (x *ListShipmentsResponse) GetShipments() []*Shipment

func (*ListShipmentsResponse) ProtoMessage

func (*ListShipmentsResponse) ProtoMessage()

func (*ListShipmentsResponse) ProtoReflect

func (x *ListShipmentsResponse) ProtoReflect() protoreflect.Message

func (*ListShipmentsResponse) Reset

func (x *ListShipmentsResponse) Reset()

func (*ListShipmentsResponse) String

func (x *ListShipmentsResponse) String() string

type ListShippersRequest

type ListShippersRequest struct {

	// Requested page size. Server may return fewer shippers than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// [ListShippersResponse.next_page_token][einride.example.freight.v1.ListShippersResponse.next_page_token]
	// returned from the previous call to `ListShippers` method.
	PageToken string `protobuf:"bytes,2,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.ListShippers.

func (*ListShippersRequest) Descriptor deprecated

func (*ListShippersRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListShippersRequest.ProtoReflect.Descriptor instead.

func (*ListShippersRequest) GetPageSize

func (x *ListShippersRequest) GetPageSize() int32

func (*ListShippersRequest) GetPageToken

func (x *ListShippersRequest) GetPageToken() string

func (*ListShippersRequest) ProtoMessage

func (*ListShippersRequest) ProtoMessage()

func (*ListShippersRequest) ProtoReflect

func (x *ListShippersRequest) ProtoReflect() protoreflect.Message

func (*ListShippersRequest) Reset

func (x *ListShippersRequest) Reset()

func (*ListShippersRequest) String

func (x *ListShippersRequest) String() string

type ListShippersResponse

type ListShippersResponse struct {

	// The list of shippers.
	Shippers []*Shipper `protobuf:"bytes,1,rep,name=shippers,proto3" json:"shippers,omitempty"`
	// A token to retrieve next page of results.  Pass this value in the
	// [ListShippersRequest.page_token][einride.example.freight.v1.ListShippersRequest.page_token]
	// field in the subsequent call to `ListShippers` method to retrieve the next
	// page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for FreightService.ListShippers.

func (*ListShippersResponse) Descriptor deprecated

func (*ListShippersResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListShippersResponse.ProtoReflect.Descriptor instead.

func (*ListShippersResponse) GetNextPageToken

func (x *ListShippersResponse) GetNextPageToken() string

func (*ListShippersResponse) GetShippers

func (x *ListShippersResponse) GetShippers() []*Shipper

func (*ListShippersResponse) ProtoMessage

func (*ListShippersResponse) ProtoMessage()

func (*ListShippersResponse) ProtoReflect

func (x *ListShippersResponse) ProtoReflect() protoreflect.Message

func (*ListShippersResponse) Reset

func (x *ListShippersResponse) Reset()

func (*ListShippersResponse) String

func (x *ListShippersResponse) String() string

type ListSitesRequest

type ListSitesRequest struct {

	// The resource name of the parent, which owns this collection of sites.
	// Format: shippers/{shipper}
	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
	// Requested page size. Server may return fewer sites than requested.
	// If unspecified, server will pick an appropriate default.
	PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// A token identifying a page of results the server should return.
	// Typically, this is the value of
	// [ListSitesResponse.next_page_token][einride.example.freight.v1.ListSitesResponse.next_page_token]
	// returned from the previous call to `ListSites` method.
	PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// Number of resource to skip in the request.
	//   - A request with no page token and a skip value of 30 returns a single
	//     page of results starting with the 31st result.
	//   - A request with a page token corresponding to the 51st result (because the
	//     first 50 results were returned on the first page) and a skip value of 30
	//     returns a single page of results starting with the 81st result.
	Skip int32 `protobuf:"varint,4,opt,name=skip,proto3" json:"skip,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.ListSites.

func (*ListSitesRequest) Descriptor deprecated

func (*ListSitesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSitesRequest.ProtoReflect.Descriptor instead.

func (*ListSitesRequest) GetPageSize

func (x *ListSitesRequest) GetPageSize() int32

func (*ListSitesRequest) GetPageToken

func (x *ListSitesRequest) GetPageToken() string

func (*ListSitesRequest) GetParent

func (x *ListSitesRequest) GetParent() string

func (*ListSitesRequest) GetSkip added in v0.12.0

func (x *ListSitesRequest) GetSkip() int32

func (*ListSitesRequest) ProtoMessage

func (*ListSitesRequest) ProtoMessage()

func (*ListSitesRequest) ProtoReflect

func (x *ListSitesRequest) ProtoReflect() protoreflect.Message

func (*ListSitesRequest) Reset

func (x *ListSitesRequest) Reset()

func (*ListSitesRequest) String

func (x *ListSitesRequest) String() string

type ListSitesResponse

type ListSitesResponse struct {

	// The list of sites.
	Sites []*Site `protobuf:"bytes,1,rep,name=sites,proto3" json:"sites,omitempty"`
	// A token to retrieve next page of results.  Pass this value in the
	// [ListSitesRequest.page_token][einride.example.freight.v1.ListSitesRequest.page_token]
	// field in the subsequent call to `ListSites` method to retrieve the next
	// page of results.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

Response message for FreightService.ListSites.

func (*ListSitesResponse) Descriptor deprecated

func (*ListSitesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSitesResponse.ProtoReflect.Descriptor instead.

func (*ListSitesResponse) GetNextPageToken

func (x *ListSitesResponse) GetNextPageToken() string

func (*ListSitesResponse) GetSites

func (x *ListSitesResponse) GetSites() []*Site

func (*ListSitesResponse) ProtoMessage

func (*ListSitesResponse) ProtoMessage()

func (*ListSitesResponse) ProtoReflect

func (x *ListSitesResponse) ProtoReflect() protoreflect.Message

func (*ListSitesResponse) Reset

func (x *ListSitesResponse) Reset()

func (*ListSitesResponse) String

func (x *ListSitesResponse) String() string

type Shipment

type Shipment struct {

	// The resource name of the shipment.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The creation timestamp of the shipment.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last update timestamp of the shipment.
	//
	// Updated when create/update/delete operation is shipment.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The deletion timestamp of the shipment.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// The resource name of the origin site of the shipment.
	// Format: shippers/{shipper}/sites/{site}
	OriginSite string `protobuf:"bytes,5,opt,name=origin_site,json=originSite,proto3" json:"origin_site,omitempty"`
	// The resource name of the destination site of the shipment.
	// Format: shippers/{shipper}/sites/{site}
	DestinationSite string `protobuf:"bytes,6,opt,name=destination_site,json=destinationSite,proto3" json:"destination_site,omitempty"`
	// The earliest pickup time of the shipment at the origin site.
	PickupEarliestTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=pickup_earliest_time,json=pickupEarliestTime,proto3" json:"pickup_earliest_time,omitempty"`
	// The latest pickup time of the shipment at the origin site.
	PickupLatestTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=pickup_latest_time,json=pickupLatestTime,proto3" json:"pickup_latest_time,omitempty"`
	// The earliest delivery time of the shipment at the destination site.
	DeliveryEarliestTime *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=delivery_earliest_time,json=deliveryEarliestTime,proto3" json:"delivery_earliest_time,omitempty"`
	// The latest delivery time of the shipment at the destination site.
	DeliveryLatestTime *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=delivery_latest_time,json=deliveryLatestTime,proto3" json:"delivery_latest_time,omitempty"`
	// The line items of the shipment.
	LineItems []*LineItem `protobuf:"bytes,11,rep,name=line_items,json=lineItems,proto3" json:"line_items,omitempty"`
	// Annotations of the shipment.
	Annotations map[string]string `` /* 164-byte string literal not displayed */
	// contains filtered or unexported fields
}

A shipment represents transportation of goods between an origin [site][einride.example.freight.v1.Site] and a destination [site][einride.example.freight.v1.Site].

func (*Shipment) Descriptor deprecated

func (*Shipment) Descriptor() ([]byte, []int)

Deprecated: Use Shipment.ProtoReflect.Descriptor instead.

func (*Shipment) GetAnnotations

func (x *Shipment) GetAnnotations() map[string]string

func (*Shipment) GetCreateTime

func (x *Shipment) GetCreateTime() *timestamppb.Timestamp

func (*Shipment) GetDeleteTime

func (x *Shipment) GetDeleteTime() *timestamppb.Timestamp

func (*Shipment) GetDeliveryEarliestTime

func (x *Shipment) GetDeliveryEarliestTime() *timestamppb.Timestamp

func (*Shipment) GetDeliveryLatestTime

func (x *Shipment) GetDeliveryLatestTime() *timestamppb.Timestamp

func (*Shipment) GetDestinationSite

func (x *Shipment) GetDestinationSite() string

func (*Shipment) GetLineItems

func (x *Shipment) GetLineItems() []*LineItem

func (*Shipment) GetName

func (x *Shipment) GetName() string

func (*Shipment) GetOriginSite

func (x *Shipment) GetOriginSite() string

func (*Shipment) GetPickupEarliestTime

func (x *Shipment) GetPickupEarliestTime() *timestamppb.Timestamp

func (*Shipment) GetPickupLatestTime

func (x *Shipment) GetPickupLatestTime() *timestamppb.Timestamp

func (*Shipment) GetUpdateTime

func (x *Shipment) GetUpdateTime() *timestamppb.Timestamp

func (*Shipment) ProtoMessage

func (*Shipment) ProtoMessage()

func (*Shipment) ProtoReflect

func (x *Shipment) ProtoReflect() protoreflect.Message

func (*Shipment) Reset

func (x *Shipment) Reset()

func (*Shipment) String

func (x *Shipment) String() string

type Shipper

type Shipper struct {

	// The resource name of the shipper.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The creation timestamp of the shipper.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last update timestamp of the shipper.
	//
	// Updated when create/update/delete operation is performed.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The deletion timestamp of the shipper.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// The display name of the shipper.
	DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

A shipper is a supplier or owner of goods to be transported.

func (*Shipper) Descriptor deprecated

func (*Shipper) Descriptor() ([]byte, []int)

Deprecated: Use Shipper.ProtoReflect.Descriptor instead.

func (*Shipper) GetCreateTime

func (x *Shipper) GetCreateTime() *timestamppb.Timestamp

func (*Shipper) GetDeleteTime

func (x *Shipper) GetDeleteTime() *timestamppb.Timestamp

func (*Shipper) GetDisplayName

func (x *Shipper) GetDisplayName() string

func (*Shipper) GetName

func (x *Shipper) GetName() string

func (*Shipper) GetUpdateTime

func (x *Shipper) GetUpdateTime() *timestamppb.Timestamp

func (*Shipper) ProtoMessage

func (*Shipper) ProtoMessage()

func (*Shipper) ProtoReflect

func (x *Shipper) ProtoReflect() protoreflect.Message

func (*Shipper) Reset

func (x *Shipper) Reset()

func (*Shipper) String

func (x *Shipper) String() string

type Site

type Site struct {

	// The resource name of the site.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// The creation timestamp of the site.
	CreateTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
	// The last update timestamp of the site.
	//
	// Updated when create/update/delete operation is performed.
	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
	// The deletion timestamp of the site.
	DeleteTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=delete_time,json=deleteTime,proto3" json:"delete_time,omitempty"`
	// The display name of the site.
	DisplayName string `protobuf:"bytes,5,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// The geographic location of the site.
	LatLng *latlng.LatLng `protobuf:"bytes,6,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"`
	// contains filtered or unexported fields
}

A site is a node in a [shipper][einride.example.freight.v1.Shipper]'s transport network.

func (*Site) Descriptor deprecated

func (*Site) Descriptor() ([]byte, []int)

Deprecated: Use Site.ProtoReflect.Descriptor instead.

func (*Site) GetCreateTime

func (x *Site) GetCreateTime() *timestamppb.Timestamp

func (*Site) GetDeleteTime

func (x *Site) GetDeleteTime() *timestamppb.Timestamp

func (*Site) GetDisplayName

func (x *Site) GetDisplayName() string

func (*Site) GetLatLng

func (x *Site) GetLatLng() *latlng.LatLng

func (*Site) GetName

func (x *Site) GetName() string

func (*Site) GetUpdateTime

func (x *Site) GetUpdateTime() *timestamppb.Timestamp

func (*Site) ProtoMessage

func (*Site) ProtoMessage()

func (*Site) ProtoReflect

func (x *Site) ProtoReflect() protoreflect.Message

func (*Site) Reset

func (x *Site) Reset()

func (*Site) String

func (x *Site) String() string

type UpdateShipmentRequest

type UpdateShipmentRequest struct {

	// The shipment to update with. The name must match or be empty.
	// The shipment's `name` field is used to identify the shipment to be updated.
	// Format: shippers/{shipper}/shipments/{shipment}
	Shipment *Shipment `protobuf:"bytes,1,opt,name=shipment,proto3" json:"shipment,omitempty"`
	// The list of fields to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.UpdateShipment.

func (*UpdateShipmentRequest) Descriptor deprecated

func (*UpdateShipmentRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateShipmentRequest.ProtoReflect.Descriptor instead.

func (*UpdateShipmentRequest) GetShipment

func (x *UpdateShipmentRequest) GetShipment() *Shipment

func (*UpdateShipmentRequest) GetUpdateMask

func (x *UpdateShipmentRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateShipmentRequest) ProtoMessage

func (*UpdateShipmentRequest) ProtoMessage()

func (*UpdateShipmentRequest) ProtoReflect

func (x *UpdateShipmentRequest) ProtoReflect() protoreflect.Message

func (*UpdateShipmentRequest) Reset

func (x *UpdateShipmentRequest) Reset()

func (*UpdateShipmentRequest) String

func (x *UpdateShipmentRequest) String() string

type UpdateShipperRequest

type UpdateShipperRequest struct {

	// The shipper to update with. The name must match or be empty.
	// The shipper's `name` field is used to identify the shipper to be updated.
	// Format: shippers/{shipper}
	Shipper *Shipper `protobuf:"bytes,1,opt,name=shipper,proto3" json:"shipper,omitempty"`
	// The list of fields to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.UpdateShipper.

func (*UpdateShipperRequest) Descriptor deprecated

func (*UpdateShipperRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateShipperRequest.ProtoReflect.Descriptor instead.

func (*UpdateShipperRequest) GetShipper

func (x *UpdateShipperRequest) GetShipper() *Shipper

func (*UpdateShipperRequest) GetUpdateMask

func (x *UpdateShipperRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateShipperRequest) ProtoMessage

func (*UpdateShipperRequest) ProtoMessage()

func (*UpdateShipperRequest) ProtoReflect

func (x *UpdateShipperRequest) ProtoReflect() protoreflect.Message

func (*UpdateShipperRequest) Reset

func (x *UpdateShipperRequest) Reset()

func (*UpdateShipperRequest) String

func (x *UpdateShipperRequest) String() string

type UpdateSiteRequest

type UpdateSiteRequest struct {

	// The site to update with. The name must match or be empty.
	// The site's `name` field is used to identify the site to be updated.
	// Format: shippers/{shipper}/sites/{site}
	Site *Site `protobuf:"bytes,1,opt,name=site,proto3" json:"site,omitempty"`
	// The list of fields to be updated.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

Request message for FreightService.UpdateSite.

func (*UpdateSiteRequest) Descriptor deprecated

func (*UpdateSiteRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateSiteRequest.ProtoReflect.Descriptor instead.

func (*UpdateSiteRequest) GetSite

func (x *UpdateSiteRequest) GetSite() *Site

func (*UpdateSiteRequest) GetUpdateMask

func (x *UpdateSiteRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateSiteRequest) ProtoMessage

func (*UpdateSiteRequest) ProtoMessage()

func (*UpdateSiteRequest) ProtoReflect

func (x *UpdateSiteRequest) ProtoReflect() protoreflect.Message

func (*UpdateSiteRequest) Reset

func (x *UpdateSiteRequest) Reset()

func (*UpdateSiteRequest) String

func (x *UpdateSiteRequest) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL