Class LogEntry.Builder (2.56.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.v1.LogEntry

Implements

LogEntryOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LogEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LogEntry.Builder
Overrides

build()

public LogEntry build()
Returns
Type Description
LogEntry

buildPartial()

public LogEntry buildPartial()
Returns
Type Description
LogEntry

clear()

public LogEntry.Builder clear()
Returns
Type Description
LogEntry.Builder
Overrides

clearCloudLoggingEntry()

public LogEntry.Builder clearCloudLoggingEntry()

An individual entry in a log stored in Cloud Logging.

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

Returns
Type Description
LogEntry.Builder

clearField(Descriptors.FieldDescriptor field)

public LogEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LogEntry.Builder
Overrides

clearLogEntry()

public LogEntry.Builder clearLogEntry()
Returns
Type Description
LogEntry.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public LogEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LogEntry.Builder
Overrides

clone()

public LogEntry.Builder clone()
Returns
Type Description
LogEntry.Builder
Overrides

getCloudLoggingEntry()

public CloudLoggingEntry getCloudLoggingEntry()

An individual entry in a log stored in Cloud Logging.

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

Returns
Type Description
CloudLoggingEntry

The cloudLoggingEntry.

getCloudLoggingEntryBuilder()

public CloudLoggingEntry.Builder getCloudLoggingEntryBuilder()

An individual entry in a log stored in Cloud Logging.

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

Returns
Type Description
CloudLoggingEntry.Builder

getCloudLoggingEntryOrBuilder()

public CloudLoggingEntryOrBuilder getCloudLoggingEntryOrBuilder()

An individual entry in a log stored in Cloud Logging.

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

Returns
Type Description
CloudLoggingEntryOrBuilder

getDefaultInstanceForType()

public LogEntry getDefaultInstanceForType()
Returns
Type Description
LogEntry

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLogEntryCase()

public LogEntry.LogEntryCase getLogEntryCase()
Returns
Type Description
LogEntry.LogEntryCase

hasCloudLoggingEntry()

public boolean hasCloudLoggingEntry()

An individual entry in a log stored in Cloud Logging.

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

Returns
Type Description
boolean

Whether the cloudLoggingEntry field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCloudLoggingEntry(CloudLoggingEntry value)

public LogEntry.Builder mergeCloudLoggingEntry(CloudLoggingEntry value)

An individual entry in a log stored in Cloud Logging.

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

Parameter
Name Description
value CloudLoggingEntry
Returns
Type Description
LogEntry.Builder

mergeFrom(LogEntry other)

public LogEntry.Builder mergeFrom(LogEntry other)
Parameter
Name Description
other LogEntry
Returns
Type Description
LogEntry.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LogEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
LogEntry.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public LogEntry.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
LogEntry.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LogEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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.v1.CloudLoggingEntry cloud_logging_entry = 1;

Parameter
Name Description
value CloudLoggingEntry
Returns
Type Description
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.v1.CloudLoggingEntry cloud_logging_entry = 1;

Parameter
Name Description
builderForValue CloudLoggingEntry.Builder
Returns
Type Description
LogEntry.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public LogEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LogEntry.Builder
Overrides

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

public LogEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LogEntry.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LogEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LogEntry.Builder
Overrides