Class TailLogEntriesResponse.Builder (3.9.0)

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
TypeDescription
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
NameDescription
valuesIterable<? 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
NameDescription
valuesIterable<? 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
NameDescription
valueLogEntry
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
NameDescription
builderForValueLogEntry.Builder
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
NameDescription
indexint
valueLogEntry
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
NameDescription
indexint
builderForValueLogEntry.Builder
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
LogEntry.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TailLogEntriesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
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
NameDescription
indexint
builderForValueTailLogEntriesResponse.SuppressionInfo.Builder
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
NameDescription
indexint
Returns

build()

public TailLogEntriesResponse build()
Returns
TypeDescription
TailLogEntriesResponse

buildPartial()

public TailLogEntriesResponse buildPartial()
Returns
TypeDescription
TailLogEntriesResponse

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
NameDescription
fieldFieldDescriptor
Returns Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public TailLogEntriesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
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
TypeDescription
TailLogEntriesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
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
NameDescription
indexint
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
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
TypeDescription
List<? extends com.google.logging.v2.TailLogEntriesResponse.SuppressionInfoOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(TailLogEntriesResponse other)

public TailLogEntriesResponse.Builder mergeFrom(TailLogEntriesResponse other)
Parameter
NameDescription
otherTailLogEntriesResponse
Returns

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TailLogEntriesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public TailLogEntriesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TailLogEntriesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
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
NameDescription
indexint
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
NameDescription
indexint
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
NameDescription
indexint
valueLogEntry
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
NameDescription
indexint
builderForValueLogEntry.Builder
Returns

setField(Descriptors.FieldDescriptor field, Object value)

public TailLogEntriesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns Overrides

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

public TailLogEntriesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
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
NameDescription
indexint
builderForValueTailLogEntriesResponse.SuppressionInfo.Builder
Returns

setUnknownFields(UnknownFieldSet unknownFields)

public final TailLogEntriesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns Overrides