Class BackendMetastore.Builder (2.23.0) 
  
      
     
  
  
  
   
  
    
  
  
    
    
    
  Version 2.23.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  BackendMetastore . Builder   extends   GeneratedMessageV3 . Builder<BackendMetastore . Builder >  implements   BackendMetastoreOrBuilder  
   
   Represents a backend metastore for the federation.
 Protobuf type google.cloud.metastore.v1.BackendMetastore
 
  
  
  
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString) 
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int) 
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int) 
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder) 
    
    
    
    
    
    
    
    
    
    
    
    
   
  Static Methods
   
   
  
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
   
  
  Methods
   
   
  
  
    
public   BackendMetastore . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  
  
    
public   BackendMetastore   build ()  
   
  
   
  
  
    
public   BackendMetastore   buildPartial ()  
   
  
   
  
  
    
public   BackendMetastore . Builder   clear ()  
   
  
  Overrides 
  
   
  
  
    
public   BackendMetastore . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  
  
  Overrides 
  
   
  
  
    
public   BackendMetastore . Builder   clearMetastoreType ()  
   
   The type of the backend metastore.
 .google.cloud.metastore.v1.BackendMetastore.MetastoreType metastore_type = 2;
 
  
   
  
  
    
public   BackendMetastore . Builder   clearName ()  
   
   The relative resource name of the metastore that is being federated.
 The formats of the relative resource names for the currently supported
 metastores are listed below:
BigQuery
 
Dataproc Metastore
projects/{project_id}/locations/{location}/services/{service_id} 
 
 
 
 string name = 1;
 
  
   
  
  
    
public   BackendMetastore . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  
  
  Overrides 
  
   
  
  
    
public   BackendMetastore . Builder   clone ()  
   
  
  Overrides 
  
   
  
  
    
public   BackendMetastore   getDefaultInstanceForType ()  
   
  
   
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  
  Overrides 
  
   
  
  
    
public   BackendMetastore . MetastoreType   getMetastoreType ()  
   
   The type of the backend metastore.
 .google.cloud.metastore.v1.BackendMetastore.MetastoreType metastore_type = 2;
 
  
   
  
  
    
public   int   getMetastoreTypeValue ()  
   
   The type of the backend metastore.
 .google.cloud.metastore.v1.BackendMetastore.MetastoreType metastore_type = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        int  
        The enum numeric value on the wire for metastoreType.
 
       
     
  
   
  
  
   The relative resource name of the metastore that is being federated.
 The formats of the relative resource names for the currently supported
 metastores are listed below:
BigQuery
 
Dataproc Metastore
projects/{project_id}/locations/{location}/services/{service_id} 
 
 
 
 string name = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The name.
 
       
     
  
   
  
  
    
public   ByteString   getNameBytes ()  
   
   The relative resource name of the metastore that is being federated.
 The formats of the relative resource names for the currently supported
 metastores are listed below:
BigQuery
 
Dataproc Metastore
projects/{project_id}/locations/{location}/services/{service_id} 
 
 
 
 string name = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for name.
 
       
     
  
   
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  
  
    
public   BackendMetastore . Builder   mergeFrom ( BackendMetastore   other )  
   
  
  
   
  
  
    
public   BackendMetastore . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  Overrides 
  
  
   
  
  
    
public   BackendMetastore . Builder   mergeFrom ( Message   other )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        other 
        Message  
       
     
  
  
  Overrides 
  
   
  
  
    
public   final   BackendMetastore . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  Overrides 
  
   
  
  
    
public   BackendMetastore . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  
  
    
public   BackendMetastore . Builder   setMetastoreType ( BackendMetastore . MetastoreType   value )  
   
   The type of the backend metastore.
 .google.cloud.metastore.v1.BackendMetastore.MetastoreType metastore_type = 2;
 
  
  
   
  
  
    
public   BackendMetastore . Builder   setMetastoreTypeValue ( int   value )  
   
   The type of the backend metastore.
 .google.cloud.metastore.v1.BackendMetastore.MetastoreType metastore_type = 2;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        int The enum numeric value on the wire for metastoreType to set.
 
       
     
  
  
   
  
  
    
public   BackendMetastore . Builder   setName ( String   value )  
   
   The relative resource name of the metastore that is being federated.
 The formats of the relative resource names for the currently supported
 metastores are listed below:
BigQuery
 
Dataproc Metastore
projects/{project_id}/locations/{location}/services/{service_id} 
 
 
 
 string name = 1;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        String The name to set.
 
       
     
  
  
   
  
  
    
public   BackendMetastore . Builder   setNameBytes ( ByteString   value )  
   
   The relative resource name of the metastore that is being federated.
 The formats of the relative resource names for the currently supported
 metastores are listed below:
BigQuery
 
Dataproc Metastore
projects/{project_id}/locations/{location}/services/{service_id} 
 
 
 
 string name = 1;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        ByteString The bytes for name to set.
 
       
     
  
  
   
  
  
    
public   BackendMetastore . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  
  
  Overrides 
  
   
  
  
    
public   final   BackendMetastore . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  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-30 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-30 UTC."],[],[]]