public static final class SupportedLanguages.Builder extends GeneratedMessageV3.Builder<SupportedLanguages.Builder> implements SupportedLanguagesOrBuilder
The response message for discovering supported languages.Protobuf type
google.cloud.translation.v3beta1.SupportedLanguages
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<SupportedLanguages.Builder>
public SupportedLanguages.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<SupportedLanguages.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<SupportedLanguages.Builder>
public SupportedLanguages getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public SupportedLanguages build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public SupportedLanguages buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public SupportedLanguages.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<SupportedLanguages.Builder>
public SupportedLanguages.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<SupportedLanguages.Builder>
public SupportedLanguages.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<SupportedLanguages.Builder>
public SupportedLanguages.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<SupportedLanguages.Builder>
public SupportedLanguages.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<SupportedLanguages.Builder>
public SupportedLanguages.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<SupportedLanguages.Builder>
public SupportedLanguages.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<SupportedLanguages.Builder>
public SupportedLanguages.Builder mergeFrom(SupportedLanguages other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<SupportedLanguages.Builder>
public SupportedLanguages.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<SupportedLanguages.Builder>
IOException
public List<SupportedLanguage> getLanguagesList()
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
getLanguagesList
in interface SupportedLanguagesOrBuilder
public int getLanguagesCount()
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
getLanguagesCount
in interface SupportedLanguagesOrBuilder
public SupportedLanguage getLanguages(int index)
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
getLanguages
in interface SupportedLanguagesOrBuilder
public SupportedLanguages.Builder setLanguages(int index, SupportedLanguage value)
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
public SupportedLanguages.Builder setLanguages(int index, SupportedLanguage.Builder builderForValue)
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
public SupportedLanguages.Builder addLanguages(SupportedLanguage value)
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
public SupportedLanguages.Builder addLanguages(int index, SupportedLanguage value)
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
public SupportedLanguages.Builder addLanguages(SupportedLanguage.Builder builderForValue)
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
public SupportedLanguages.Builder addLanguages(int index, SupportedLanguage.Builder builderForValue)
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
public SupportedLanguages.Builder addAllLanguages(Iterable<? extends SupportedLanguage> values)
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
public SupportedLanguages.Builder clearLanguages()
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
public SupportedLanguages.Builder removeLanguages(int index)
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
public SupportedLanguage.Builder getLanguagesBuilder(int index)
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
public SupportedLanguageOrBuilder getLanguagesOrBuilder(int index)
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
getLanguagesOrBuilder
in interface SupportedLanguagesOrBuilder
public List<? extends SupportedLanguageOrBuilder> getLanguagesOrBuilderList()
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
getLanguagesOrBuilderList
in interface SupportedLanguagesOrBuilder
public SupportedLanguage.Builder addLanguagesBuilder()
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
public SupportedLanguage.Builder addLanguagesBuilder(int index)
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
public List<SupportedLanguage.Builder> getLanguagesBuilderList()
A list of supported language responses. This list contains an entry for each language the Translation API supports.
repeated .google.cloud.translation.v3beta1.SupportedLanguage languages = 1;
public final SupportedLanguages.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<SupportedLanguages.Builder>
public final SupportedLanguages.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<SupportedLanguages.Builder>
Copyright © 2022 Google LLC. All rights reserved.