com.google.api.servicecontrol.v1.LogEntryOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of endpoints-management-protos Show documentation
Show all versions of endpoints-management-protos Show documentation
Contains the generated protocol buffer surface used by Endpoints
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/servicecontrol/v1/log_entry.proto
package com.google.api.servicecontrol.v1;
public interface LogEntryOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.api.servicecontrol.v1.LogEntry)
com.google.protobuf.MessageOrBuilder {
/**
*
* Required. The log to which this log entry belongs. Examples: `"syslog"`,
* `"book_log"`.
*
*
* optional string name = 10;
*/
java.lang.String getName();
/**
*
* Required. The log to which this log entry belongs. Examples: `"syslog"`,
* `"book_log"`.
*
*
* optional string name = 10;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* The time the event described by the log entry occurred. If
* omitted, defaults to operation start time.
*
*
* optional .google.protobuf.Timestamp timestamp = 11;
*/
boolean hasTimestamp();
/**
*
* The time the event described by the log entry occurred. If
* omitted, defaults to operation start time.
*
*
* optional .google.protobuf.Timestamp timestamp = 11;
*/
com.google.protobuf.Timestamp getTimestamp();
/**
*
* The time the event described by the log entry occurred. If
* omitted, defaults to operation start time.
*
*
* optional .google.protobuf.Timestamp timestamp = 11;
*/
com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder();
/**
*
* The severity of the log entry. The default value is
* `LogSeverity.DEFAULT`.
*
*
* optional .google.logging.type.LogSeverity severity = 12;
*/
int getSeverityValue();
/**
*
* The severity of the log entry. The default value is
* `LogSeverity.DEFAULT`.
*
*
* optional .google.logging.type.LogSeverity severity = 12;
*/
com.google.logging.type.LogSeverity getSeverity();
/**
*
* A unique ID for the log entry used for deduplication. If omitted,
* the implementation will generate one based on operation_id.
*
*
* optional string insert_id = 4;
*/
java.lang.String getInsertId();
/**
*
* A unique ID for the log entry used for deduplication. If omitted,
* the implementation will generate one based on operation_id.
*
*
* optional string insert_id = 4;
*/
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 = 13;
*/
int getLabelsCount();
/**
*
* A set of user-defined (key, value) data that provides additional
* information about the log entry.
*
*
* map<string, string> labels = 13;
*/
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 = 13;
*/
java.util.Map
getLabelsMap();
/**
*
* A set of user-defined (key, value) data that provides additional
* information about the log entry.
*
*
* map<string, string> labels = 13;
*/
java.lang.String getLabelsOrDefault(
java.lang.String key,
java.lang.String defaultValue);
/**
*
* A set of user-defined (key, value) data that provides additional
* information about the log entry.
*
*
* map<string, string> labels = 13;
*/
java.lang.String getLabelsOrThrow(
java.lang.String key);
/**
*
* The log entry payload, represented as a protocol buffer that is
* expressed as a JSON object. You can only pass `protoPayload`
* values that belong to a set of approved types.
*
*
* optional .google.protobuf.Any proto_payload = 2;
*/
com.google.protobuf.Any getProtoPayload();
/**
*
* The log entry payload, represented as a protocol buffer that is
* expressed as a JSON object. You can only pass `protoPayload`
* values that belong to a set of approved types.
*
*
* optional .google.protobuf.Any proto_payload = 2;
*/
com.google.protobuf.AnyOrBuilder getProtoPayloadOrBuilder();
/**
*
* The log entry payload, represented as a Unicode string (UTF-8).
*
*
* optional string text_payload = 3;
*/
java.lang.String getTextPayload();
/**
*
* The log entry payload, represented as a Unicode string (UTF-8).
*
*
* optional string text_payload = 3;
*/
com.google.protobuf.ByteString
getTextPayloadBytes();
/**
*
* The log entry payload, represented as a structure that
* is expressed as a JSON object.
*
*
* optional .google.protobuf.Struct struct_payload = 6;
*/
com.google.protobuf.Struct getStructPayload();
/**
*
* The log entry payload, represented as a structure that
* is expressed as a JSON object.
*
*
* optional .google.protobuf.Struct struct_payload = 6;
*/
com.google.protobuf.StructOrBuilder getStructPayloadOrBuilder();
public com.google.api.servicecontrol.v1.LogEntry.PayloadCase getPayloadCase();
}