Class TailLogEntriesResponse (3.18.0)

public final class TailLogEntriesResponse extends GeneratedMessageV3 implements TailLogEntriesResponseOrBuilder

Result returned from TailLogEntries.

Protobuf type google.logging.v2.TailLogEntriesResponse

Static Fields

ENTRIES_FIELD_NUMBER

public static final int ENTRIES_FIELD_NUMBER
Field Value
Type Description
int

SUPPRESSION_INFO_FIELD_NUMBER

public static final int SUPPRESSION_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TailLogEntriesResponse getDefaultInstance()
Returns
Type Description
TailLogEntriesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TailLogEntriesResponse.Builder newBuilder()
Returns
Type Description
TailLogEntriesResponse.Builder

newBuilder(TailLogEntriesResponse prototype)

public static TailLogEntriesResponse.Builder newBuilder(TailLogEntriesResponse prototype)
Parameter
Name Description
prototype TailLogEntriesResponse
Returns
Type Description
TailLogEntriesResponse.Builder

parseDelimitedFrom(InputStream input)

public static TailLogEntriesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TailLogEntriesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TailLogEntriesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TailLogEntriesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TailLogEntriesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TailLogEntriesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TailLogEntriesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TailLogEntriesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TailLogEntriesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TailLogEntriesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TailLogEntriesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TailLogEntriesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TailLogEntriesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TailLogEntriesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TailLogEntriesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TailLogEntriesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TailLogEntriesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TailLogEntriesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TailLogEntriesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TailLogEntriesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TailLogEntriesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TailLogEntriesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TailLogEntriesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TailLogEntriesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TailLogEntriesResponse> parser()
Returns
Type Description
Parser<TailLogEntriesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public TailLogEntriesResponse getDefaultInstanceForType()
Returns
Type Description
TailLogEntriesResponse

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

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>

getParserForType()

public Parser<TailLogEntriesResponse> getParserForType()
Returns
Type Description
Parser<TailLogEntriesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

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>

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TailLogEntriesResponse.Builder newBuilderForType()
Returns
Type Description
TailLogEntriesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TailLogEntriesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TailLogEntriesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TailLogEntriesResponse.Builder toBuilder()
Returns
Type Description
TailLogEntriesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException