public static final class BeamFnApi.LogEntry extends com.google.protobuf.GeneratedMessageV3 implements BeamFnApi.LogEntryOrBuilder
A log entryProtobuf type
org.apache.beam.fn.v1.LogEntry| Modifier and Type | Class and Description |
|---|---|
static class |
BeamFnApi.LogEntry.Builder
A log entry
|
static class |
BeamFnApi.LogEntry.List
A list of log entries, enables buffering and batching of multiple
log messages using the logging API.
|
static interface |
BeamFnApi.LogEntry.ListOrBuilder |
static class |
BeamFnApi.LogEntry.Severity
The severity of the event described in a log entry, expressed as one of the
severity levels listed below.
|
static interface |
BeamFnApi.LogEntry.SeverityOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
INSTRUCTION_REFERENCE_FIELD_NUMBER |
static int |
LOG_LOCATION_FIELD_NUMBER |
static int |
MESSAGE_FIELD_NUMBER |
static int |
PRIMITIVE_TRANSFORM_REFERENCE_FIELD_NUMBER |
static int |
SEVERITY_FIELD_NUMBER |
static int |
THREAD_FIELD_NUMBER |
static int |
TIMESTAMP_FIELD_NUMBER |
static int |
TRACE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static BeamFnApi.LogEntry |
getDefaultInstance() |
BeamFnApi.LogEntry |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getInstructionReference()
(Optional) A reference to the instruction this log statement is associated
with.
|
com.google.protobuf.ByteString |
getInstructionReferenceBytes()
(Optional) A reference to the instruction this log statement is associated
with.
|
String |
getLogLocation()
(Optional) Human-readable name of the function or method being invoked,
with optional context such as the class or package name.
|
com.google.protobuf.ByteString |
getLogLocationBytes()
(Optional) Human-readable name of the function or method being invoked,
with optional context such as the class or package name.
|
String |
getMessage()
(Required) A human readable message.
|
com.google.protobuf.ByteString |
getMessageBytes()
(Required) A human readable message.
|
com.google.protobuf.Parser<BeamFnApi.LogEntry> |
getParserForType() |
String |
getPrimitiveTransformReference()
(Optional) A reference to the primitive transform this log statement is
associated with.
|
com.google.protobuf.ByteString |
getPrimitiveTransformReferenceBytes()
(Optional) A reference to the primitive transform this log statement is
associated with.
|
int |
getSerializedSize() |
BeamFnApi.LogEntry.Severity.Enum |
getSeverity()
(Required) The severity of the log statement.
|
int |
getSeverityValue()
(Required) The severity of the log statement.
|
String |
getThread()
(Optional) The name of the thread this log statement is associated with.
|
com.google.protobuf.ByteString |
getThreadBytes()
(Optional) The name of the thread this log statement is associated with.
|
com.google.protobuf.Timestamp |
getTimestamp()
(Required) The time at which this log statement occurred.
|
com.google.protobuf.TimestampOrBuilder |
getTimestampOrBuilder()
(Required) The time at which this log statement occurred.
|
String |
getTrace()
(Optional) An optional trace of the functions involved.
|
com.google.protobuf.ByteString |
getTraceBytes()
(Optional) An optional trace of the functions involved.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasTimestamp()
(Required) The time at which this log statement occurred.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BeamFnApi.LogEntry.Builder |
newBuilder() |
static BeamFnApi.LogEntry.Builder |
newBuilder(BeamFnApi.LogEntry prototype) |
BeamFnApi.LogEntry.Builder |
newBuilderForType() |
protected BeamFnApi.LogEntry.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static BeamFnApi.LogEntry |
parseDelimitedFrom(InputStream input) |
static BeamFnApi.LogEntry |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.LogEntry |
parseFrom(byte[] data) |
static BeamFnApi.LogEntry |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.LogEntry |
parseFrom(com.google.protobuf.ByteString data) |
static BeamFnApi.LogEntry |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.LogEntry |
parseFrom(com.google.protobuf.CodedInputStream input) |
static BeamFnApi.LogEntry |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static BeamFnApi.LogEntry |
parseFrom(InputStream input) |
static BeamFnApi.LogEntry |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<BeamFnApi.LogEntry> |
parser() |
BeamFnApi.LogEntry.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int SEVERITY_FIELD_NUMBER
public static final int TIMESTAMP_FIELD_NUMBER
public static final int MESSAGE_FIELD_NUMBER
public static final int TRACE_FIELD_NUMBER
public static final int INSTRUCTION_REFERENCE_FIELD_NUMBER
public static final int PRIMITIVE_TRANSFORM_REFERENCE_FIELD_NUMBER
public static final int LOG_LOCATION_FIELD_NUMBER
public static final int THREAD_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public int getSeverityValue()
(Required) The severity of the log statement.
.org.apache.beam.fn.v1.LogEntry.Severity.Enum severity = 1;getSeverityValue in interface BeamFnApi.LogEntryOrBuilderpublic BeamFnApi.LogEntry.Severity.Enum getSeverity()
(Required) The severity of the log statement.
.org.apache.beam.fn.v1.LogEntry.Severity.Enum severity = 1;getSeverity in interface BeamFnApi.LogEntryOrBuilderpublic boolean hasTimestamp()
(Required) The time at which this log statement occurred.
.google.protobuf.Timestamp timestamp = 2;hasTimestamp in interface BeamFnApi.LogEntryOrBuilderpublic com.google.protobuf.Timestamp getTimestamp()
(Required) The time at which this log statement occurred.
.google.protobuf.Timestamp timestamp = 2;getTimestamp in interface BeamFnApi.LogEntryOrBuilderpublic com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
(Required) The time at which this log statement occurred.
.google.protobuf.Timestamp timestamp = 2;getTimestampOrBuilder in interface BeamFnApi.LogEntryOrBuilderpublic String getMessage()
(Required) A human readable message.
string message = 3;getMessage in interface BeamFnApi.LogEntryOrBuilderpublic com.google.protobuf.ByteString getMessageBytes()
(Required) A human readable message.
string message = 3;getMessageBytes in interface BeamFnApi.LogEntryOrBuilderpublic String getTrace()
(Optional) An optional trace of the functions involved. For example, in Java this can include multiple causes and multiple suppressed exceptions.
string trace = 4;getTrace in interface BeamFnApi.LogEntryOrBuilderpublic com.google.protobuf.ByteString getTraceBytes()
(Optional) An optional trace of the functions involved. For example, in Java this can include multiple causes and multiple suppressed exceptions.
string trace = 4;getTraceBytes in interface BeamFnApi.LogEntryOrBuilderpublic String getInstructionReference()
(Optional) A reference to the instruction this log statement is associated with.
string instruction_reference = 5;getInstructionReference in interface BeamFnApi.LogEntryOrBuilderpublic com.google.protobuf.ByteString getInstructionReferenceBytes()
(Optional) A reference to the instruction this log statement is associated with.
string instruction_reference = 5;getInstructionReferenceBytes in interface BeamFnApi.LogEntryOrBuilderpublic String getPrimitiveTransformReference()
(Optional) A reference to the primitive transform this log statement is associated with.
string primitive_transform_reference = 6;getPrimitiveTransformReference in interface BeamFnApi.LogEntryOrBuilderpublic com.google.protobuf.ByteString getPrimitiveTransformReferenceBytes()
(Optional) A reference to the primitive transform this log statement is associated with.
string primitive_transform_reference = 6;getPrimitiveTransformReferenceBytes in interface BeamFnApi.LogEntryOrBuilderpublic String getLogLocation()
(Optional) Human-readable name of the function or method being invoked, with optional context such as the class or package name. The format can vary by language. For example: qual.if.ied.Class.method (Java) dir/package.func (Go) module.function (Python) file.cc:382 (C++)
string log_location = 7;getLogLocation in interface BeamFnApi.LogEntryOrBuilderpublic com.google.protobuf.ByteString getLogLocationBytes()
(Optional) Human-readable name of the function or method being invoked, with optional context such as the class or package name. The format can vary by language. For example: qual.if.ied.Class.method (Java) dir/package.func (Go) module.function (Python) file.cc:382 (C++)
string log_location = 7;getLogLocationBytes in interface BeamFnApi.LogEntryOrBuilderpublic String getThread()
(Optional) The name of the thread this log statement is associated with.
string thread = 8;getThread in interface BeamFnApi.LogEntryOrBuilderpublic com.google.protobuf.ByteString getThreadBytes()
(Optional) The name of the thread this log statement is associated with.
string thread = 8;getThreadBytes in interface BeamFnApi.LogEntryOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static BeamFnApi.LogEntry parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.LogEntry parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.LogEntry parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.LogEntry parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static BeamFnApi.LogEntry parseFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.LogEntry parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.LogEntry parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static BeamFnApi.LogEntry parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static BeamFnApi.LogEntry parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static BeamFnApi.LogEntry parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic BeamFnApi.LogEntry.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static BeamFnApi.LogEntry.Builder newBuilder()
public static BeamFnApi.LogEntry.Builder newBuilder(BeamFnApi.LogEntry prototype)
public BeamFnApi.LogEntry.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected BeamFnApi.LogEntry.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static BeamFnApi.LogEntry getDefaultInstance()
public static com.google.protobuf.Parser<BeamFnApi.LogEntry> parser()
public com.google.protobuf.Parser<BeamFnApi.LogEntry> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public BeamFnApi.LogEntry getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.