public static final class LlapDaemonProtocolProtos.NotTezEvent extends com.google.protobuf.GeneratedMessageV3 implements LlapDaemonProtocolProtos.NotTezEventOrBuilder
Tez API implementation derives an enum value from instanceof on the event, then uses that enum in a giant switch statement to re-implement virtual functions. In addition the event classes are final and serialization is a mix of writables and protobuf. As a result, it is impossible three times over to add anything there. So, we'd do our own "inspired" serialization. Eventually we'll move away from events for API.Protobuf type
NotTezEvent| Modifier and Type | Class and Description |
|---|---|
static class |
LlapDaemonProtocolProtos.NotTezEvent.Builder
Tez API implementation derives an enum value from instanceof on the event, then uses that enum
in a giant switch statement to re-implement virtual functions.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DEST_INPUT_NAME_FIELD_NUMBER |
static int |
INPUT_EVENT_PROTO_BYTES_FIELD_NUMBER |
static int |
KEY_ID_FIELD_NUMBER |
static com.google.protobuf.Parser<LlapDaemonProtocolProtos.NotTezEvent> |
PARSER
Deprecated.
|
static int |
VERTEX_NAME_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static LlapDaemonProtocolProtos.NotTezEvent |
getDefaultInstance() |
LlapDaemonProtocolProtos.NotTezEvent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDestInputName()
required string dest_input_name = 3; |
com.google.protobuf.ByteString |
getDestInputNameBytes()
required string dest_input_name = 3; |
com.google.protobuf.ByteString |
getInputEventProtoBytes()
required bytes input_event_proto_bytes = 1; |
int |
getKeyId()
optional int32 key_id = 4; |
com.google.protobuf.Parser<LlapDaemonProtocolProtos.NotTezEvent> |
getParserForType() |
int |
getSerializedSize() |
String |
getVertexName()
required string vertex_name = 2; |
com.google.protobuf.ByteString |
getVertexNameBytes()
required string vertex_name = 2; |
boolean |
hasDestInputName()
required string dest_input_name = 3; |
int |
hashCode() |
boolean |
hasInputEventProtoBytes()
required bytes input_event_proto_bytes = 1; |
boolean |
hasKeyId()
optional int32 key_id = 4; |
boolean |
hasVertexName()
required string vertex_name = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static LlapDaemonProtocolProtos.NotTezEvent.Builder |
newBuilder() |
static LlapDaemonProtocolProtos.NotTezEvent.Builder |
newBuilder(LlapDaemonProtocolProtos.NotTezEvent prototype) |
LlapDaemonProtocolProtos.NotTezEvent.Builder |
newBuilderForType() |
protected LlapDaemonProtocolProtos.NotTezEvent.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static LlapDaemonProtocolProtos.NotTezEvent |
parseDelimitedFrom(InputStream input) |
static LlapDaemonProtocolProtos.NotTezEvent |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LlapDaemonProtocolProtos.NotTezEvent |
parseFrom(byte[] data) |
static LlapDaemonProtocolProtos.NotTezEvent |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LlapDaemonProtocolProtos.NotTezEvent |
parseFrom(ByteBuffer data) |
static LlapDaemonProtocolProtos.NotTezEvent |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LlapDaemonProtocolProtos.NotTezEvent |
parseFrom(com.google.protobuf.ByteString data) |
static LlapDaemonProtocolProtos.NotTezEvent |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LlapDaemonProtocolProtos.NotTezEvent |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LlapDaemonProtocolProtos.NotTezEvent |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LlapDaemonProtocolProtos.NotTezEvent |
parseFrom(InputStream input) |
static LlapDaemonProtocolProtos.NotTezEvent |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LlapDaemonProtocolProtos.NotTezEvent> |
parser() |
LlapDaemonProtocolProtos.NotTezEvent.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int INPUT_EVENT_PROTO_BYTES_FIELD_NUMBER
public static final int VERTEX_NAME_FIELD_NUMBER
public static final int DEST_INPUT_NAME_FIELD_NUMBER
public static final int KEY_ID_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<LlapDaemonProtocolProtos.NotTezEvent> PARSER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 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 boolean hasInputEventProtoBytes()
required bytes input_event_proto_bytes = 1;hasInputEventProtoBytes in interface LlapDaemonProtocolProtos.NotTezEventOrBuilderpublic com.google.protobuf.ByteString getInputEventProtoBytes()
required bytes input_event_proto_bytes = 1;getInputEventProtoBytes in interface LlapDaemonProtocolProtos.NotTezEventOrBuilderpublic boolean hasVertexName()
required string vertex_name = 2;hasVertexName in interface LlapDaemonProtocolProtos.NotTezEventOrBuilderpublic String getVertexName()
required string vertex_name = 2;getVertexName in interface LlapDaemonProtocolProtos.NotTezEventOrBuilderpublic com.google.protobuf.ByteString getVertexNameBytes()
required string vertex_name = 2;getVertexNameBytes in interface LlapDaemonProtocolProtos.NotTezEventOrBuilderpublic boolean hasDestInputName()
required string dest_input_name = 3;hasDestInputName in interface LlapDaemonProtocolProtos.NotTezEventOrBuilderpublic String getDestInputName()
required string dest_input_name = 3;getDestInputName in interface LlapDaemonProtocolProtos.NotTezEventOrBuilderpublic com.google.protobuf.ByteString getDestInputNameBytes()
required string dest_input_name = 3;getDestInputNameBytes in interface LlapDaemonProtocolProtos.NotTezEventOrBuilderpublic boolean hasKeyId()
optional int32 key_id = 4;hasKeyId in interface LlapDaemonProtocolProtos.NotTezEventOrBuilderpublic int getKeyId()
optional int32 key_id = 4;getKeyId in interface LlapDaemonProtocolProtos.NotTezEventOrBuilderpublic 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 LlapDaemonProtocolProtos.NotTezEvent parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LlapDaemonProtocolProtos.NotTezEvent parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LlapDaemonProtocolProtos.NotTezEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LlapDaemonProtocolProtos.NotTezEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LlapDaemonProtocolProtos.NotTezEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LlapDaemonProtocolProtos.NotTezEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LlapDaemonProtocolProtos.NotTezEvent parseFrom(InputStream input) throws IOException
IOExceptionpublic static LlapDaemonProtocolProtos.NotTezEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LlapDaemonProtocolProtos.NotTezEvent parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static LlapDaemonProtocolProtos.NotTezEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static LlapDaemonProtocolProtos.NotTezEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static LlapDaemonProtocolProtos.NotTezEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic LlapDaemonProtocolProtos.NotTezEvent.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LlapDaemonProtocolProtos.NotTezEvent.Builder newBuilder()
public static LlapDaemonProtocolProtos.NotTezEvent.Builder newBuilder(LlapDaemonProtocolProtos.NotTezEvent prototype)
public LlapDaemonProtocolProtos.NotTezEvent.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LlapDaemonProtocolProtos.NotTezEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LlapDaemonProtocolProtos.NotTezEvent getDefaultInstance()
public static com.google.protobuf.Parser<LlapDaemonProtocolProtos.NotTezEvent> parser()
public com.google.protobuf.Parser<LlapDaemonProtocolProtos.NotTezEvent> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LlapDaemonProtocolProtos.NotTezEvent getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 The Apache Software Foundation. All rights reserved.