public static final class LlapDaemonProtocolProtos.NotTezEvent extends com.google.protobuf.GeneratedMessage implements LlapDaemonProtocolProtos.NotTezEventOrBuilder
NotTezEvent
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.
Modifier and Type | Class and Description |
---|---|
static class |
LlapDaemonProtocolProtos.NotTezEvent.Builder
Protobuf type
NotTezEvent |
com.google.protobuf.GeneratedMessage.BuilderParent, com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessage.ExtendableBuilder>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessage.ExtendableMessage>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingType extends com.google.protobuf.Message,Type>
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 |
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() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.GeneratedMessage.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.GeneratedMessage.BuilderParent parent) |
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(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) |
LlapDaemonProtocolProtos.NotTezEvent.Builder |
toBuilder() |
protected Object |
writeReplace() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newFileScopedGeneratedExtension, newFileScopedGeneratedExtension, newMessageScopedGeneratedExtension, newMessageScopedGeneratedExtension, parseUnknownField
findInitializationErrors, getInitializationErrorString, hashFields, toString
checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static com.google.protobuf.Parser<LlapDaemonProtocolProtos.NotTezEvent> PARSER
public 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
public static LlapDaemonProtocolProtos.NotTezEvent getDefaultInstance()
public LlapDaemonProtocolProtos.NotTezEvent getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessage
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessage
public com.google.protobuf.Parser<LlapDaemonProtocolProtos.NotTezEvent> getParserForType()
getParserForType
in interface com.google.protobuf.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessage
public boolean hasInputEventProtoBytes()
required bytes input_event_proto_bytes = 1;
hasInputEventProtoBytes
in interface LlapDaemonProtocolProtos.NotTezEventOrBuilder
public com.google.protobuf.ByteString getInputEventProtoBytes()
required bytes input_event_proto_bytes = 1;
getInputEventProtoBytes
in interface LlapDaemonProtocolProtos.NotTezEventOrBuilder
public boolean hasVertexName()
required string vertex_name = 2;
hasVertexName
in interface LlapDaemonProtocolProtos.NotTezEventOrBuilder
public String getVertexName()
required string vertex_name = 2;
getVertexName
in interface LlapDaemonProtocolProtos.NotTezEventOrBuilder
public com.google.protobuf.ByteString getVertexNameBytes()
required string vertex_name = 2;
getVertexNameBytes
in interface LlapDaemonProtocolProtos.NotTezEventOrBuilder
public boolean hasDestInputName()
required string dest_input_name = 3;
hasDestInputName
in interface LlapDaemonProtocolProtos.NotTezEventOrBuilder
public String getDestInputName()
required string dest_input_name = 3;
getDestInputName
in interface LlapDaemonProtocolProtos.NotTezEventOrBuilder
public com.google.protobuf.ByteString getDestInputNameBytes()
required string dest_input_name = 3;
getDestInputNameBytes
in interface LlapDaemonProtocolProtos.NotTezEventOrBuilder
public boolean hasKeyId()
optional int32 key_id = 4;
hasKeyId
in interface LlapDaemonProtocolProtos.NotTezEventOrBuilder
public int getKeyId()
optional int32 key_id = 4;
getKeyId
in interface LlapDaemonProtocolProtos.NotTezEventOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessage
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.AbstractMessage
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.AbstractMessage
protected Object writeReplace() throws ObjectStreamException
writeReplace
in class com.google.protobuf.GeneratedMessage
ObjectStreamException
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static LlapDaemonProtocolProtos.NotTezEvent parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LlapDaemonProtocolProtos.NotTezEvent parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LlapDaemonProtocolProtos.NotTezEvent parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LlapDaemonProtocolProtos.NotTezEvent parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static LlapDaemonProtocolProtos.NotTezEvent parseFrom(InputStream input) throws IOException
IOException
public static LlapDaemonProtocolProtos.NotTezEvent parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static LlapDaemonProtocolProtos.NotTezEvent parseDelimitedFrom(InputStream input) throws IOException
IOException
public static LlapDaemonProtocolProtos.NotTezEvent parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static LlapDaemonProtocolProtos.NotTezEvent parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static LlapDaemonProtocolProtos.NotTezEvent parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static LlapDaemonProtocolProtos.NotTezEvent.Builder newBuilder()
public LlapDaemonProtocolProtos.NotTezEvent.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public static LlapDaemonProtocolProtos.NotTezEvent.Builder newBuilder(LlapDaemonProtocolProtos.NotTezEvent prototype)
public LlapDaemonProtocolProtos.NotTezEvent.Builder toBuilder()
toBuilder
in interface com.google.protobuf.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected LlapDaemonProtocolProtos.NotTezEvent.Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessage
Copyright © 2022 The Apache Software Foundation. All rights reserved.