Class LogSplit (0.14.1)

public final class LogSplit extends GeneratedMessageV3 implements LogSplitOrBuilder

Additional information used to correlate multiple LogEntries. Used when a single LogEntry would exceed the Google Cloud Logging size limit and is split across multiple entries.

Protobuf type google.events.cloud.audit.v1.LogSplit

Implements

LogSplitOrBuilder

Static Fields

INDEX_FIELD_NUMBER

public static final int INDEX_FIELD_NUMBER
Field Value
TypeDescription
int

TOTAL_SPLITS_FIELD_NUMBER

public static final int TOTAL_SPLITS_FIELD_NUMBER
Field Value
TypeDescription
int

UID_FIELD_NUMBER

public static final int UID_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LogSplit getDefaultInstance()
Returns
TypeDescription
LogSplit

getDescriptor()

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

newBuilder()

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

newBuilder(LogSplit prototype)

public static LogSplit.Builder newBuilder(LogSplit prototype)
Parameter
NameDescription
prototypeLogSplit
Returns
TypeDescription
LogSplit.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public LogSplit getDefaultInstanceForType()
Returns
TypeDescription
LogSplit

getIndex()

public int getIndex()

The index of this LogEntry in the sequence of split logs. LogEntries are given |index| values 0, 1, ..., n-1 for a sequence of n entries.

int32 index = 2;

Returns
TypeDescription
int

The index.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTotalSplits()

public int getTotalSplits()

The total number of logs that the original LogEntry was split into.

int32 total_splits = 3;

Returns
TypeDescription
int

The totalSplits.

getUid()

public String getUid()

A globally unique identifier for all LogEntries in a sequence of split logs. All LogEntries with the same |LogSplit.uid| are assumed to be part of the same sequence of split logs.

string uid = 1;

Returns
TypeDescription
String

The uid.

getUidBytes()

public ByteString getUidBytes()

A globally unique identifier for all LogEntries in a sequence of split logs. All LogEntries with the same |LogSplit.uid| are assumed to be part of the same sequence of split logs.

string uid = 1;

Returns
TypeDescription
ByteString

The bytes for uid.

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 LogSplit.Builder newBuilderForType()
Returns
TypeDescription
LogSplit.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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