Send feedback
  
   
 
  
    
      Class RepoId.Builder (1.24.0)
    
    
       
    
    
      
      Stay organized with collections
     
    
      
      Save and categorize content based on your preferences.
     
    
  
      
     
  
  
   
  
    
  
  
    
    
    
  Version 1.24.0keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  RepoId . Builder   extends   GeneratedMessageV3 . Builder<RepoId . Builder >  implements   RepoIdOrBuilder  
   
   A unique identifier for a cloud repo.
 Protobuf type google.devtools.source.v1.RepoId
 
  
  
  
    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   RepoId . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  
  
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        RepoId  
         
       
     
  
   
  
  
    
public   RepoId   buildPartial ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        RepoId  
         
       
     
  
   
  
  
    
public   RepoId . Builder   clear ()  
   
  
  Overrides 
  
   
  
  
    
public   RepoId . Builder   clearField ( Descriptors . FieldDescriptor   field )  
   
  
  
  Overrides 
  
   
  
  
    
public   RepoId . Builder   clearId ()  
   
  
   
  
  
    
public   RepoId . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
   
  
  
  Overrides 
  
   
  
  
    
public   RepoId . Builder   clearProjectRepoId ()  
   
   A combination of a project ID and a repo name.
 .google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
 
  
   
  
  
    
public   RepoId . Builder   clearUid ()  
   
   A server-assigned, globally unique identifier.
 string uid = 2;
 
  
   
  
  
    
public   RepoId . Builder   clone ()  
   
  
  Overrides 
  
   
  
  
    
public   RepoId   getDefaultInstanceForType ()  
   
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        RepoId  
         
       
     
  
   
  
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
   
  
  Overrides 
  
   
  
  
    
public   RepoId . IdCase   getIdCase ()  
   
  
   
  
  
    
public   ProjectRepoId   getProjectRepoId ()  
   
   A combination of a project ID and a repo name.
 .google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
 
  
   
  
  
    
public   ProjectRepoId . Builder   getProjectRepoIdBuilder ()  
   
   A combination of a project ID and a repo name.
 .google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
 
  
   
  
  
    
public   ProjectRepoIdOrBuilder   getProjectRepoIdOrBuilder ()  
   
   A combination of a project ID and a repo name.
 .google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
 
  
   
  
  
   A server-assigned, globally unique identifier.
 string uid = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        String  
        The uid.
 
       
     
  
   
  
  
    
public   ByteString   getUidBytes ()  
   
   A server-assigned, globally unique identifier.
 string uid = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        ByteString  
        The bytes for uid.
 
       
     
  
   
  
  
    
public   boolean   hasProjectRepoId ()  
   
   A combination of a project ID and a repo name.
 .google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the projectRepoId field is set.
 
       
     
  
   
  
  
   A server-assigned, globally unique identifier.
 string uid = 2;
 
  
    
      
        Returns  
       
      
        Type  
        Description  
       
      
        boolean  
        Whether the uid field is set.
 
       
     
  
   
  
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
   
  
  Overrides 
  
   
  
  
    
public   final   boolean   isInitialized ()  
   
  
  Overrides 
  
   
  
  
    
public   RepoId . Builder   mergeFrom ( RepoId   other )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        other 
        RepoId  
       
     
  
  
   
  
  
    
public   RepoId . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
   
  
  
  Overrides 
  
  
   
  
  
    
public   RepoId . Builder   mergeFrom ( Message   other )  
   
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        other 
        Message  
       
     
  
  
  Overrides 
  
   
  
  
    
public   RepoId . Builder   mergeProjectRepoId ( ProjectRepoId   value )  
   
   A combination of a project ID and a repo name.
 .google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
 
  
  
   
  
  
    
public   final   RepoId . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  Overrides 
  
   
  
  
    
public   RepoId . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
   
  
  
  Overrides 
  
   
  
  
    
public   RepoId . Builder   setProjectRepoId ( ProjectRepoId   value )  
   
   A combination of a project ID and a repo name.
 .google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
 
  
  
   
  
  
    
public   RepoId . Builder   setProjectRepoId ( ProjectRepoId . Builder   builderForValue )  
   
   A combination of a project ID and a repo name.
 .google.devtools.source.v1.ProjectRepoId project_repo_id = 1;
 
  
  
   
  
  
    
public   RepoId . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
   
  
  
  Overrides 
  
   
  
  
    
public   RepoId . Builder   setUid ( String   value )  
   
   A server-assigned, globally unique identifier.
 string uid = 2;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        String The uid to set.
 
       
     
  
  
   
  
  
    
public   RepoId . Builder   setUidBytes ( ByteString   value )  
   
   A server-assigned, globally unique identifier.
 string uid = 2;
 
  
    
      
        Parameter  
       
      
        Name  
        Description  
       
      
        value 
        ByteString The bytes for uid to set.
 
       
     
  
  
   
  
  
    
public   final   RepoId . Builder   setUnknownFields ( UnknownFieldSet   unknownFields )  
   
  
  
  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."],[],[]]