Class TailLogEntriesResponse.Builder (3.17.2)

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
Type Description
Descriptor

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
Type Description
TailLogEntriesResponse.Builder

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
Type Description
TailLogEntriesResponse.Builder

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
Name Description
value LogEntry
Returns
Type Description
TailLogEntriesResponse.Builder

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
Name Description
builderForValue LogEntry.Builder
Returns
Type Description
TailLogEntriesResponse.Builder

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
Name Description
index int
value LogEntry
Returns
Type Description
TailLogEntriesResponse.Builder

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
Name Description
index int
builderForValue LogEntry.Builder
Returns
Type Description
TailLogEntriesResponse.Builder

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
Type Description
LogEntry.Builder

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
Name Description
index int
Returns
Type Description
LogEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TailLogEntriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TailLogEntriesResponse.Builder
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
Name Description
value TailLogEntriesResponse.SuppressionInfo
Returns
Type Description
TailLogEntriesResponse.Builder

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
Name Description
builderForValue TailLogEntriesResponse.SuppressionInfo.Builder
Returns
Type Description
TailLogEntriesResponse.Builder

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
Name Description
index int
value TailLogEntriesResponse.SuppressionInfo
Returns
Type Description
TailLogEntriesResponse.Builder

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
Name Description
index int
builderForValue TailLogEntriesResponse.SuppressionInfo.Builder
Returns
Type Description
TailLogEntriesResponse.Builder

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
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder

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
Name Description
index int
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder

build()

public TailLogEntriesResponse build()
Returns
Type Description
TailLogEntriesResponse

buildPartial()

public TailLogEntriesResponse buildPartial()
Returns
Type Description
TailLogEntriesResponse

clear()

public TailLogEntriesResponse.Builder clear()
Returns
Type Description
TailLogEntriesResponse.Builder
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
Type Description
TailLogEntriesResponse.Builder

clearField(Descriptors.FieldDescriptor field)

public TailLogEntriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TailLogEntriesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TailLogEntriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TailLogEntriesResponse.Builder
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
Type Description
TailLogEntriesResponse.Builder

clone()

public TailLogEntriesResponse.Builder clone()
Returns
Type Description
TailLogEntriesResponse.Builder
Overrides

getDefaultInstanceForType()

public TailLogEntriesResponse getDefaultInstanceForType()
Returns
Type Description
TailLogEntriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Name Description
index int
Returns
Type Description
LogEntry

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
Name Description
index int
Returns
Type Description
LogEntry.Builder

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
Type Description
List<Builder>

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
Type Description
int

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
Type Description
List<LogEntry>

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
Name Description
index int
Returns
Type Description
LogEntryOrBuilder

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
Name Description
index int
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo

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
Name Description
index int
Returns
Type Description
TailLogEntriesResponse.SuppressionInfo.Builder

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
Type Description
List<Builder>

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
Type Description
int

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
Type Description
List<SuppressionInfo>

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
Name Description
index int
Returns
Type Description
TailLogEntriesResponse.SuppressionInfoOrBuilder

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TailLogEntriesResponse other)

public TailLogEntriesResponse.Builder mergeFrom(TailLogEntriesResponse other)
Parameter
Name Description
other TailLogEntriesResponse
Returns
Type Description
TailLogEntriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TailLogEntriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TailLogEntriesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TailLogEntriesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TailLogEntriesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TailLogEntriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TailLogEntriesResponse.Builder
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
Name Description
index int
Returns
Type Description
TailLogEntriesResponse.Builder

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
Name Description
index int
Returns
Type Description
TailLogEntriesResponse.Builder

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
Name Description
index int
value LogEntry
Returns
Type Description
TailLogEntriesResponse.Builder

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
Name Description
index int
builderForValue LogEntry.Builder
Returns
Type Description
TailLogEntriesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TailLogEntriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TailLogEntriesResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public TailLogEntriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TailLogEntriesResponse.Builder
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
Name Description
index int
value TailLogEntriesResponse.SuppressionInfo
Returns
Type Description
TailLogEntriesResponse.Builder

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
Name Description
index int
builderForValue TailLogEntriesResponse.SuppressionInfo.Builder
Returns
Type Description
TailLogEntriesResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final TailLogEntriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TailLogEntriesResponse.Builder
Overrides