Class LogEntry (1.11.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 1.80.0 (latest)
- 1.78.0
- 1.76.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.70.0
- 1.68.0
- 1.67.0
- 1.64.0
- 1.63.0
- 1.62.0
- 1.60.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.49.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.37.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.1.10
publicfinalclass LogEntryextendsGeneratedMessageV3implementsLogEntryOrBuilderAn individual log entry.
Protobuf type google.api.servicecontrol.v1.LogEntry
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > LogEntryImplements
LogEntryOrBuilderInherited Members
Static Fields
HTTP_REQUEST_FIELD_NUMBER
publicstaticfinalintHTTP_REQUEST_FIELD_NUMBERINSERT_ID_FIELD_NUMBER
publicstaticfinalintINSERT_ID_FIELD_NUMBERLABELS_FIELD_NUMBER
publicstaticfinalintLABELS_FIELD_NUMBERNAME_FIELD_NUMBER
publicstaticfinalintNAME_FIELD_NUMBEROPERATION_FIELD_NUMBER
publicstaticfinalintOPERATION_FIELD_NUMBERPROTO_PAYLOAD_FIELD_NUMBER
publicstaticfinalintPROTO_PAYLOAD_FIELD_NUMBERSEVERITY_FIELD_NUMBER
publicstaticfinalintSEVERITY_FIELD_NUMBERSOURCE_LOCATION_FIELD_NUMBER
publicstaticfinalintSOURCE_LOCATION_FIELD_NUMBERSTRUCT_PAYLOAD_FIELD_NUMBER
publicstaticfinalintSTRUCT_PAYLOAD_FIELD_NUMBERTEXT_PAYLOAD_FIELD_NUMBER
publicstaticfinalintTEXT_PAYLOAD_FIELD_NUMBERTIMESTAMP_FIELD_NUMBER
publicstaticfinalintTIMESTAMP_FIELD_NUMBERTRACE_FIELD_NUMBER
publicstaticfinalintTRACE_FIELD_NUMBERStatic Methods
getDefaultInstance()
publicstaticLogEntrygetDefaultInstance()getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()newBuilder()
publicstaticLogEntry.BuildernewBuilder()newBuilder(LogEntry prototype)
publicstaticLogEntry.BuildernewBuilder(LogEntryprototype)parseDelimitedFrom(InputStream input)
publicstaticLogEntryparseDelimitedFrom(InputStreaminput)parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticLogEntryparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(byte[] data)
publicstaticLogEntryparseFrom(byte[]data)data
byte[]parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticLogEntryparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)data
byte[]parseFrom(ByteString data)
publicstaticLogEntryparseFrom(ByteStringdata)parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticLogEntryparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)parseFrom(CodedInputStream input)
publicstaticLogEntryparseFrom(CodedInputStreaminput)parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticLogEntryparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(InputStream input)
publicstaticLogEntryparseFrom(InputStreaminput)parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticLogEntryparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)parseFrom(ByteBuffer data)
publicstaticLogEntryparseFrom(ByteBufferdata)parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticLogEntryparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)parser()
publicstaticParser<LogEntry>parser()Methods
containsLabels(String key)
publicbooleancontainsLabels(Stringkey)A set of user-defined (key, value) data that provides additional information about the log entry.
map<string, string> labels = 13;
equals(Object obj)
publicbooleanequals(Objectobj)getDefaultInstanceForType()
publicLogEntrygetDefaultInstanceForType()getHttpRequest()
publicHttpRequestgetHttpRequest()Optional. Information about the HTTP request associated with this log entry, if applicable.
.google.api.servicecontrol.v1.HttpRequest http_request = 14;
HttpRequest
The httpRequest.
getHttpRequestOrBuilder()
publicHttpRequestOrBuildergetHttpRequestOrBuilder()Optional. Information about the HTTP request associated with this log entry, if applicable.
.google.api.servicecontrol.v1.HttpRequest http_request = 14;
getInsertId()
publicStringgetInsertId()A unique ID for the log entry used for deduplication. If omitted, the implementation will generate one based on operation_id.
string insert_id = 4;
String
The insertId.
getInsertIdBytes()
publicByteStringgetInsertIdBytes()A unique ID for the log entry used for deduplication. If omitted, the implementation will generate one based on operation_id.
string insert_id = 4;
ByteString
The bytes for insertId.
getLabels()
publicMap<String,String>getLabels()Use #getLabelsMap() instead.
getLabelsCount()
publicintgetLabelsCount()A set of user-defined (key, value) data that provides additional information about the log entry.
map<string, string> labels = 13;
getLabelsMap()
publicMap<String,String>getLabelsMap()A set of user-defined (key, value) data that provides additional information about the log entry.
map<string, string> labels = 13;
getLabelsOrDefault(String key, String defaultValue)
publicStringgetLabelsOrDefault(Stringkey,StringdefaultValue)A set of user-defined (key, value) data that provides additional information about the log entry.
map<string, string> labels = 13;
getLabelsOrThrow(String key)
publicStringgetLabelsOrThrow(Stringkey)A set of user-defined (key, value) data that provides additional information about the log entry.
map<string, string> labels = 13;
getName()
publicStringgetName() Required. The log to which this log entry belongs. Examples: "syslog",
"book_log".
string name = 10;
String
The name.
getNameBytes()
publicByteStringgetNameBytes() Required. The log to which this log entry belongs. Examples: "syslog",
"book_log".
string name = 10;
ByteString
The bytes for name.
getOperation()
publicLogEntryOperationgetOperation()Optional. Information about an operation associated with the log entry, if applicable.
.google.api.servicecontrol.v1.LogEntryOperation operation = 16;
LogEntryOperation
The operation.
getOperationOrBuilder()
publicLogEntryOperationOrBuildergetOperationOrBuilder()Optional. Information about an operation associated with the log entry, if applicable.
.google.api.servicecontrol.v1.LogEntryOperation operation = 16;
getParserForType()
publicParser<LogEntry>getParserForType()getPayloadCase()
publicLogEntry.PayloadCasegetPayloadCase()getProtoPayload()
publicAnygetProtoPayload()The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is AuditLog.
.google.protobuf.Any proto_payload = 2;
Any
The protoPayload.
getProtoPayloadOrBuilder()
publicAnyOrBuildergetProtoPayloadOrBuilder()The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is AuditLog.
.google.protobuf.Any proto_payload = 2;
getSerializedSize()
publicintgetSerializedSize()getSeverity()
publicLogSeveritygetSeverity() The severity of the log entry. The default value is
LogSeverity.DEFAULT.
.google.logging.type.LogSeverity severity = 12;
com.google.logging.type.LogSeverity
The severity.
getSeverityValue()
publicintgetSeverityValue() The severity of the log entry. The default value is
LogSeverity.DEFAULT.
.google.logging.type.LogSeverity severity = 12;
int
The enum numeric value on the wire for severity.
getSourceLocation()
publicLogEntrySourceLocationgetSourceLocation()Optional. Source code location information associated with the log entry, if any.
.google.api.servicecontrol.v1.LogEntrySourceLocation source_location = 17;
LogEntrySourceLocation
The sourceLocation.
getSourceLocationOrBuilder()
publicLogEntrySourceLocationOrBuildergetSourceLocationOrBuilder()Optional. Source code location information associated with the log entry, if any.
.google.api.servicecontrol.v1.LogEntrySourceLocation source_location = 17;
getStructPayload()
publicStructgetStructPayload()The log entry payload, represented as a structure that is expressed as a JSON object.
.google.protobuf.Struct struct_payload = 6;
Struct
The structPayload.
getStructPayloadOrBuilder()
publicStructOrBuildergetStructPayloadOrBuilder()The log entry payload, represented as a structure that is expressed as a JSON object.
.google.protobuf.Struct struct_payload = 6;
getTextPayload()
publicStringgetTextPayload()The log entry payload, represented as a Unicode string (UTF-8).
string text_payload = 3;
String
The textPayload.
getTextPayloadBytes()
publicByteStringgetTextPayloadBytes()The log entry payload, represented as a Unicode string (UTF-8).
string text_payload = 3;
ByteString
The bytes for textPayload.
getTimestamp()
publicTimestampgetTimestamp()The time the event described by the log entry occurred. If omitted, defaults to operation start time.
.google.protobuf.Timestamp timestamp = 11;
Timestamp
The timestamp.
getTimestampOrBuilder()
publicTimestampOrBuildergetTimestampOrBuilder()The time the event described by the log entry occurred. If omitted, defaults to operation start time.
.google.protobuf.Timestamp timestamp = 11;
getTrace()
publicStringgetTrace() Optional. Resource name of the trace associated with the log entry, if any.
If this field contains a relative resource name, you can assume the name is
relative to //tracing.googleapis.com. Example:
projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824
string trace = 15;
String
The trace.
getTraceBytes()
publicByteStringgetTraceBytes() Optional. Resource name of the trace associated with the log entry, if any.
If this field contains a relative resource name, you can assume the name is
relative to //tracing.googleapis.com. Example:
projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824
string trace = 15;
ByteString
The bytes for trace.
getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()hasHttpRequest()
publicbooleanhasHttpRequest()Optional. Information about the HTTP request associated with this log entry, if applicable.
.google.api.servicecontrol.v1.HttpRequest http_request = 14;
boolean
Whether the httpRequest field is set.
hasOperation()
publicbooleanhasOperation()Optional. Information about an operation associated with the log entry, if applicable.
.google.api.servicecontrol.v1.LogEntryOperation operation = 16;
boolean
Whether the operation field is set.
hasProtoPayload()
publicbooleanhasProtoPayload()The log entry payload, represented as a protocol buffer that is expressed as a JSON object. The only accepted type currently is AuditLog.
.google.protobuf.Any proto_payload = 2;
boolean
Whether the protoPayload field is set.
hasSourceLocation()
publicbooleanhasSourceLocation()Optional. Source code location information associated with the log entry, if any.
.google.api.servicecontrol.v1.LogEntrySourceLocation source_location = 17;
boolean
Whether the sourceLocation field is set.
hasStructPayload()
publicbooleanhasStructPayload()The log entry payload, represented as a structure that is expressed as a JSON object.
.google.protobuf.Struct struct_payload = 6;
boolean
Whether the structPayload field is set.
hasTextPayload()
publicbooleanhasTextPayload()The log entry payload, represented as a Unicode string (UTF-8).
string text_payload = 3;
boolean
Whether the textPayload field is set.
hasTimestamp()
publicbooleanhasTimestamp()The time the event described by the log entry occurred. If omitted, defaults to operation start time.
.google.protobuf.Timestamp timestamp = 11;
boolean
Whether the timestamp field is set.
hashCode()
publicinthashCode()internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()internalGetMapField(int number)
protectedMapFieldinternalGetMapField(intnumber)isInitialized()
publicfinalbooleanisInitialized()newBuilderForType()
publicLogEntry.BuildernewBuilderForType()newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedLogEntry.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)toBuilder()
publicLogEntry.BuildertoBuilder()writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)