Class ListLogEntriesResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<ListLogEntriesResponse.Builder>
com.google.logging.v2.ListLogEntriesResponse.Builder
All Implemented Interfaces:
ListLogEntriesResponseOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
ListLogEntriesResponse

public static final class ListLogEntriesResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListLogEntriesResponse.Builder> implements ListLogEntriesResponseOrBuilder
 Result returned from `ListLogEntries`.
 
Protobuf type google.logging.v2.ListLogEntriesResponse
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogEntriesResponse.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.GeneratedMessageV3.Builder<ListLogEntriesResponse.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.GeneratedMessageV3.Builder<ListLogEntriesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogEntriesResponse.Builder>
    • setField

      public ListLogEntriesResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogEntriesResponse.Builder>
    • clearField

      public ListLogEntriesResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogEntriesResponse.Builder>
    • clearOneof

      public ListLogEntriesResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogEntriesResponse.Builder>
    • setRepeatedField

      public ListLogEntriesResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogEntriesResponse.Builder>
    • addRepeatedField

      public ListLogEntriesResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogEntriesResponse.Builder>
    • mergeFrom

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

    • isInitialized

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

      public ListLogEntriesResponse.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<ListLogEntriesResponse.Builder>
      Throws:
      IOException
    • getEntriesList

      public List<LogEntry> getEntriesList()
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
      Specified by:
      getEntriesList in interface ListLogEntriesResponseOrBuilder
    • getEntriesCount

      public int getEntriesCount()
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
      Specified by:
      getEntriesCount in interface ListLogEntriesResponseOrBuilder
    • getEntries

      public LogEntry getEntries(int index)
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
      Specified by:
      getEntries in interface ListLogEntriesResponseOrBuilder
    • setEntries

      public ListLogEntriesResponse.Builder setEntries(int index, LogEntry value)
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • setEntries

      public ListLogEntriesResponse.Builder setEntries(int index, LogEntry.Builder builderForValue)
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • addEntries

      public ListLogEntriesResponse.Builder addEntries(LogEntry value)
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • addEntries

      public ListLogEntriesResponse.Builder addEntries(int index, LogEntry value)
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • addEntries

      public ListLogEntriesResponse.Builder addEntries(LogEntry.Builder builderForValue)
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • addEntries

      public ListLogEntriesResponse.Builder addEntries(int index, LogEntry.Builder builderForValue)
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • addAllEntries

      public ListLogEntriesResponse.Builder addAllEntries(Iterable<? extends LogEntry> values)
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • clearEntries

      public ListLogEntriesResponse.Builder clearEntries()
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • removeEntries

      public ListLogEntriesResponse.Builder removeEntries(int index)
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • getEntriesBuilder

      public LogEntry.Builder getEntriesBuilder(int index)
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • getEntriesOrBuilder

      public LogEntryOrBuilder getEntriesOrBuilder(int index)
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
      Specified by:
      getEntriesOrBuilder in interface ListLogEntriesResponseOrBuilder
    • getEntriesOrBuilderList

      public List<? extends LogEntryOrBuilder> getEntriesOrBuilderList()
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
      Specified by:
      getEntriesOrBuilderList in interface ListLogEntriesResponseOrBuilder
    • addEntriesBuilder

      public LogEntry.Builder addEntriesBuilder()
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • addEntriesBuilder

      public LogEntry.Builder addEntriesBuilder(int index)
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • getEntriesBuilderList

      public List<LogEntry.Builder> getEntriesBuilderList()
       A list of log entries.  If `entries` is empty, `nextPageToken` may still be
       returned, indicating that more entries may exist.  See `nextPageToken` for
       more information.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • 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 this
       method again using the value of `nextPageToken` as `pageToken`.
      
       If a value for `next_page_token` appears and the `entries` field is empty,
       it means that the search found no log entries so far but it did not have
       time to search all the possible log entries.  Retry the method with this
       value for `page_token` to continue the search.  Alternatively, consider
       speeding up the search by changing your filter to specify a single log name
       or resource type, or to narrow the time range of the search.
       
      string next_page_token = 2;
      Specified by:
      getNextPageToken in interface ListLogEntriesResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.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 this
       method again using the value of `nextPageToken` as `pageToken`.
      
       If a value for `next_page_token` appears and the `entries` field is empty,
       it means that the search found no log entries so far but it did not have
       time to search all the possible log entries.  Retry the method with this
       value for `page_token` to continue the search.  Alternatively, consider
       speeding up the search by changing your filter to specify a single log name
       or resource type, or to narrow the time range of the search.
       
      string next_page_token = 2;
      Specified by:
      getNextPageTokenBytes in interface ListLogEntriesResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • setNextPageToken

      public ListLogEntriesResponse.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 this
       method again using the value of `nextPageToken` as `pageToken`.
      
       If a value for `next_page_token` appears and the `entries` field is empty,
       it means that the search found no log entries so far but it did not have
       time to search all the possible log entries.  Retry the method with this
       value for `page_token` to continue the search.  Alternatively, consider
       speeding up the search by changing your filter to specify a single log name
       or resource type, or to narrow the time range of the search.
       
      string next_page_token = 2;
      Parameters:
      value - The nextPageToken to set.
      Returns:
      This builder for chaining.
    • clearNextPageToken

      public ListLogEntriesResponse.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 this
       method again using the value of `nextPageToken` as `pageToken`.
      
       If a value for `next_page_token` appears and the `entries` field is empty,
       it means that the search found no log entries so far but it did not have
       time to search all the possible log entries.  Retry the method with this
       value for `page_token` to continue the search.  Alternatively, consider
       speeding up the search by changing your filter to specify a single log name
       or resource type, or to narrow the time range of the search.
       
      string next_page_token = 2;
      Returns:
      This builder for chaining.
    • setNextPageTokenBytes

      public ListLogEntriesResponse.Builder setNextPageTokenBytes(com.google.protobuf.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 this
       method again using the value of `nextPageToken` as `pageToken`.
      
       If a value for `next_page_token` appears and the `entries` field is empty,
       it means that the search found no log entries so far but it did not have
       time to search all the possible log entries.  Retry the method with this
       value for `page_token` to continue the search.  Alternatively, consider
       speeding up the search by changing your filter to specify a single log name
       or resource type, or to narrow the time range of the search.
       
      string next_page_token = 2;
      Parameters:
      value - The bytes for nextPageToken to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ListLogEntriesResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogEntriesResponse.Builder>
    • mergeUnknownFields

      public final ListLogEntriesResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListLogEntriesResponse.Builder>