Class TailLogEntriesResponse (3.8.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
TypeDescription
int

SUPPRESSION_INFO_FIELD_NUMBER

public static final int SUPPRESSION_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static TailLogEntriesResponse getDefaultInstance()
Returns
TypeDescription
TailLogEntriesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static TailLogEntriesResponse.Builder newBuilder()
Returns
TypeDescription
TailLogEntriesResponse.Builder

newBuilder(TailLogEntriesResponse prototype)

public static TailLogEntriesResponse.Builder newBuilder(TailLogEntriesResponse prototype)
Parameter
NameDescription
prototypeTailLogEntriesResponse
Returns
TypeDescription
TailLogEntriesResponse.Builder

parseDelimitedFrom(InputStream input)

public static TailLogEntriesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TailLogEntriesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TailLogEntriesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TailLogEntriesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static TailLogEntriesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
TailLogEntriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TailLogEntriesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TailLogEntriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TailLogEntriesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
TailLogEntriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TailLogEntriesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TailLogEntriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TailLogEntriesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
TailLogEntriesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TailLogEntriesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TailLogEntriesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static TailLogEntriesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
TailLogEntriesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TailLogEntriesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TailLogEntriesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static TailLogEntriesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
TailLogEntriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TailLogEntriesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
TailLogEntriesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<TailLogEntriesResponse> parser()
Returns
TypeDescription
Parser<TailLogEntriesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

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

getParserForType()

public Parser<TailLogEntriesResponse> getParserForType()
Returns
TypeDescription
Parser<TailLogEntriesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public TailLogEntriesResponse.Builder newBuilderForType()
Returns
TypeDescription
TailLogEntriesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TailLogEntriesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
TailLogEntriesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public TailLogEntriesResponse.Builder toBuilder()
Returns
TypeDescription
TailLogEntriesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException