All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.events.cloud.audit.v1.LogEntryDataOrBuilder Maven / Gradle / Ivy

There is a newer version: 0.15.0
Show newest version
/*
 * Copyright 2023 Google LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/events/cloud/audit/v1/data.proto

package com.google.events.cloud.audit.v1;

public interface LogEntryDataOrBuilder
    extends
    // @@protoc_insertion_point(interface_extends:google.events.cloud.audit.v1.LogEntryData)
    com.google.protobuf.MessageOrBuilder {

  /**
   *
   *
   * 
   * The resource name of the log to which this log entry belongs.
   * 
* * string log_name = 12; * * @return The logName. */ java.lang.String getLogName(); /** * * *
   * The resource name of the log to which this log entry belongs.
   * 
* * string log_name = 12; * * @return The bytes for logName. */ com.google.protobuf.ByteString getLogNameBytes(); /** * * *
   * The monitored resource that produced this log entry.
   * Example: a log entry that reports a database error would be associated with
   * the monitored resource designating the particular database that reported
   * the error.
   * 
* * .google.api.MonitoredResource resource = 8; * * @return Whether the resource field is set. */ boolean hasResource(); /** * * *
   * The monitored resource that produced this log entry.
   * Example: a log entry that reports a database error would be associated with
   * the monitored resource designating the particular database that reported
   * the error.
   * 
* * .google.api.MonitoredResource resource = 8; * * @return The resource. */ com.google.api.MonitoredResource getResource(); /** * * *
   * The monitored resource that produced this log entry.
   * Example: a log entry that reports a database error would be associated with
   * the monitored resource designating the particular database that reported
   * the error.
   * 
* * .google.api.MonitoredResource resource = 8; */ com.google.api.MonitoredResourceOrBuilder getResourceOrBuilder(); /** * * *
   * The log entry payload, which is always an AuditLog for Cloud Audit Log
   * events.
   * 
* * .google.events.cloud.audit.v1.AuditLog proto_payload = 2; * * @return Whether the protoPayload field is set. */ boolean hasProtoPayload(); /** * * *
   * The log entry payload, which is always an AuditLog for Cloud Audit Log
   * events.
   * 
* * .google.events.cloud.audit.v1.AuditLog proto_payload = 2; * * @return The protoPayload. */ com.google.events.cloud.audit.v1.AuditLog getProtoPayload(); /** * * *
   * The log entry payload, which is always an AuditLog for Cloud Audit Log
   * events.
   * 
* * .google.events.cloud.audit.v1.AuditLog proto_payload = 2; */ com.google.events.cloud.audit.v1.AuditLogOrBuilder getProtoPayloadOrBuilder(); /** * * *
   * A unique identifier for the log entry.
   * 
* * string insert_id = 4; * * @return The insertId. */ java.lang.String getInsertId(); /** * * *
   * A unique identifier for the log entry.
   * 
* * string insert_id = 4; * * @return The bytes for insertId. */ com.google.protobuf.ByteString getInsertIdBytes(); /** * * *
   * A set of user-defined (key, value) data that provides additional
   * information about the log entry.
   * 
* * map<string, string> labels = 11; */ int getLabelsCount(); /** * * *
   * A set of user-defined (key, value) data that provides additional
   * information about the log entry.
   * 
* * map<string, string> labels = 11; */ boolean containsLabels(java.lang.String key); /** Use {@link #getLabelsMap()} instead. */ @java.lang.Deprecated java.util.Map getLabels(); /** * * *
   * A set of user-defined (key, value) data that provides additional
   * information about the log entry.
   * 
* * map<string, string> labels = 11; */ java.util.Map getLabelsMap(); /** * * *
   * A set of user-defined (key, value) data that provides additional
   * information about the log entry.
   * 
* * map<string, string> labels = 11; */ /* nullable */ java.lang.String getLabelsOrDefault( java.lang.String key, /* nullable */ java.lang.String defaultValue); /** * * *
   * A set of user-defined (key, value) data that provides additional
   * information about the log entry.
   * 
* * map<string, string> labels = 11; */ java.lang.String getLabelsOrThrow(java.lang.String key); /** * * *
   * Information about an operation associated with the log entry, if
   * applicable.
   * 
* * .google.events.cloud.audit.v1.LogEntryOperation operation = 15; * * @return Whether the operation field is set. */ boolean hasOperation(); /** * * *
   * Information about an operation associated with the log entry, if
   * applicable.
   * 
* * .google.events.cloud.audit.v1.LogEntryOperation operation = 15; * * @return The operation. */ com.google.events.cloud.audit.v1.LogEntryOperation getOperation(); /** * * *
   * Information about an operation associated with the log entry, if
   * applicable.
   * 
* * .google.events.cloud.audit.v1.LogEntryOperation operation = 15; */ com.google.events.cloud.audit.v1.LogEntryOperationOrBuilder getOperationOrBuilder(); /** * * *
   * The time the event described by the log entry occurred.
   * 
* * .google.protobuf.Timestamp timestamp = 9; * * @return Whether the timestamp field is set. */ boolean hasTimestamp(); /** * * *
   * The time the event described by the log entry occurred.
   * 
* * .google.protobuf.Timestamp timestamp = 9; * * @return The timestamp. */ com.google.protobuf.Timestamp getTimestamp(); /** * * *
   * The time the event described by the log entry occurred.
   * 
* * .google.protobuf.Timestamp timestamp = 9; */ com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder(); /** * * *
   * The time the log entry was received by Logging.
   * 
* * .google.protobuf.Timestamp receive_timestamp = 24; * * @return Whether the receiveTimestamp field is set. */ boolean hasReceiveTimestamp(); /** * * *
   * The time the log entry was received by Logging.
   * 
* * .google.protobuf.Timestamp receive_timestamp = 24; * * @return The receiveTimestamp. */ com.google.protobuf.Timestamp getReceiveTimestamp(); /** * * *
   * The time the log entry was received by Logging.
   * 
* * .google.protobuf.Timestamp receive_timestamp = 24; */ com.google.protobuf.TimestampOrBuilder getReceiveTimestampOrBuilder(); /** * * *
   * The severity of the log entry.
   * 
* * .google.events.cloud.audit.v1.LogSeverity severity = 10; * * @return The enum numeric value on the wire for severity. */ int getSeverityValue(); /** * * *
   * The severity of the log entry.
   * 
* * .google.events.cloud.audit.v1.LogSeverity severity = 10; * * @return The severity. */ com.google.events.cloud.audit.v1.LogSeverity getSeverity(); /** * * *
   * Resource name of the trace associated with the log entry, if any. If it
   * contains a relative resource name, the name is assumed to be relative to
   * `//tracing.googleapis.com`. Example:
   * `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
   * 
* * string trace = 22; * * @return The trace. */ java.lang.String getTrace(); /** * * *
   * Resource name of the trace associated with the log entry, if any. If it
   * contains a relative resource name, the name is assumed to be relative to
   * `//tracing.googleapis.com`. Example:
   * `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824`
   * 
* * string trace = 22; * * @return The bytes for trace. */ com.google.protobuf.ByteString getTraceBytes(); /** * * *
   * The span ID within the trace associated with the log entry, if any.
   * For Trace spans, this is the same format that the Trace API v2 uses: a
   * 16-character hexadecimal encoding of an 8-byte array, such as
   * `000000000000004a`.
   * 
* * string span_id = 27; * * @return The spanId. */ java.lang.String getSpanId(); /** * * *
   * The span ID within the trace associated with the log entry, if any.
   * For Trace spans, this is the same format that the Trace API v2 uses: a
   * 16-character hexadecimal encoding of an 8-byte array, such as
   * `000000000000004a`.
   * 
* * string span_id = 27; * * @return The bytes for spanId. */ com.google.protobuf.ByteString getSpanIdBytes(); /** * * *
   * Information indicating this LogEntry is part of a sequence of multiple logs
   * split from a single LogEntry.
   * 
* * .google.events.cloud.audit.v1.LogSplit split = 35; * * @return Whether the split field is set. */ boolean hasSplit(); /** * * *
   * Information indicating this LogEntry is part of a sequence of multiple logs
   * split from a single LogEntry.
   * 
* * .google.events.cloud.audit.v1.LogSplit split = 35; * * @return The split. */ com.google.events.cloud.audit.v1.LogSplit getSplit(); /** * * *
   * Information indicating this LogEntry is part of a sequence of multiple logs
   * split from a single LogEntry.
   * 
* * .google.events.cloud.audit.v1.LogSplit split = 35; */ com.google.events.cloud.audit.v1.LogSplitOrBuilder getSplitOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy