public static final class LogSplit.Builder extends 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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > LogSplit.BuilderImplements
LogSplitOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public LogSplit.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LogSplit.Builder |
build()
public LogSplit build()
Type | Description |
LogSplit |
buildPartial()
public LogSplit buildPartial()
Type | Description |
LogSplit |
clear()
public LogSplit.Builder clear()
Type | Description |
LogSplit.Builder |
clearField(Descriptors.FieldDescriptor field)
public LogSplit.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
LogSplit.Builder |
clearIndex()
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;
Type | Description |
LogSplit.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public LogSplit.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
LogSplit.Builder |
clearTotalSplits()
public LogSplit.Builder clearTotalSplits()
The total number of log entries that the original LogEntry was split into.
int32 total_splits = 3;
Type | Description |
LogSplit.Builder | This builder for chaining. |
clearUid()
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;
Type | Description |
LogSplit.Builder | This builder for chaining. |
clone()
public LogSplit.Builder clone()
Type | Description |
LogSplit.Builder |
getDefaultInstanceForType()
public LogSplit getDefaultInstanceForType()
Type | Description |
LogSplit |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getIndex()
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;
Type | Description |
int | The index. |
getTotalSplits()
public int getTotalSplits()
The total number of log entries that the original LogEntry was split into.
int32 total_splits = 3;
Type | Description |
int | The totalSplits. |
getUid()
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;
Type | Description |
String | The uid. |
getUidBytes()
public 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;
Type | Description |
ByteString | The bytes for uid. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(LogSplit other)
public LogSplit.Builder mergeFrom(LogSplit other)
Name | Description |
other | LogSplit |
Type | Description |
LogSplit.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public LogSplit.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
LogSplit.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public LogSplit.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
LogSplit.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final LogSplit.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LogSplit.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public LogSplit.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
LogSplit.Builder |
setIndex(int value)
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;
Name | Description |
value | int The index to set. |
Type | Description |
LogSplit.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public LogSplit.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
LogSplit.Builder |
setTotalSplits(int value)
public LogSplit.Builder setTotalSplits(int value)
The total number of log entries that the original LogEntry was split into.
int32 total_splits = 3;
Name | Description |
value | int The totalSplits to set. |
Type | Description |
LogSplit.Builder | This builder for chaining. |
setUid(String value)
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;
Name | Description |
value | String The uid to set. |
Type | Description |
LogSplit.Builder | This builder for chaining. |
setUidBytes(ByteString value)
public LogSplit.Builder setUidBytes(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;
Name | Description |
value | ByteString The bytes for uid to set. |
Type | Description |
LogSplit.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final LogSplit.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
LogSplit.Builder |