Interface CloudLoggingEntryOrBuilder (2.45.0)

public interface CloudLoggingEntryOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInsertId()

public abstract String getInsertId()

A unique identifier for the log entry.

string insert_id = 1;

Returns
TypeDescription
String

The insertId.

getInsertIdBytes()

public abstract ByteString getInsertIdBytes()

A unique identifier for the log entry.

string insert_id = 1;

Returns
TypeDescription
ByteString

The bytes for insertId.

getLogId()

public abstract String getLogId()

The type of the log (part of log_name. log_name is the resource name of the log to which this log entry belongs). For example: cloudresourcemanager.googleapis.com/activity. Note that this field is not URL-encoded, unlike the LOG_ID field in LogEntry.

string log_id = 2;

Returns
TypeDescription
String

The logId.

getLogIdBytes()

public abstract ByteString getLogIdBytes()

The type of the log (part of log_name. log_name is the resource name of the log to which this log entry belongs). For example: cloudresourcemanager.googleapis.com/activity. Note that this field is not URL-encoded, unlike the LOG_ID field in LogEntry.

string log_id = 2;

Returns
TypeDescription
ByteString

The bytes for logId.

getResourceContainer()

public abstract String getResourceContainer()

The organization, folder, or project of the monitored resource that produced this log entry.

string resource_container = 3;

Returns
TypeDescription
String

The resourceContainer.

getResourceContainerBytes()

public abstract ByteString getResourceContainerBytes()

The organization, folder, or project of the monitored resource that produced this log entry.

string resource_container = 3;

Returns
TypeDescription
ByteString

The bytes for resourceContainer.

getTimestamp()

public abstract Timestamp getTimestamp()

The time the event described by the log entry occurred.

.google.protobuf.Timestamp timestamp = 4;

Returns
TypeDescription
Timestamp

The timestamp.

getTimestampOrBuilder()

public abstract TimestampOrBuilder getTimestampOrBuilder()

The time the event described by the log entry occurred.

.google.protobuf.Timestamp timestamp = 4;

Returns
TypeDescription
TimestampOrBuilder

hasTimestamp()

public abstract boolean hasTimestamp()

The time the event described by the log entry occurred.

.google.protobuf.Timestamp timestamp = 4;

Returns
TypeDescription
boolean

Whether the timestamp field is set.