Class LogEntry.Builder (2.49.0)

public static final class LogEntry.Builder extends GeneratedMessageV3.Builder<LogEntry.Builder> implements LogEntryOrBuilder

An individual entry in a log.

Protobuf type google.cloud.securitycenter.v2.LogEntry

Implements

LogEntryOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LogEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LogEntry.Builder
Overrides

build()

public LogEntry build()
Returns
TypeDescription
LogEntry

buildPartial()

public LogEntry buildPartial()
Returns
TypeDescription
LogEntry

clear()

public LogEntry.Builder clear()
Returns
TypeDescription
LogEntry.Builder
Overrides

clearCloudLoggingEntry()

public LogEntry.Builder clearCloudLoggingEntry()

An individual entry in a log stored in Cloud Logging.

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

Returns
TypeDescription
LogEntry.Builder

clearField(Descriptors.FieldDescriptor field)

public LogEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LogEntry.Builder
Overrides

clearLogEntry()

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

clearOneof(Descriptors.OneofDescriptor oneof)

public LogEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
LogEntry.Builder
Overrides

clone()

public LogEntry.Builder clone()
Returns
TypeDescription
LogEntry.Builder
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.

getCloudLoggingEntryBuilder()

public CloudLoggingEntry.Builder getCloudLoggingEntryBuilder()

An individual entry in a log stored in Cloud Logging.

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

Returns
TypeDescription
CloudLoggingEntry.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLogEntryCase()

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

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCloudLoggingEntry(CloudLoggingEntry value)

public LogEntry.Builder mergeCloudLoggingEntry(CloudLoggingEntry value)

An individual entry in a log stored in Cloud Logging.

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

Parameter
NameDescription
valueCloudLoggingEntry
Returns
TypeDescription
LogEntry.Builder

mergeFrom(LogEntry other)

public LogEntry.Builder mergeFrom(LogEntry other)
Parameter
NameDescription
otherLogEntry
Returns
TypeDescription
LogEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LogEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LogEntry.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LogEntry.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
LogEntry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LogEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LogEntry.Builder
Overrides

setCloudLoggingEntry(CloudLoggingEntry value)

public LogEntry.Builder setCloudLoggingEntry(CloudLoggingEntry value)

An individual entry in a log stored in Cloud Logging.

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

Parameter
NameDescription
valueCloudLoggingEntry
Returns
TypeDescription
LogEntry.Builder

setCloudLoggingEntry(CloudLoggingEntry.Builder builderForValue)

public LogEntry.Builder setCloudLoggingEntry(CloudLoggingEntry.Builder builderForValue)

An individual entry in a log stored in Cloud Logging.

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

Parameter
NameDescription
builderForValueCloudLoggingEntry.Builder
Returns
TypeDescription
LogEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LogEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LogEntry.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public LogEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
LogEntry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LogEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LogEntry.Builder
Overrides