Class TailLogEntriesResponse.Builder (3.10.4)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.logging.v2.TailLogEntriesResponse.SuppressionInfo>
Returns
TypeDescription
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
NameDescription
valueLogEntry
Returns
TypeDescription
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
NameDescription
builderForValueLogEntry.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueLogEntry
Returns
TypeDescription
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
NameDescription
indexint
builderForValueLogEntry.Builder
Returns
TypeDescription
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
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
TypeDescription
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
NameDescription
valueTailLogEntriesResponse.SuppressionInfo
Returns
TypeDescription
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
NameDescription
builderForValueTailLogEntriesResponse.SuppressionInfo.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueTailLogEntriesResponse.SuppressionInfo
Returns
TypeDescription
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
NameDescription
indexint
builderForValueTailLogEntriesResponse.SuppressionInfo.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
TailLogEntriesResponse.SuppressionInfo.Builder

build()

public TailLogEntriesResponse build()
Returns
TypeDescription
TailLogEntriesResponse

buildPartial()

public TailLogEntriesResponse buildPartial()
Returns
TypeDescription
TailLogEntriesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public TailLogEntriesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
TailLogEntriesResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public TailLogEntriesResponse.Builder clone()
Returns
TypeDescription
TailLogEntriesResponse.Builder
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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
TypeDescription
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
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
TypeDescription
TailLogEntriesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setUnknownFields(UnknownFieldSet unknownFields)

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