public static final class GtfsRealtime.TranslatedString.Translation extends com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.TranslatedString.Translation> implements GtfsRealtime.TranslatedString.TranslationOrBuilder
transit_realtime.TranslatedString.Translation| Modifier and Type | Class and Description |
|---|---|
static class |
GtfsRealtime.TranslatedString.Translation.Builder
Protobuf type
transit_realtime.TranslatedString.Translation |
com.google.protobuf.GeneratedMessage.ExtendableMessage.ExtensionWritercom.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>| Modifier and Type | Field and Description |
|---|---|
static int |
LANGUAGE_FIELD_NUMBER |
static com.google.protobuf.Parser<GtfsRealtime.TranslatedString.Translation> |
PARSER |
static int |
TEXT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
static GtfsRealtime.TranslatedString.Translation |
getDefaultInstance() |
GtfsRealtime.TranslatedString.Translation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getLanguage()
optional string language = 2; |
com.google.protobuf.ByteString |
getLanguageBytes()
optional string language = 2; |
com.google.protobuf.Parser<GtfsRealtime.TranslatedString.Translation> |
getParserForType() |
int |
getSerializedSize() |
String |
getText()
required string text = 1; |
com.google.protobuf.ByteString |
getTextBytes()
required string text = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasLanguage()
optional string language = 2; |
boolean |
hasText()
required string text = 1; |
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GtfsRealtime.TranslatedString.Translation.Builder |
newBuilder() |
static GtfsRealtime.TranslatedString.Translation.Builder |
newBuilder(GtfsRealtime.TranslatedString.Translation prototype) |
GtfsRealtime.TranslatedString.Translation.Builder |
newBuilderForType() |
protected GtfsRealtime.TranslatedString.Translation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) |
static GtfsRealtime.TranslatedString.Translation |
parseDelimitedFrom(InputStream input) |
static GtfsRealtime.TranslatedString.Translation |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.TranslatedString.Translation |
parseFrom(byte[] data) |
static GtfsRealtime.TranslatedString.Translation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.TranslatedString.Translation |
parseFrom(com.google.protobuf.ByteString data) |
static GtfsRealtime.TranslatedString.Translation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.TranslatedString.Translation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GtfsRealtime.TranslatedString.Translation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GtfsRealtime.TranslatedString.Translation |
parseFrom(InputStream input) |
static GtfsRealtime.TranslatedString.Translation |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GtfsRealtime.TranslatedString.Translation.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
extensionsAreInitialized, extensionsSerializedSize, extensionsSerializedSizeAsMessageSet, getAllFields, getExtension, getExtension, getExtensionCount, getExtensionFields, getField, getRepeatedField, getRepeatedFieldCount, hasExtension, hasField, makeExtensionsImmutable, newExtensionWriter, newMessageSetExtensionWriter, parseUnknownFieldgetDescriptorForType, getOneofFieldDescriptor, hasOneof, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtensionequals, findInitializationErrors, getInitializationErrorString, hashCode, hashFields, toStringcheckByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetExtension, getExtension, getExtensionCount, hasExtensionpublic static com.google.protobuf.Parser<GtfsRealtime.TranslatedString.Translation> PARSER
public static final int TEXT_FIELD_NUMBER
public static final int LANGUAGE_FIELD_NUMBER
public static GtfsRealtime.TranslatedString.Translation getDefaultInstance()
public GtfsRealtime.TranslatedString.Translation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<GtfsRealtime.TranslatedString.Translation>getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessagepublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessagepublic com.google.protobuf.Parser<GtfsRealtime.TranslatedString.Translation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessagepublic boolean hasText()
required string text = 1;
A UTF-8 string containing the message.
hasText in interface GtfsRealtime.TranslatedString.TranslationOrBuilderpublic String getText()
required string text = 1;
A UTF-8 string containing the message.
getText in interface GtfsRealtime.TranslatedString.TranslationOrBuilderpublic com.google.protobuf.ByteString getTextBytes()
required string text = 1;
A UTF-8 string containing the message.
getTextBytes in interface GtfsRealtime.TranslatedString.TranslationOrBuilderpublic boolean hasLanguage()
optional string language = 2;
BCP-47 language code. Can be omitted if the language is unknown or if no i18n is done at all for the feed. At most one translation is allowed to have an unspecified language tag.
hasLanguage in interface GtfsRealtime.TranslatedString.TranslationOrBuilderpublic String getLanguage()
optional string language = 2;
BCP-47 language code. Can be omitted if the language is unknown or if no i18n is done at all for the feed. At most one translation is allowed to have an unspecified language tag.
getLanguage in interface GtfsRealtime.TranslatedString.TranslationOrBuilderpublic com.google.protobuf.ByteString getLanguageBytes()
optional string language = 2;
BCP-47 language code. Can be omitted if the language is unknown or if no i18n is done at all for the feed. At most one translation is allowed to have an unspecified language tag.
getLanguageBytes in interface GtfsRealtime.TranslatedString.TranslationOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<GtfsRealtime.TranslatedString.Translation>public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.AbstractMessageIOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.AbstractMessageprotected Object writeReplace() throws ObjectStreamException
writeReplace in class com.google.protobuf.GeneratedMessageObjectStreamExceptionpublic static GtfsRealtime.TranslatedString.Translation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.TranslatedString.Translation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.TranslatedString.Translation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.TranslatedString.Translation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GtfsRealtime.TranslatedString.Translation parseFrom(InputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.TranslatedString.Translation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GtfsRealtime.TranslatedString.Translation parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.TranslatedString.Translation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GtfsRealtime.TranslatedString.Translation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GtfsRealtime.TranslatedString.Translation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GtfsRealtime.TranslatedString.Translation.Builder newBuilder()
public GtfsRealtime.TranslatedString.Translation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GtfsRealtime.TranslatedString.Translation.Builder newBuilder(GtfsRealtime.TranslatedString.Translation prototype)
public GtfsRealtime.TranslatedString.Translation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GtfsRealtime.TranslatedString.Translation.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageCopyright © 2018. All rights reserved.