Package com.google.logging.v2
Interface LogSplitOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LogSplit,LogSplit.Builder
public interface LogSplitOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintgetIndex()The index of this LogEntry in the sequence of split log entries.intThe total number of log entries that the original LogEntry was split into.getUid()A globally unique identifier for all log entries in a sequence of split log entries.com.google.protobuf.ByteStringA globally unique identifier for all log entries in a sequence of split log entries.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getUid
String getUid()A globally unique identifier for all log entries in a sequence of split log entries. All log entries with the same |LogSplit.uid| are assumed to be part of the same sequence of split log entries.
string uid = 1;- Returns:
- The uid.
-
getUidBytes
com.google.protobuf.ByteString getUidBytes()A globally unique identifier for all log entries in a sequence of split log entries. All log entries with the same |LogSplit.uid| are assumed to be part of the same sequence of split log entries.
string uid = 1;- Returns:
- The bytes for uid.
-
getIndex
int getIndex()The index of this LogEntry in the sequence of split log entries. Log entries are given |index| values 0, 1, ..., n-1 for a sequence of n log entries.
int32 index = 2;- Returns:
- The index.
-
getTotalSplits
int getTotalSplits()The total number of log entries that the original LogEntry was split into.
int32 total_splits = 3;- Returns:
- The totalSplits.
-