- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.1
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.1
- 2.6.0
- 2.5.6
- 2.3.2
public static final class CloudLoggingEntry.Builder extends GeneratedMessageV3.Builder<CloudLoggingEntry.Builder> implements CloudLoggingEntryOrBuilder
Metadata taken from a Cloud Logging LogEntry
Protobuf type google.cloud.securitycenter.v2.CloudLoggingEntry
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CloudLoggingEntry.BuilderImplements
CloudLoggingEntryOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CloudLoggingEntry.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
build()
public CloudLoggingEntry build()
Returns | |
---|---|
Type | Description |
CloudLoggingEntry |
buildPartial()
public CloudLoggingEntry buildPartial()
Returns | |
---|---|
Type | Description |
CloudLoggingEntry |
clear()
public CloudLoggingEntry.Builder clear()
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
clearField(Descriptors.FieldDescriptor field)
public CloudLoggingEntry.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
clearInsertId()
public CloudLoggingEntry.Builder clearInsertId()
A unique identifier for the log entry.
string insert_id = 1;
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder | This builder for chaining. |
clearLogId()
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 in LogEntry
.
string log_id = 2;
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public CloudLoggingEntry.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
clearResourceContainer()
public CloudLoggingEntry.Builder clearResourceContainer()
The organization, folder, or project of the monitored resource that produced this log entry.
string resource_container = 3;
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder | This builder for chaining. |
clearTimestamp()
public CloudLoggingEntry.Builder clearTimestamp()
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
clone()
public CloudLoggingEntry.Builder clone()
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
getDefaultInstanceForType()
public CloudLoggingEntry getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
CloudLoggingEntry |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
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. |
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. |
getTimestampBuilder()
public Timestamp.Builder getTimestampBuilder()
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;
Returns | |
---|---|
Type | Description |
Builder |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CloudLoggingEntry other)
public CloudLoggingEntry.Builder mergeFrom(CloudLoggingEntry other)
Parameter | |
---|---|
Name | Description |
other | CloudLoggingEntry |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CloudLoggingEntry.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public CloudLoggingEntry.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
mergeTimestamp(Timestamp value)
public CloudLoggingEntry.Builder mergeTimestamp(Timestamp value)
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CloudLoggingEntry.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CloudLoggingEntry.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
setInsertId(String value)
public CloudLoggingEntry.Builder setInsertId(String value)
A unique identifier for the log entry.
string insert_id = 1;
Parameter | |
---|---|
Name | Description |
value | String The insertId to set. |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder | This builder for chaining. |
setInsertIdBytes(ByteString value)
public CloudLoggingEntry.Builder setInsertIdBytes(ByteString value)
A unique identifier for the log entry.
string insert_id = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for insertId to set. |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder | This builder for chaining. |
setLogId(String value)
public 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 in LogEntry
.
string log_id = 2;
Parameter | |
---|---|
Name | Description |
value | String The logId to set. |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder | This builder for chaining. |
setLogIdBytes(ByteString value)
public CloudLoggingEntry.Builder setLogIdBytes(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 in LogEntry
.
string log_id = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for logId to set. |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CloudLoggingEntry.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
setResourceContainer(String value)
public CloudLoggingEntry.Builder setResourceContainer(String value)
The organization, folder, or project of the monitored resource that produced this log entry.
string resource_container = 3;
Parameter | |
---|---|
Name | Description |
value | String The resourceContainer to set. |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder | This builder for chaining. |
setResourceContainerBytes(ByteString value)
public CloudLoggingEntry.Builder setResourceContainerBytes(ByteString value)
The organization, folder, or project of the monitored resource that produced this log entry.
string resource_container = 3;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for resourceContainer to set. |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder | This builder for chaining. |
setTimestamp(Timestamp value)
public CloudLoggingEntry.Builder setTimestamp(Timestamp value)
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;
Parameter | |
---|---|
Name | Description |
value | Timestamp |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
setTimestamp(Timestamp.Builder builderForValue)
public CloudLoggingEntry.Builder setTimestamp(Timestamp.Builder builderForValue)
The time the event described by the log entry occurred.
.google.protobuf.Timestamp timestamp = 4;
Parameter | |
---|---|
Name | Description |
builderForValue | Builder |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CloudLoggingEntry.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
CloudLoggingEntry.Builder |