Reference documentation and code samples for the Stackdriver Logging V2 Client class LogSplit.
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.
Generated from protobuf message google.logging.v2.LogSplit
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uid |
string
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. |
↳ index |
int
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. |
↳ total_splits |
int
The 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. All log entries with the same |LogSplit.uid| are assumed to be part of the same sequence of split log entries.
Generated from protobuf field string uid = 1;
Returns | |
---|---|
Type | Description |
string |
setUid
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.
Generated from protobuf field string uid = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
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.
Generated from protobuf field int32 index = 2;
Returns | |
---|---|
Type | Description |
int |
setIndex
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.
Generated from protobuf field int32 index = 2;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getTotalSplits
The total number of log entries that the original LogEntry was split into.
Generated from protobuf field int32 total_splits = 3;
Returns | |
---|---|
Type | Description |
int |
setTotalSplits
The total number of log entries that the original LogEntry was split into.
Generated from protobuf field int32 total_splits = 3;
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |