Class TailLogEntriesResponse.Builder

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

public static final class TailLogEntriesResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<TailLogEntriesResponse.Builder> implements TailLogEntriesResponseOrBuilder
 Result returned from `TailLogEntries`.
 
Protobuf type google.logging.v2.TailLogEntriesResponse
  • 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<TailLogEntriesResponse.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<TailLogEntriesResponse.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<TailLogEntriesResponse.Builder>
    • getDefaultInstanceForType

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

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

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

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

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

      public List<LogEntry> getEntriesList()
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
      Specified by:
      getEntriesList in interface TailLogEntriesResponseOrBuilder
    • getEntriesCount

      public int getEntriesCount()
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
      Specified by:
      getEntriesCount in interface TailLogEntriesResponseOrBuilder
    • getEntries

      public LogEntry getEntries(int index)
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
      Specified by:
      getEntries in interface TailLogEntriesResponseOrBuilder
    • setEntries

      public TailLogEntriesResponse.Builder setEntries(int index, LogEntry value)
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • setEntries

      public TailLogEntriesResponse.Builder setEntries(int index, LogEntry.Builder builderForValue)
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • addEntries

      public TailLogEntriesResponse.Builder addEntries(LogEntry value)
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • addEntries

      public TailLogEntriesResponse.Builder addEntries(int index, LogEntry value)
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • addEntries

      public TailLogEntriesResponse.Builder addEntries(LogEntry.Builder builderForValue)
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • addEntries

      public TailLogEntriesResponse.Builder addEntries(int index, LogEntry.Builder builderForValue)
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • addAllEntries

      public TailLogEntriesResponse.Builder addAllEntries(Iterable<? extends LogEntry> values)
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • clearEntries

      public TailLogEntriesResponse.Builder clearEntries()
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • removeEntries

      public TailLogEntriesResponse.Builder removeEntries(int index)
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • getEntriesBuilder

      public LogEntry.Builder getEntriesBuilder(int index)
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • getEntriesOrBuilder

      public LogEntryOrBuilder getEntriesOrBuilder(int index)
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
      Specified by:
      getEntriesOrBuilder in interface TailLogEntriesResponseOrBuilder
    • getEntriesOrBuilderList

      public List<? extends LogEntryOrBuilder> getEntriesOrBuilderList()
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
      Specified by:
      getEntriesOrBuilderList in interface TailLogEntriesResponseOrBuilder
    • addEntriesBuilder

      public LogEntry.Builder addEntriesBuilder()
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • addEntriesBuilder

      public LogEntry.Builder addEntriesBuilder(int index)
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • getEntriesBuilderList

      public List<LogEntry.Builder> getEntriesBuilderList()
       A list of log entries. Each response in the stream will order entries with
       increasing values of `LogEntry.timestamp`. Ordering is not guaranteed
       between separate responses.
       
      repeated .google.logging.v2.LogEntry entries = 1;
    • getSuppressionInfoList

      public List<TailLogEntriesResponse.SuppressionInfo> getSuppressionInfoList()
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
      Specified by:
      getSuppressionInfoList in interface TailLogEntriesResponseOrBuilder
    • getSuppressionInfoCount

      public int getSuppressionInfoCount()
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
      Specified by:
      getSuppressionInfoCount in interface TailLogEntriesResponseOrBuilder
    • getSuppressionInfo

      public TailLogEntriesResponse.SuppressionInfo getSuppressionInfo(int index)
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
      Specified by:
      getSuppressionInfo in interface TailLogEntriesResponseOrBuilder
    • setSuppressionInfo

      public TailLogEntriesResponse.Builder setSuppressionInfo(int index, TailLogEntriesResponse.SuppressionInfo value)
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
    • setSuppressionInfo

      public TailLogEntriesResponse.Builder setSuppressionInfo(int index, TailLogEntriesResponse.SuppressionInfo.Builder builderForValue)
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
    • addSuppressionInfo

       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
    • addSuppressionInfo

      public TailLogEntriesResponse.Builder addSuppressionInfo(int index, TailLogEntriesResponse.SuppressionInfo value)
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
    • addSuppressionInfo

       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
    • addSuppressionInfo

      public TailLogEntriesResponse.Builder addSuppressionInfo(int index, TailLogEntriesResponse.SuppressionInfo.Builder builderForValue)
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
    • addAllSuppressionInfo

      public TailLogEntriesResponse.Builder addAllSuppressionInfo(Iterable<? extends TailLogEntriesResponse.SuppressionInfo> values)
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
    • clearSuppressionInfo

      public TailLogEntriesResponse.Builder clearSuppressionInfo()
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
    • removeSuppressionInfo

      public TailLogEntriesResponse.Builder removeSuppressionInfo(int index)
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
    • getSuppressionInfoBuilder

      public TailLogEntriesResponse.SuppressionInfo.Builder getSuppressionInfoBuilder(int index)
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
    • getSuppressionInfoOrBuilder

      public TailLogEntriesResponse.SuppressionInfoOrBuilder getSuppressionInfoOrBuilder(int index)
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
      Specified by:
      getSuppressionInfoOrBuilder in interface TailLogEntriesResponseOrBuilder
    • getSuppressionInfoOrBuilderList

      public List<? extends TailLogEntriesResponse.SuppressionInfoOrBuilder> getSuppressionInfoOrBuilderList()
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
      Specified by:
      getSuppressionInfoOrBuilderList in interface TailLogEntriesResponseOrBuilder
    • addSuppressionInfoBuilder

      public TailLogEntriesResponse.SuppressionInfo.Builder addSuppressionInfoBuilder()
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
    • addSuppressionInfoBuilder

      public TailLogEntriesResponse.SuppressionInfo.Builder addSuppressionInfoBuilder(int index)
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;
    • getSuppressionInfoBuilderList

      public List<TailLogEntriesResponse.SuppressionInfo.Builder> getSuppressionInfoBuilderList()
       If entries that otherwise would have been included in the session were not
       sent back to the client, counts of relevant entries omitted from the
       session with the reason that they were not included. There will be at most
       one of each reason per response. The counts represent the number of
       suppressed entries since the last streamed response.
       
      repeated .google.logging.v2.TailLogEntriesResponse.SuppressionInfo suppression_info = 2;