Class LanguageMetadata (4.47.0) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 4.47.0keyboard_arrow_down  
  
 
    
    
    
      
  
  
  
    
public   final   class  LanguageMetadata   extends   GeneratedMessageV3   implements   LanguageMetadataOrBuilder  
   The metadata about locales available in a given region. Currently this is
 just the models that are available for each locale
 Protobuf type google.cloud.speech.v2.LanguageMetadata
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT) 
    
    
      com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int) 
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Fields
   
  
  
    
public   static   final   int   MODELS_FIELD_NUMBER  
  
    
      
        Field Value  
      
        Type Description  
      
        int  
     
  
  Static Methods
   
  
    
public   static   LanguageMetadata   getDefaultInstance ()  
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  
    
public   static   LanguageMetadata . Builder   newBuilder ()  
  
  
    
public   static   LanguageMetadata . Builder   newBuilder ( LanguageMetadata   prototype )  
  
  
  
    
public   static   LanguageMetadata   parseDelimitedFrom ( InputStream   input )  
  
  
  
  
    
public   static   LanguageMetadata   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LanguageMetadata   parseFrom ( byte []   data )  
  
    
      
        Parameter  
      
        Name Description  
      
        databyte [] 
     
  
  
  
  
    
public   static   LanguageMetadata   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LanguageMetadata   parseFrom ( ByteString   data )  
  
  
  
  
    
public   static   LanguageMetadata   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LanguageMetadata   parseFrom ( CodedInputStream   input )  
  
  
  
  
    
public   static   LanguageMetadata   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LanguageMetadata   parseFrom ( InputStream   input )  
  
  
  
  
    
public   static   LanguageMetadata   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   LanguageMetadata   parseFrom ( ByteBuffer   data )  
  
  
  
  
    
public   static   LanguageMetadata   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  
  
    
public   static   Parser<LanguageMetadata>   parser ()  
  
  Methods
   
  
    
public   boolean   containsModels ( String   key )  
   Map of locale (language code) -> models
 map<string, .google.cloud.speech.v2.ModelMetadata> models = 1;
    
      
        Parameter  
      
        Name Description  
      
        keyString  
     
  
  
  
    
public   boolean   equals ( Object   obj )  
  
    
      
        Parameter  
      
        Name Description  
      
        objObject  
     
  
  
  Overrides 
  
  
    
public   LanguageMetadata   getDefaultInstanceForType ()  
  
  
    
public   Map<String , ModelMetadata >  getModels ()  
  
  
  
    
public   int   getModelsCount ()  
   Map of locale (language code) -> models
 map<string, .google.cloud.speech.v2.ModelMetadata> models = 1;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  
    
public   Map<String , ModelMetadata >  getModelsMap ()  
   Map of locale (language code) -> models
 map<string, .google.cloud.speech.v2.ModelMetadata> models = 1;
    
public   ModelMetadata   getModelsOrDefault ( String   key ,   ModelMetadata   defaultValue )  
   Map of locale (language code) -> models
 map<string, .google.cloud.speech.v2.ModelMetadata> models = 1;
    
public   ModelMetadata   getModelsOrThrow ( String   key )  
   Map of locale (language code) -> models
 map<string, .google.cloud.speech.v2.ModelMetadata> models = 1;
    
      
        Parameter  
      
        Name Description  
      
        keyString  
     
  
  
  
    
public   Parser<LanguageMetadata>   getParserForType ()  
  
  Overrides 
  
  
    
public   int   getSerializedSize ()  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  Overrides 
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  
    
protected   MapFieldReflectionAccessor   internalGetMapFieldReflection ( int   number )  
  
    
      
        Parameter  
      
        Name Description  
      
        numberint  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        com.google.protobuf.MapFieldReflectionAccessor  
     
  
  Overrides 
  com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  
    
public   LanguageMetadata . Builder   newBuilderForType ()  
  
  
    
protected   LanguageMetadata . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
  
  
  Overrides 
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
  
  
    
      
        Returns  
      
        Type Description  
      
        Object  
     
  
  Overrides 
  
  
    
public   LanguageMetadata . Builder   toBuilder ()  
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
    
    
      
       
    
    
  
  
 
  Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
  Last updated 2025-10-29 UTC.
 
 
  
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-29 UTC."],[],[]]