public static final class LogSplit.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<LogSplit.Builder> implements LogSplitOrBuilder
Additional information used to correlate multiple log entries. Used when a single LogEntry would exceed the Google Cloud Logging size limit and is split across multiple log entries.Protobuf type
google.logging.v2.LogSplit
Modifier and Type | Method and Description |
---|---|
LogSplit.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LogSplit |
build() |
LogSplit |
buildPartial() |
LogSplit.Builder |
clear() |
LogSplit.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
LogSplit.Builder |
clearIndex()
The index of this LogEntry in the sequence of split log entries.
|
LogSplit.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
LogSplit.Builder |
clearTotalSplits()
The total number of log entries that the original LogEntry was split into.
|
LogSplit.Builder |
clearUid()
A globally unique identifier for all log entries in a sequence of split log
entries.
|
LogSplit.Builder |
clone() |
LogSplit |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getIndex()
The index of this LogEntry in the sequence of split log entries.
|
int |
getTotalSplits()
The total number of log entries that the original LogEntry was split into.
|
String |
getUid()
A globally unique identifier for all log entries in a sequence of split log
entries.
|
com.google.protobuf.ByteString |
getUidBytes()
A globally unique identifier for all log entries in a sequence of split log
entries.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
LogSplit.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
LogSplit.Builder |
mergeFrom(LogSplit other) |
LogSplit.Builder |
mergeFrom(com.google.protobuf.Message other) |
LogSplit.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
LogSplit.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
LogSplit.Builder |
setIndex(int value)
The index of this LogEntry in the sequence of split log entries.
|
LogSplit.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
LogSplit.Builder |
setTotalSplits(int value)
The total number of log entries that the original LogEntry was split into.
|
LogSplit.Builder |
setUid(String value)
A globally unique identifier for all log entries in a sequence of split log
entries.
|
LogSplit.Builder |
setUidBytes(com.google.protobuf.ByteString value)
A globally unique identifier for all log entries in a sequence of split log
entries.
|
LogSplit.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<LogSplit.Builder>
public LogSplit.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<LogSplit.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<LogSplit.Builder>
public LogSplit getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public LogSplit build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public LogSplit buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public LogSplit.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<LogSplit.Builder>
public LogSplit.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<LogSplit.Builder>
public LogSplit.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<LogSplit.Builder>
public LogSplit.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<LogSplit.Builder>
public LogSplit.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<LogSplit.Builder>
public LogSplit.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<LogSplit.Builder>
public LogSplit.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LogSplit.Builder>
public LogSplit.Builder mergeFrom(LogSplit other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<LogSplit.Builder>
public LogSplit.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<LogSplit.Builder>
IOException
public 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;
getUid
in interface LogSplitOrBuilder
public 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;
getUidBytes
in interface LogSplitOrBuilder
public LogSplit.Builder setUid(String value)
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;
value
- The uid to set.public LogSplit.Builder clearUid()
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;
public LogSplit.Builder setUidBytes(com.google.protobuf.ByteString value)
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;
value
- The bytes for uid to set.public 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;
getIndex
in interface LogSplitOrBuilder
public LogSplit.Builder setIndex(int value)
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;
value
- The index to set.public LogSplit.Builder clearIndex()
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;
public int getTotalSplits()
The total number of log entries that the original LogEntry was split into.
int32 total_splits = 3;
getTotalSplits
in interface LogSplitOrBuilder
public LogSplit.Builder setTotalSplits(int value)
The total number of log entries that the original LogEntry was split into.
int32 total_splits = 3;
value
- The totalSplits to set.public LogSplit.Builder clearTotalSplits()
The total number of log entries that the original LogEntry was split into.
int32 total_splits = 3;
public final LogSplit.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LogSplit.Builder>
public final LogSplit.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<LogSplit.Builder>
Copyright © 2023 Google LLC. All rights reserved.