Send feedback
  
   
 
  
    
      Class ZoneMetadata (0.52.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 0.52.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   final   class  ZoneMetadata   extends   GeneratedMessageV3   implements   ZoneMetadataOrBuilder  
   
   A Google Distributed Cloud Edge zone where edge machines are located.
 Protobuf type google.cloud.edgecontainer.v1.ZoneMetadata
 
  
  
  
    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   CONFIG_DATA_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  
  
    
public   static   final   int   QUOTA_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  
  
    
public   static   final   int   RACK_TYPES_FIELD_NUMBER  
   
  
    
      
        Field Value  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Static Methods
   
   
  
  
    
public   static   ZoneMetadata   getDefaultInstance ()  
   
  
   
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
   
  
  
    
public   static   ZoneMetadata . Builder   newBuilder ()  
   
  
   
  
  
    
public   static   ZoneMetadata . Builder   newBuilder ( ZoneMetadata   prototype )  
   
  
  
   
  
  
    
public   static   ZoneMetadata   parseDelimitedFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   ZoneMetadata   parseDelimitedFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   ZoneMetadata   parseFrom ( byte []   data )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        data 
        byte [] 
       
     
  
  
  
   
  
  
    
public   static   ZoneMetadata   parseFrom ( byte []   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   ZoneMetadata   parseFrom ( ByteString   data )  
   
  
  
  
   
  
  
    
public   static   ZoneMetadata   parseFrom ( ByteString   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   ZoneMetadata   parseFrom ( CodedInputStream   input )  
   
  
  
  
   
  
  
    
public   static   ZoneMetadata   parseFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   ZoneMetadata   parseFrom ( InputStream   input )  
   
  
  
  
   
  
  
    
public   static   ZoneMetadata   parseFrom ( InputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   ZoneMetadata   parseFrom ( ByteBuffer   data )  
   
  
  
  
   
  
  
    
public   static   ZoneMetadata   parseFrom ( ByteBuffer   data ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  
   
  
  
    
public   static   Parser<ZoneMetadata>   parser ()  
   
  
  Methods
   
   
  
  
    
public   boolean   containsRackTypes ( String   key )  
   
   The map keyed by rack name and has value of RackType.
 map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
 
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        key 
        String  
       
     
  
  
   
  
  
    
public   boolean   equals ( Object   obj )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        obj 
        Object  
       
     
  
  
  Overrides 
  
   
  
  
    
public   ConfigData   getConfigData ()  
   
   Config data for the zone.
 .google.cloud.edgecontainer.v1.ConfigData config_data = 3;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ConfigData  
        The configData.
 
       
     
  
   
  
  
    
public   ConfigDataOrBuilder   getConfigDataOrBuilder ()  
   
   Config data for the zone.
 .google.cloud.edgecontainer.v1.ConfigData config_data = 3;
 
  
   
  
  
    
public   ZoneMetadata   getDefaultInstanceForType ()  
   
  
   
  
  
    
public   Parser<ZoneMetadata>   getParserForType ()  
   
  
  Overrides 
  
   
  
  
    
public   Quota   getQuota ( int   index )  
   
   Quota for resources in this zone.
 repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int  
       
     
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Quota  
         
       
     
  
   
  
  
    
public   int   getQuotaCount ()  
   
   Quota for resources in this zone.
 repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
   
  
  
    
public   List<Quota>   getQuotaList ()  
   
   Quota for resources in this zone.
 repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
 
  
   
  
  
    
public   QuotaOrBuilder   getQuotaOrBuilder ( int   index )  
   
   Quota for resources in this zone.
 repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        index 
        int  
       
     
  
  
   
  
  
    
public   List <?   extends   QuotaOrBuilder >  getQuotaOrBuilderList ()  
   
   Quota for resources in this zone.
 repeated .google.cloud.edgecontainer.v1.Quota quota = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        List <? extends com.google.cloud.edgecontainer.v1.QuotaOrBuilder > 
         
       
     
  
   
  
  
    
public   Map<String , ZoneMetadata . RackType >  getRackTypes ()  
   
  
  
   
  
  
    
public   int   getRackTypesCount ()  
   
   The map keyed by rack name and has value of RackType.
 map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
   
  
  
    
public   Map<String , ZoneMetadata . RackType >  getRackTypesMap ()  
   
   The map keyed by rack name and has value of RackType.
 map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
 
 
  
   
  
  
    
public   ZoneMetadata . RackType   getRackTypesOrDefault ( String   key ,   ZoneMetadata . RackType   defaultValue )  
   
   The map keyed by rack name and has value of RackType.
 map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
 
 
  
  
   
  
  
    
public   ZoneMetadata . RackType   getRackTypesOrThrow ( String   key )  
   
   The map keyed by rack name and has value of RackType.
 map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
 
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        key 
        String  
       
     
  
  
   
  
  
    
public   Map<String , Integer >  getRackTypesValue ()  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Map <String ,java.lang.Integer > 
         
       
     
  
   
  
  
    
public   Map<String , Integer >  getRackTypesValueMap ()  
   
   The map keyed by rack name and has value of RackType.
 map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
 
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Map <String ,java.lang.Integer > 
         
       
     
  
   
  
  
    
public   int   getRackTypesValueOrDefault ( String   key ,   int   defaultValue )  
   
   The map keyed by rack name and has value of RackType.
 map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
 
 
  
    
      
        Parameters  
       
      
        Name  
        Description  
       
      
        key 
        String  
       
      
        defaultValue 
        int  
       
     
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
   
  
  
    
public   int   getRackTypesValueOrThrow ( String   key )  
   
   The map keyed by rack name and has value of RackType.
 map<string, .google.cloud.edgecontainer.v1.ZoneMetadata.RackType> rack_types = 2;
 
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        key 
        String  
       
     
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
   
  
  
    
public   int   getSerializedSize ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  
  
    
public   boolean   hasConfigData ()  
   
   Config data for the zone.
 .google.cloud.edgecontainer.v1.ConfigData config_data = 3;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the configData field is set.
 
       
     
  
   
  
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
         
       
     
  
  Overrides 
  
   
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  
  
    
protected   MapFieldReflectionAccessor   internalGetMapFieldReflection ( int   number )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        number 
        int  
       
     
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        com.google.protobuf.MapFieldReflectionAccessor  
         
       
     
  
  Overrides 
  com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int) 
   
  
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  
  
    
public   ZoneMetadata . Builder   newBuilderForType ()  
   
  
   
  
  
    
protected   ZoneMetadata . Builder   newBuilderForType ( GeneratedMessageV3 . BuilderParent   parent )  
   
  
  
  Overrides 
  
   
  
  
    
protected   Object   newInstance ( GeneratedMessageV3 . UnusedPrivateParameter   unused )  
   
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        Object  
         
       
     
  
  Overrides 
  
   
  
  
    
public   ZoneMetadata . Builder   toBuilder ()  
   
  
   
  
  
    
public   void   writeTo ( CodedOutputStream   output )  
   
  
  Overrides 
  
  
 
     
    
  
  
  
     
  
 
  
    
    
      
    
     
  
       
         
  
  
    
    Send feedback
  
   
 
       
    
    
  
  
 
  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-30 UTC.
 
 
  
  
    
    
    
      
  
  
    Need to tell us more?
  
   
 
     
  
  
    
      [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-30 UTC."],[],[]]