Class CloudLoggingEntry (2.63.0)

public final class CloudLoggingEntry extends GeneratedMessageV3 implements CloudLoggingEntryOrBuilder

Metadata taken from a Cloud Logging LogEntry

Protobuf type google.cloud.securitycenter.v2.CloudLoggingEntry

Static Fields

INSERT_ID_FIELD_NUMBER

public static final int INSERT_ID_FIELD_NUMBER
Field Value
Type Description
int

LOG_ID_FIELD_NUMBER

public static final int LOG_ID_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_CONTAINER_FIELD_NUMBER

public static final int RESOURCE_CONTAINER_FIELD_NUMBER
Field Value
Type Description
int

TIMESTAMP_FIELD_NUMBER

public static final int TIMESTAMP_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudLoggingEntry getDefaultInstance()
Returns
Type Description
CloudLoggingEntry

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static CloudLoggingEntry.Builder newBuilder()
Returns
Type Description
CloudLoggingEntry.Builder

newBuilder(CloudLoggingEntry prototype)

public static CloudLoggingEntry.Builder newBuilder(CloudLoggingEntry prototype)
Parameter
Name Description
prototype CloudLoggingEntry
Returns
Type Description
CloudLoggingEntry.Builder

parseDelimitedFrom(InputStream input)

public static CloudLoggingEntry parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudLoggingEntry
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudLoggingEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudLoggingEntry
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CloudLoggingEntry parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CloudLoggingEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudLoggingEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudLoggingEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudLoggingEntry parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CloudLoggingEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudLoggingEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudLoggingEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudLoggingEntry parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CloudLoggingEntry
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudLoggingEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudLoggingEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CloudLoggingEntry parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CloudLoggingEntry
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudLoggingEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudLoggingEntry
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CloudLoggingEntry parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CloudLoggingEntry
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudLoggingEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CloudLoggingEntry
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CloudLoggingEntry> parser()
Returns
Type Description
Parser<CloudLoggingEntry>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CloudLoggingEntry getDefaultInstanceForType()
Returns
Type Description
CloudLoggingEntry

getInsertId()

public String getInsertId()

A unique identifier for the log entry.

string insert_id = 1;

Returns
Type Description
String

The insertId.

getInsertIdBytes()

public ByteString getInsertIdBytes()

A unique identifier for the log entry.

string insert_id = 1;

Returns
Type Description
ByteString

The bytes for insertId.

getLogId()

public 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 in LogEntry.

string log_id = 2;

Returns
Type Description
String

The logId.

getLogIdBytes()

public 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 in LogEntry.

string log_id = 2;

Returns
Type Description
ByteString

The bytes for logId.

getParserForType()

public Parser<CloudLoggingEntry> getParserForType()
Returns
Type Description
Parser<CloudLoggingEntry>
Overrides

getResourceContainer()

public String getResourceContainer()

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

string resource_container = 3;

Returns
Type Description
String

The resourceContainer.

getResourceContainerBytes()

public ByteString getResourceContainerBytes()

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

string resource_container = 3;

Returns
Type Description
ByteString

The bytes for resourceContainer.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTimestamp()

public Timestamp getTimestamp()

The time the event described by the log entry occurred.

.google.protobuf.Timestamp timestamp = 4;

Returns
Type Description
Timestamp

The timestamp.

getTimestampOrBuilder()

public TimestampOrBuilder getTimestampOrBuilder()

The time the event described by the log entry occurred.

.google.protobuf.Timestamp timestamp = 4;

Returns
Type Description
TimestampOrBuilder

hasTimestamp()

public boolean hasTimestamp()

The time the event described by the log entry occurred.

.google.protobuf.Timestamp timestamp = 4;

Returns
Type Description
boolean

Whether the timestamp field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CloudLoggingEntry.Builder newBuilderForType()
Returns
Type Description
CloudLoggingEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudLoggingEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CloudLoggingEntry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public CloudLoggingEntry.Builder toBuilder()
Returns
Type Description
CloudLoggingEntry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException