Class LogEntry (2.47.0)

public final class LogEntry extends GeneratedMessageV3 implements LogEntryOrBuilder

An individual entry in a log.

Protobuf type google.cloud.securitycenter.v2.LogEntry

Implements

LogEntryOrBuilder

Static Fields

CLOUD_LOGGING_ENTRY_FIELD_NUMBER

public static final int CLOUD_LOGGING_ENTRY_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static LogEntry getDefaultInstance()
Returns
TypeDescription
LogEntry

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static LogEntry.Builder newBuilder()
Returns
TypeDescription
LogEntry.Builder

newBuilder(LogEntry prototype)

public static LogEntry.Builder newBuilder(LogEntry prototype)
Parameter
NameDescription
prototypeLogEntry
Returns
TypeDescription
LogEntry.Builder

parseDelimitedFrom(InputStream input)

public static LogEntry parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LogEntry
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LogEntry parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogEntry
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static LogEntry parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
LogEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static LogEntry parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static LogEntry parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
LogEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static LogEntry parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static LogEntry parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
LogEntry
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static LogEntry parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogEntry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static LogEntry parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
LogEntry
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static LogEntry parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogEntry
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static LogEntry parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
LogEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static LogEntry parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogEntry
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<LogEntry> parser()
Returns
TypeDescription
Parser<LogEntry>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCloudLoggingEntry()

public CloudLoggingEntry getCloudLoggingEntry()

An individual entry in a log stored in Cloud Logging.

.google.cloud.securitycenter.v2.CloudLoggingEntry cloud_logging_entry = 1;

Returns
TypeDescription
CloudLoggingEntry

The cloudLoggingEntry.

getCloudLoggingEntryOrBuilder()

public CloudLoggingEntryOrBuilder getCloudLoggingEntryOrBuilder()

An individual entry in a log stored in Cloud Logging.

.google.cloud.securitycenter.v2.CloudLoggingEntry cloud_logging_entry = 1;

Returns
TypeDescription
CloudLoggingEntryOrBuilder

getDefaultInstanceForType()

public LogEntry getDefaultInstanceForType()
Returns
TypeDescription
LogEntry

getLogEntryCase()

public LogEntry.LogEntryCase getLogEntryCase()
Returns
TypeDescription
LogEntry.LogEntryCase

getParserForType()

public Parser<LogEntry> getParserForType()
Returns
TypeDescription
Parser<LogEntry>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCloudLoggingEntry()

public boolean hasCloudLoggingEntry()

An individual entry in a log stored in Cloud Logging.

.google.cloud.securitycenter.v2.CloudLoggingEntry cloud_logging_entry = 1;

Returns
TypeDescription
boolean

Whether the cloudLoggingEntry field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public LogEntry.Builder newBuilderForType()
Returns
TypeDescription
LogEntry.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected LogEntry.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
LogEntry.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public LogEntry.Builder toBuilder()
Returns
TypeDescription
LogEntry.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException