com.google.maps.routing.v2.TransitLineOrBuilder Maven / Gradle / Ivy
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/maps/routing/v2/transit.proto
// Protobuf Java Version: 3.25.3
package com.google.maps.routing.v2;
public interface TransitLineOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.maps.routing.v2.TransitLine)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* The transit agency (or agencies) that operates this transit line.
*
*
* repeated .google.maps.routing.v2.TransitAgency agencies = 1;
*/
java.util.List getAgenciesList();
/**
*
*
*
* The transit agency (or agencies) that operates this transit line.
*
*
* repeated .google.maps.routing.v2.TransitAgency agencies = 1;
*/
com.google.maps.routing.v2.TransitAgency getAgencies(int index);
/**
*
*
*
* The transit agency (or agencies) that operates this transit line.
*
*
* repeated .google.maps.routing.v2.TransitAgency agencies = 1;
*/
int getAgenciesCount();
/**
*
*
*
* The transit agency (or agencies) that operates this transit line.
*
*
* repeated .google.maps.routing.v2.TransitAgency agencies = 1;
*/
java.util.List extends com.google.maps.routing.v2.TransitAgencyOrBuilder>
getAgenciesOrBuilderList();
/**
*
*
*
* The transit agency (or agencies) that operates this transit line.
*
*
* repeated .google.maps.routing.v2.TransitAgency agencies = 1;
*/
com.google.maps.routing.v2.TransitAgencyOrBuilder getAgenciesOrBuilder(int index);
/**
*
*
*
* The full name of this transit line, For example, "8 Avenue Local".
*
*
* string name = 2;
*
* @return The name.
*/
java.lang.String getName();
/**
*
*
*
* The full name of this transit line, For example, "8 Avenue Local".
*
*
* string name = 2;
*
* @return The bytes for name.
*/
com.google.protobuf.ByteString getNameBytes();
/**
*
*
*
* the URI for this transit line as provided by the transit agency.
*
*
* string uri = 3;
*
* @return The uri.
*/
java.lang.String getUri();
/**
*
*
*
* the URI for this transit line as provided by the transit agency.
*
*
* string uri = 3;
*
* @return The bytes for uri.
*/
com.google.protobuf.ByteString getUriBytes();
/**
*
*
*
* The color commonly used in signage for this line. Represented in
* hexadecimal.
*
*
* string color = 4;
*
* @return The color.
*/
java.lang.String getColor();
/**
*
*
*
* The color commonly used in signage for this line. Represented in
* hexadecimal.
*
*
* string color = 4;
*
* @return The bytes for color.
*/
com.google.protobuf.ByteString getColorBytes();
/**
*
*
*
* The URI for the icon associated with this line.
*
*
* string icon_uri = 5;
*
* @return The iconUri.
*/
java.lang.String getIconUri();
/**
*
*
*
* The URI for the icon associated with this line.
*
*
* string icon_uri = 5;
*
* @return The bytes for iconUri.
*/
com.google.protobuf.ByteString getIconUriBytes();
/**
*
*
*
* The short name of this transit line. This name will normally be a line
* number, such as "M7" or "355".
*
*
* string name_short = 6;
*
* @return The nameShort.
*/
java.lang.String getNameShort();
/**
*
*
*
* The short name of this transit line. This name will normally be a line
* number, such as "M7" or "355".
*
*
* string name_short = 6;
*
* @return The bytes for nameShort.
*/
com.google.protobuf.ByteString getNameShortBytes();
/**
*
*
*
* The color commonly used in text on signage for this line. Represented in
* hexadecimal.
*
*
* string text_color = 7;
*
* @return The textColor.
*/
java.lang.String getTextColor();
/**
*
*
*
* The color commonly used in text on signage for this line. Represented in
* hexadecimal.
*
*
* string text_color = 7;
*
* @return The bytes for textColor.
*/
com.google.protobuf.ByteString getTextColorBytes();
/**
*
*
*
* The type of vehicle that operates on this transit line.
*
*
* .google.maps.routing.v2.TransitVehicle vehicle = 8;
*
* @return Whether the vehicle field is set.
*/
boolean hasVehicle();
/**
*
*
*
* The type of vehicle that operates on this transit line.
*
*
* .google.maps.routing.v2.TransitVehicle vehicle = 8;
*
* @return The vehicle.
*/
com.google.maps.routing.v2.TransitVehicle getVehicle();
/**
*
*
*
* The type of vehicle that operates on this transit line.
*
*
* .google.maps.routing.v2.TransitVehicle vehicle = 8;
*/
com.google.maps.routing.v2.TransitVehicleOrBuilder getVehicleOrBuilder();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy