Class ListLinksResponse.Builder (3.23.5) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.23.5keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  ListLinksResponse . Builder   extends   GeneratedMessageV3 . Builder<ListLinksResponse . Builder >  implements   ListLinksResponseOrBuilder  
   The response from ListLinks.
 Protobuf type google.logging.v2.ListLinksResponse
    Inherited Members 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder() 
    
    
    
    
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int) 
    
    
    
      com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int) 
    
    
    
    
    
    
      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
   
  getDescriptor() 
  
    
public   static   final   Descriptors . Descriptor   getDescriptor ()  
  
  Methods
   
  addAllLinks(Iterable<? extends Link> values) 
  
    
public   ListLinksResponse . Builder   addAllLinks ( Iterable <?   extends   Link >  values )  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
    
      
        Parameter  
      
        Name Description  
      
        valuesIterable <? extends com.google.logging.v2.Link > 
     
  
  
  addLinks(Link value) 
  
    
public   ListLinksResponse . Builder   addLinks ( Link   value )  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueLink  
     
  
  
  addLinks(Link.Builder builderForValue) 
  
    
public   ListLinksResponse . Builder   addLinks ( Link . Builder   builderForValue )  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
addLinks(int index, Link value) 
  
    
public   ListLinksResponse . Builder   addLinks ( int   index ,   Link   value )  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
    
      
        Parameters  
      
        Name Description  
      
        indexint  
      
        valueLink  
     
  
  
  addLinks(int index, Link.Builder builderForValue) 
  
    
public   ListLinksResponse . Builder   addLinks ( int   index ,   Link . Builder   builderForValue )  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
addLinksBuilder() 
  
    
public   Link . Builder   addLinksBuilder ()  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
addLinksBuilder(int index) 
  
    
public   Link . Builder   addLinksBuilder ( int   index )  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ListLinksResponse . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
    
public   ListLinksResponse   build ()  
  
  buildPartial() 
  
    
public   ListLinksResponse   buildPartial ()  
  
  clear() 
  
    
public   ListLinksResponse . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   ListLinksResponse . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearLinks() 
  
    
public   ListLinksResponse . Builder   clearLinks ()  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
clearNextPageToken() 
  
    
public   ListLinksResponse . Builder   clearNextPageToken ()  
   If there might be more results than those appearing in this response, then
 nextPageToken is included. To get the next set of results, call the same
 method again using the value of nextPageToken as pageToken.
 string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   ListLinksResponse . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clone() 
  
    
public   ListLinksResponse . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   ListLinksResponse   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getLinks(int index) 
  
    
public   Link   getLinks ( int   index )  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
    
      
        Returns  
      
        Type Description  
      
        Link  
     
  
  getLinksBuilder(int index) 
  
    
public   Link . Builder   getLinksBuilder ( int   index )  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getLinksBuilderList() 
  
    
public   List<Link . Builder >  getLinksBuilderList ()  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
getLinksCount() 
  
    
public   int   getLinksCount ()  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
    
      
        Returns  
      
        Type Description  
      
        int  
     
  
  getLinksList() 
  
    
public   List<Link>   getLinksList ()  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
getLinksOrBuilder(int index) 
  
    
public   LinkOrBuilder   getLinksOrBuilder ( int   index )  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  getLinksOrBuilderList() 
  
    
public   List <?   extends   LinkOrBuilder >  getLinksOrBuilderList ()  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
    
      
        Returns  
      
        Type Description  
      
        List <? extends com.google.logging.v2.LinkOrBuilder > 
     
  
  getNextPageToken() 
  
    
public   String   getNextPageToken ()  
   If there might be more results than those appearing in this response, then
 nextPageToken is included. To get the next set of results, call the same
 method again using the value of nextPageToken as pageToken.
 string next_page_token = 2;
    
      
        Returns  
      
        Type Description  
      
        String The nextPageToken.
 
     
  
  getNextPageTokenBytes() 
  
    
public   ByteString   getNextPageTokenBytes ()  
   If there might be more results than those appearing in this response, then
 nextPageToken is included. To get the next set of results, call the same
 method again using the value of nextPageToken as pageToken.
 string next_page_token = 2;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for nextPageToken.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(ListLinksResponse other) 
  
    
public   ListLinksResponse . Builder   mergeFrom ( ListLinksResponse   other )  
  
  
  
    
public   ListLinksResponse . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   ListLinksResponse . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ListLinksResponse . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  removeLinks(int index) 
  
    
public   ListLinksResponse . Builder   removeLinks ( int   index )  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
    
      
        Parameter  
      
        Name Description  
      
        indexint  
     
  
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   ListLinksResponse . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setLinks(int index, Link value) 
  
    
public   ListLinksResponse . Builder   setLinks ( int   index ,   Link   value )  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
    
      
        Parameters  
      
        Name Description  
      
        indexint  
      
        valueLink  
     
  
  
  setLinks(int index, Link.Builder builderForValue) 
  
    
public   ListLinksResponse . Builder   setLinks ( int   index ,   Link . Builder   builderForValue )  
   A list of links.
 repeated .google.logging.v2.Link links = 1;
setNextPageToken(String value) 
  
    
public   ListLinksResponse . Builder   setNextPageToken ( String   value )  
   If there might be more results than those appearing in this response, then
 nextPageToken is included. To get the next set of results, call the same
 method again using the value of nextPageToken as pageToken.
 string next_page_token = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueString The nextPageToken to set.
 
     
  
  
  setNextPageTokenBytes(ByteString value) 
  
    
public   ListLinksResponse . Builder   setNextPageTokenBytes ( ByteString   value )  
   If there might be more results than those appearing in this response, then
 nextPageToken is included. To get the next set of results, call the same
 method again using the value of nextPageToken as pageToken.
 string next_page_token = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for nextPageToken to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   ListLinksResponse . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   ListLinksResponse . 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-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."],[],[]]