Class PreviousLogRequest.Builder

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

public static final class PreviousLogRequest.Builder extends com.google.protobuf.GeneratedMessage.Builder<PreviousLogRequest.Builder> implements PreviousLogRequestOrBuilder
Request to retrieve historical log entries from the server's log buffer.
Protobuf type soulfire.v1.PreviousLogRequest
  • 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<PreviousLogRequest.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<PreviousLogRequest.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<PreviousLogRequest.Builder>
    • getDefaultInstanceForType

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

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

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

      public PreviousLogRequest.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<PreviousLogRequest.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<PreviousLogRequest.Builder>
    • mergeFrom

      public PreviousLogRequest.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<PreviousLogRequest.Builder>
      Throws:
      IOException
    • hasScope

      public boolean hasScope()
      The scope defining which logs to retrieve. Personal logs are not included
      in historical retrieval as they are not stored.
      
      .soulfire.v1.LogScope scope = 4;
      Specified by:
      hasScope in interface PreviousLogRequestOrBuilder
      Returns:
      Whether the scope field is set.
    • getScope

      public LogScope getScope()
      The scope defining which logs to retrieve. Personal logs are not included
      in historical retrieval as they are not stored.
      
      .soulfire.v1.LogScope scope = 4;
      Specified by:
      getScope in interface PreviousLogRequestOrBuilder
      Returns:
      The scope.
    • setScope

      public PreviousLogRequest.Builder setScope(LogScope value)
      The scope defining which logs to retrieve. Personal logs are not included
      in historical retrieval as they are not stored.
      
      .soulfire.v1.LogScope scope = 4;
    • setScope

      public PreviousLogRequest.Builder setScope(LogScope.Builder builderForValue)
      The scope defining which logs to retrieve. Personal logs are not included
      in historical retrieval as they are not stored.
      
      .soulfire.v1.LogScope scope = 4;
    • mergeScope

      public PreviousLogRequest.Builder mergeScope(LogScope value)
      The scope defining which logs to retrieve. Personal logs are not included
      in historical retrieval as they are not stored.
      
      .soulfire.v1.LogScope scope = 4;
    • clearScope

      public PreviousLogRequest.Builder clearScope()
      The scope defining which logs to retrieve. Personal logs are not included
      in historical retrieval as they are not stored.
      
      .soulfire.v1.LogScope scope = 4;
    • getScopeBuilder

      public LogScope.Builder getScopeBuilder()
      The scope defining which logs to retrieve. Personal logs are not included
      in historical retrieval as they are not stored.
      
      .soulfire.v1.LogScope scope = 4;
    • getScopeOrBuilder

      public LogScopeOrBuilder getScopeOrBuilder()
      The scope defining which logs to retrieve. Personal logs are not included
      in historical retrieval as they are not stored.
      
      .soulfire.v1.LogScope scope = 4;
      Specified by:
      getScopeOrBuilder in interface PreviousLogRequestOrBuilder
    • getCount

      public int getCount()
      The maximum number of recent log entries to retrieve.
      Must not exceed 300 (the server's maximum log buffer size).
      Returns the newest entries that match the scope, up to this count.
      
      int32 count = 3;
      Specified by:
      getCount in interface PreviousLogRequestOrBuilder
      Returns:
      The count.
    • setCount

      public PreviousLogRequest.Builder setCount(int value)
      The maximum number of recent log entries to retrieve.
      Must not exceed 300 (the server's maximum log buffer size).
      Returns the newest entries that match the scope, up to this count.
      
      int32 count = 3;
      Parameters:
      value - The count to set.
      Returns:
      This builder for chaining.
    • clearCount

      public PreviousLogRequest.Builder clearCount()
      The maximum number of recent log entries to retrieve.
      Must not exceed 300 (the server's maximum log buffer size).
      Returns the newest entries that match the scope, up to this count.
      
      int32 count = 3;
      Returns:
      This builder for chaining.