Class LogSplit.Builder (3.23.6) 
  
  
  
   
  
    
  
  
    
    
    
    
  Version 3.23.6keyboard_arrow_down  
  
 
    
    
    
    
      
  
  
  
    
public   static   final   class  LogSplit . Builder   extends   GeneratedMessageV3 . Builder<LogSplit . Builder >  implements   LogSplitOrBuilder  
   Additional information used to correlate multiple log entries. Used when a
 single LogEntry would exceed the Google Cloud Logging size limit and is
 split across multiple log entries.
 Protobuf type google.logging.v2.LogSplit
    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
   
  addRepeatedField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   LogSplit . Builder   addRepeatedField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  build() 
  
  
  buildPartial() 
  
    
public   LogSplit   buildPartial ()  
  
  clear() 
  
    
public   LogSplit . Builder   clear ()  
  
  Overrides 
  
  clearField(Descriptors.FieldDescriptor field) 
  
    
public   LogSplit . Builder   clearField ( Descriptors . FieldDescriptor   field )  
  
  
  Overrides 
  
  clearIndex() 
  
    
public   LogSplit . Builder   clearIndex ()  
   The index of this LogEntry in the sequence of split log entries. Log
 entries are given |index| values 0, 1, ..., n-1 for a sequence of n log
 entries.
 int32 index = 2;
clearOneof(Descriptors.OneofDescriptor oneof) 
  
    
public   LogSplit . Builder   clearOneof ( Descriptors . OneofDescriptor   oneof )  
  
  
  Overrides 
  
  clearTotalSplits() 
  
    
public   LogSplit . Builder   clearTotalSplits ()  
   The total number of log entries that the original LogEntry was split into.
 int32 total_splits = 3;
clearUid() 
  
    
public   LogSplit . Builder   clearUid ()  
   A globally unique identifier for all log entries in a sequence of split log
 entries. All log entries with the same |LogSplit.uid| are assumed to be
 part of the same sequence of split log entries.
 string uid = 1;
clone() 
  
    
public   LogSplit . Builder   clone ()  
  
  Overrides 
  
  getDefaultInstanceForType() 
  
    
public   LogSplit   getDefaultInstanceForType ()  
  
  getDescriptorForType() 
  
    
public   Descriptors . Descriptor   getDescriptorForType ()  
  
  Overrides 
  
  getIndex() 
  
   The index of this LogEntry in the sequence of split log entries. Log
 entries are given |index| values 0, 1, ..., n-1 for a sequence of n log
 entries.
 int32 index = 2;
    
      
        Returns  
      
        Type Description  
      
        int The index.
 
     
  
  getTotalSplits() 
  
    
public   int   getTotalSplits ()  
   The total number of log entries that the original LogEntry was split into.
 int32 total_splits = 3;
    
      
        Returns  
      
        Type Description  
      
        int The totalSplits.
 
     
  
  getUid() 
  
   A globally unique identifier for all log entries in a sequence of split log
 entries. All log entries with the same |LogSplit.uid| are assumed to be
 part of the same sequence of split log entries.
 string uid = 1;
    
      
        Returns  
      
        Type Description  
      
        String The uid.
 
     
  
  getUidBytes() 
  
    
public   ByteString   getUidBytes ()  
   A globally unique identifier for all log entries in a sequence of split log
 entries. All log entries with the same |LogSplit.uid| are assumed to be
 part of the same sequence of split log entries.
 string uid = 1;
    
      
        Returns  
      
        Type Description  
      
        ByteString The bytes for uid.
 
     
  
  internalGetFieldAccessorTable() 
  
    
protected   GeneratedMessageV3 . FieldAccessorTable   internalGetFieldAccessorTable ()  
  
  Overrides 
  
  isInitialized() 
  
    
public   final   boolean   isInitialized ()  
  
  Overrides 
  
  mergeFrom(LogSplit other) 
  
    
public   LogSplit . Builder   mergeFrom ( LogSplit   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherLogSplit  
     
  
  
  
    
public   LogSplit . Builder   mergeFrom ( CodedInputStream   input ,   ExtensionRegistryLite   extensionRegistry )  
  
  
  Overrides 
  
  
  mergeFrom(Message other) 
  
    
public   LogSplit . Builder   mergeFrom ( Message   other )  
  
    
      
        Parameter  
      
        Name Description  
      
        otherMessage  
     
  
  
  Overrides 
  
  mergeUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   LogSplit . Builder   mergeUnknownFields ( UnknownFieldSet   unknownFields )  
  
  
  Overrides 
  
  setField(Descriptors.FieldDescriptor field, Object value) 
  
    
public   LogSplit . Builder   setField ( Descriptors . FieldDescriptor   field ,   Object   value )  
  
  
  Overrides 
  
  setIndex(int value) 
  
    
public   LogSplit . Builder   setIndex ( int   value )  
   The index of this LogEntry in the sequence of split log entries. Log
 entries are given |index| values 0, 1, ..., n-1 for a sequence of n log
 entries.
 int32 index = 2;
    
      
        Parameter  
      
        Name Description  
      
        valueint The index to set.
 
     
  
  
  setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value) 
  
    
public   LogSplit . Builder   setRepeatedField ( Descriptors . FieldDescriptor   field ,   int   index ,   Object   value )  
  
  
  Overrides 
  
  setTotalSplits(int value) 
  
    
public   LogSplit . Builder   setTotalSplits ( int   value )  
   The total number of log entries that the original LogEntry was split into.
 int32 total_splits = 3;
    
      
        Parameter  
      
        Name Description  
      
        valueint The totalSplits to set.
 
     
  
  
  setUid(String value) 
  
    
public   LogSplit . Builder   setUid ( String   value )  
   A globally unique identifier for all log entries in a sequence of split log
 entries. All log entries with the same |LogSplit.uid| are assumed to be
 part of the same sequence of split log entries.
 string uid = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueString The uid to set.
 
     
  
  
  setUidBytes(ByteString value) 
  
    
public   LogSplit . Builder   setUidBytes ( ByteString   value )  
   A globally unique identifier for all log entries in a sequence of split log
 entries. All log entries with the same |LogSplit.uid| are assumed to be
 part of the same sequence of split log entries.
 string uid = 1;
    
      
        Parameter  
      
        Name Description  
      
        valueByteString The bytes for uid to set.
 
     
  
  
  setUnknownFields(UnknownFieldSet unknownFields) 
  
    
public   final   LogSplit . 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."],[],[]]