Class PreviousLogResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<PreviousLogResponse.Builder>
com.google.protobuf.GeneratedMessage.Builder<PreviousLogResponse.Builder>
com.soulfiremc.grpc.generated.PreviousLogResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, PreviousLogResponseOrBuilder, Cloneable
Enclosing class:
PreviousLogResponse

public static final class PreviousLogResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<PreviousLogResponse.Builder> implements PreviousLogResponseOrBuilder
Response containing historical log entries.
Protobuf type soulfire.v1.PreviousLogResponse
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<PreviousLogResponse.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<PreviousLogResponse.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<PreviousLogResponse.Builder>
    • getDefaultInstanceForType

      public PreviousLogResponse getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public PreviousLogResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public PreviousLogResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public PreviousLogResponse.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PreviousLogResponse.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<PreviousLogResponse.Builder>
    • mergeFrom

      public PreviousLogResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<PreviousLogResponse.Builder>
      Throws:
      IOException
    • getMessagesList

      public List<LogString> getMessagesList()
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
      Specified by:
      getMessagesList in interface PreviousLogResponseOrBuilder
    • getMessagesCount

      public int getMessagesCount()
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
      Specified by:
      getMessagesCount in interface PreviousLogResponseOrBuilder
    • getMessages

      public LogString getMessages(int index)
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
      Specified by:
      getMessages in interface PreviousLogResponseOrBuilder
    • setMessages

      public PreviousLogResponse.Builder setMessages(int index, LogString value)
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
    • setMessages

      public PreviousLogResponse.Builder setMessages(int index, LogString.Builder builderForValue)
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
    • addMessages

      public PreviousLogResponse.Builder addMessages(LogString value)
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
    • addMessages

      public PreviousLogResponse.Builder addMessages(int index, LogString value)
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
    • addMessages

      public PreviousLogResponse.Builder addMessages(LogString.Builder builderForValue)
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
    • addMessages

      public PreviousLogResponse.Builder addMessages(int index, LogString.Builder builderForValue)
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
    • addAllMessages

      public PreviousLogResponse.Builder addAllMessages(Iterable<? extends LogString> values)
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
    • clearMessages

      public PreviousLogResponse.Builder clearMessages()
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
    • removeMessages

      public PreviousLogResponse.Builder removeMessages(int index)
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
    • getMessagesBuilder

      public LogString.Builder getMessagesBuilder(int index)
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
    • getMessagesOrBuilder

      public LogStringOrBuilder getMessagesOrBuilder(int index)
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
      Specified by:
      getMessagesOrBuilder in interface PreviousLogResponseOrBuilder
    • getMessagesOrBuilderList

      public List<? extends LogStringOrBuilder> getMessagesOrBuilderList()
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
      Specified by:
      getMessagesOrBuilderList in interface PreviousLogResponseOrBuilder
    • addMessagesBuilder

      public LogString.Builder addMessagesBuilder()
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
    • addMessagesBuilder

      public LogString.Builder addMessagesBuilder(int index)
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;
    • getMessagesBuilderList

      public List<LogString.Builder> getMessagesBuilderList()
      The list of log entries matching the requested scope, ordered from oldest to newest.
      May contain fewer entries than requested if not enough matching logs exist in the buffer.
      
      repeated .soulfire.v1.LogString messages = 1;