ServiceClass spesifikasyonu
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Proto Tanım
// Attributes characterizing the amenities and ride comfort of a journey on a
// vehicle.
message ServiceClass {
// A high level enum describing the service class type.
enum ServiceClassType {
// Global service classes
FIRST_CLASS = 1;
SECOND_CLASS = 2;
// Only a single service class is offered by the operator. The service class
// may not even have a name because there is no distinction to be made.
SINGLE_CLASS = 3;
BUSINESS_CLASS = 4;
// Additional global or per-market service classes can be added. Please
// reach out to the Google Transport team if additional service classes are
// needed for your use case.
// Japan specific train ticket classes
NON_RESERVED_SECOND_CLASS = 201;
RESERVED_SECOND_CLASS = 202;
RESERVED_GREEN_CAR_CLASS = 203;
RESERVED_GRAN_CLASS = 204;
// Brazil specific service classes.
CONVENCIONAL = 205;
EXECUTIVO = 206;
SEMILEITO = 207;
LEITO = 208;
CAMA = 209;
}
ServiceClassType type = 1;
}
JSON Örneği
{
"type": "FIRST_CLASS"
}
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-25 UTC."],[],[]]