public static final class CloudLoggingEntry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CloudLoggingEntry.Builder> implements CloudLoggingEntryOrBuilder
Metadata taken from a [Cloud Logging LogEntry](https://cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry)Protobuf type
google.cloud.securitycenter.v1.CloudLoggingEntry| Modifier and Type | Method and Description |
|---|---|
CloudLoggingEntry.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudLoggingEntry |
build() |
CloudLoggingEntry |
buildPartial() |
CloudLoggingEntry.Builder |
clear() |
CloudLoggingEntry.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CloudLoggingEntry.Builder |
clearInsertId()
A unique identifier for the log entry.
|
CloudLoggingEntry.Builder |
clearLogId()
The type of the log (part of `log_name`.
|
CloudLoggingEntry.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CloudLoggingEntry.Builder |
clearResourceContainer()
The organization, folder, or project of the monitored resource that
produced this log entry.
|
CloudLoggingEntry.Builder |
clearTimestamp()
The time the event described by the log entry occurred.
|
CloudLoggingEntry.Builder |
clone() |
CloudLoggingEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getInsertId()
A unique identifier for the log entry.
|
com.google.protobuf.ByteString |
getInsertIdBytes()
A unique identifier for the log entry.
|
String |
getLogId()
The type of the log (part of `log_name`.
|
com.google.protobuf.ByteString |
getLogIdBytes()
The type of the log (part of `log_name`.
|
String |
getResourceContainer()
The organization, folder, or project of the monitored resource that
produced this log entry.
|
com.google.protobuf.ByteString |
getResourceContainerBytes()
The organization, folder, or project of the monitored resource that
produced this log entry.
|
com.google.protobuf.Timestamp |
getTimestamp()
The time the event described by the log entry occurred.
|
com.google.protobuf.Timestamp.Builder |
getTimestampBuilder()
The time the event described by the log entry occurred.
|
com.google.protobuf.TimestampOrBuilder |
getTimestampOrBuilder()
The time the event described by the log entry occurred.
|
boolean |
hasTimestamp()
The time the event described by the log entry occurred.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
CloudLoggingEntry.Builder |
mergeFrom(CloudLoggingEntry other) |
CloudLoggingEntry.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CloudLoggingEntry.Builder |
mergeFrom(com.google.protobuf.Message other) |
CloudLoggingEntry.Builder |
mergeTimestamp(com.google.protobuf.Timestamp value)
The time the event described by the log entry occurred.
|
CloudLoggingEntry.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CloudLoggingEntry.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudLoggingEntry.Builder |
setInsertId(String value)
A unique identifier for the log entry.
|
CloudLoggingEntry.Builder |
setInsertIdBytes(com.google.protobuf.ByteString value)
A unique identifier for the log entry.
|
CloudLoggingEntry.Builder |
setLogId(String value)
The type of the log (part of `log_name`.
|
CloudLoggingEntry.Builder |
setLogIdBytes(com.google.protobuf.ByteString value)
The type of the log (part of `log_name`.
|
CloudLoggingEntry.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CloudLoggingEntry.Builder |
setResourceContainer(String value)
The organization, folder, or project of the monitored resource that
produced this log entry.
|
CloudLoggingEntry.Builder |
setResourceContainerBytes(com.google.protobuf.ByteString value)
The organization, folder, or project of the monitored resource that
produced this log entry.
|
CloudLoggingEntry.Builder |
setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
The time the event described by the log entry occurred.
|
CloudLoggingEntry.Builder |
setTimestamp(com.google.protobuf.Timestamp value)
The time the event described by the log entry occurred.
|
CloudLoggingEntry.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CloudLoggingEntry.Builder>public CloudLoggingEntry.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CloudLoggingEntry.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CloudLoggingEntry.Builder>public CloudLoggingEntry getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CloudLoggingEntry build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CloudLoggingEntry buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CloudLoggingEntry.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CloudLoggingEntry.Builder>public CloudLoggingEntry.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudLoggingEntry.Builder>public CloudLoggingEntry.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudLoggingEntry.Builder>public CloudLoggingEntry.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CloudLoggingEntry.Builder>public CloudLoggingEntry.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudLoggingEntry.Builder>public CloudLoggingEntry.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudLoggingEntry.Builder>public CloudLoggingEntry.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudLoggingEntry.Builder>public CloudLoggingEntry.Builder mergeFrom(CloudLoggingEntry other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CloudLoggingEntry.Builder>public CloudLoggingEntry.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudLoggingEntry.Builder>IOExceptionpublic String getInsertId()
A unique identifier for the log entry.
string insert_id = 1;getInsertId in interface CloudLoggingEntryOrBuilderpublic com.google.protobuf.ByteString getInsertIdBytes()
A unique identifier for the log entry.
string insert_id = 1;getInsertIdBytes in interface CloudLoggingEntryOrBuilderpublic CloudLoggingEntry.Builder setInsertId(String value)
A unique identifier for the log entry.
string insert_id = 1;value - The insertId to set.public CloudLoggingEntry.Builder clearInsertId()
A unique identifier for the log entry.
string insert_id = 1;public CloudLoggingEntry.Builder setInsertIdBytes(com.google.protobuf.ByteString value)
A unique identifier for the log entry.
string insert_id = 1;value - The bytes for insertId to set.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 the `LOG_ID` field in `LogEntry`.
string log_id = 2;getLogId in interface CloudLoggingEntryOrBuilderpublic com.google.protobuf.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;getLogIdBytes in interface CloudLoggingEntryOrBuilderpublic CloudLoggingEntry.Builder setLogId(String value)
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;value - The logId to set.public CloudLoggingEntry.Builder clearLogId()
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;public CloudLoggingEntry.Builder setLogIdBytes(com.google.protobuf.ByteString value)
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;value - The bytes for logId to set.public String getResourceContainer()
The organization, folder, or project of the monitored resource that produced this log entry.
string resource_container = 3;getResourceContainer in interface CloudLoggingEntryOrBuilderpublic com.google.protobuf.ByteString getResourceContainerBytes()
The organization, folder, or project of the monitored resource that produced this log entry.
string resource_container = 3;getResourceContainerBytes in interface CloudLoggingEntryOrBuilderpublic CloudLoggingEntry.Builder setResourceContainer(String value)
The organization, folder, or project of the monitored resource that produced this log entry.
string resource_container = 3;value - The resourceContainer to set.public CloudLoggingEntry.Builder clearResourceContainer()
The organization, folder, or project of the monitored resource that produced this log entry.
string resource_container = 3;public CloudLoggingEntry.Builder setResourceContainerBytes(com.google.protobuf.ByteString value)
The organization, folder, or project of the monitored resource that produced this log entry.
string resource_container = 3;value - The bytes for resourceContainer to set.public boolean hasTimestamp()
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;hasTimestamp in interface CloudLoggingEntryOrBuilderpublic com.google.protobuf.Timestamp getTimestamp()
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;getTimestamp in interface CloudLoggingEntryOrBuilderpublic CloudLoggingEntry.Builder setTimestamp(com.google.protobuf.Timestamp value)
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;public CloudLoggingEntry.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;public CloudLoggingEntry.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;public CloudLoggingEntry.Builder clearTimestamp()
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;getTimestampOrBuilder in interface CloudLoggingEntryOrBuilderpublic final CloudLoggingEntry.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudLoggingEntry.Builder>public final CloudLoggingEntry.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudLoggingEntry.Builder>Copyright © 2024 Google LLC. All rights reserved.