public static final class TailLogEntriesResponse.Builder extends GeneratedMessageV3.Builder<TailLogEntriesResponse.Builder> implements TailLogEntriesResponseOrBuilder
Result returned from TailLogEntries
.
Protobuf type google.logging.v2.TailLogEntriesResponse
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllEntries(Iterable<? extends LogEntry> values)
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;
Parameter
Name | Description |
values | Iterable<? extends com.google.logging.v2.LogEntry>
|
Returns
addAllSuppressionInfo(Iterable<? extends TailLogEntriesResponse.SuppressionInfo> values)
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;
Parameter
Name | Description |
values | Iterable<? extends com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo>
|
Returns
addEntries(LogEntry value)
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;
Parameter
Returns
addEntries(LogEntry.Builder builderForValue)
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;
Parameter
Returns
addEntries(int index, LogEntry value)
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;
Parameters
Returns
addEntries(int index, LogEntry.Builder builderForValue)
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;
Parameters
Returns
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;
Returns
addEntriesBuilder(int index)
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;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TailLogEntriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
addSuppressionInfo(TailLogEntriesResponse.SuppressionInfo value)
public TailLogEntriesResponse.Builder addSuppressionInfo(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;
Parameter
Returns
addSuppressionInfo(TailLogEntriesResponse.SuppressionInfo.Builder builderForValue)
public TailLogEntriesResponse.Builder addSuppressionInfo(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;
Parameter
Returns
addSuppressionInfo(int index, TailLogEntriesResponse.SuppressionInfo value)
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;
Parameters
Returns
addSuppressionInfo(int index, TailLogEntriesResponse.SuppressionInfo.Builder builderForValue)
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;
Parameters
Returns
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;
Returns
addSuppressionInfoBuilder(int index)
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;
Parameter
Returns
build()
public TailLogEntriesResponse build()
Returns
buildPartial()
public TailLogEntriesResponse buildPartial()
Returns
clear()
public TailLogEntriesResponse.Builder clear()
Returns
Overrides
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;
Returns
clearField(Descriptors.FieldDescriptor field)
public TailLogEntriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TailLogEntriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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;
Returns
clone()
public TailLogEntriesResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public TailLogEntriesResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEntries(int index)
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;
Parameter
Returns
getEntriesBuilder(int index)
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;
Parameter
Returns
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;
Returns
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;
Returns
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;
Returns
getEntriesOrBuilder(int index)
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;
Parameter
Returns
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;
Returns
Type | Description |
List<? extends com.google.logging.v2.LogEntryOrBuilder> | |
getSuppressionInfo(int index)
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;
Parameter
Returns
getSuppressionInfoBuilder(int index)
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;
Parameter
Returns
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;
Returns
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;
Returns
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;
Returns
getSuppressionInfoOrBuilder(int index)
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;
Parameter
Returns
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;
Returns
Type | Description |
List<? extends com.google.logging.v2.TailLogEntriesResponse.SuppressionInfoOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TailLogEntriesResponse other)
public TailLogEntriesResponse.Builder mergeFrom(TailLogEntriesResponse other)
Parameter
Returns
public TailLogEntriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TailLogEntriesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TailLogEntriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeEntries(int index)
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;
Parameter
Returns
removeSuppressionInfo(int index)
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;
Parameter
Returns
setEntries(int index, LogEntry value)
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;
Parameters
Returns
setEntries(int index, LogEntry.Builder builderForValue)
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;
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TailLogEntriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TailLogEntriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSuppressionInfo(int index, TailLogEntriesResponse.SuppressionInfo value)
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;
Parameters
Returns
setSuppressionInfo(int index, TailLogEntriesResponse.SuppressionInfo.Builder builderForValue)
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;
Parameters
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final TailLogEntriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides