You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by dk...@apache.org on 2025/06/13 10:44:37 UTC
(hive) branch master updated: HIVE-28657: Use protoc-jar-maven-plugin to generate protobuf classes (#5589)
This is an automated email from the ASF dual-hosted git repository.
dkuzmenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new 4193a6db624 HIVE-28657: Use protoc-jar-maven-plugin to generate protobuf classes (#5589)
4193a6db624 is described below
commit 4193a6db6243bfd8a5a2a3d142bef5acdb02e389
Author: Raghav Aggarwal <ra...@gmail.com>
AuthorDate: Fri Jun 13 16:14:31 2025 +0530
HIVE-28657: Use protoc-jar-maven-plugin to generate protobuf classes (#5589)
---
llap-client/pom.xml | 1 -
llap-common/pom.xml | 77 +-
.../llap/daemon/rpc/LlapDaemonProtocolProtos.java | 34242 -------------------
.../llap/plugin/rpc/LlapPluginProtocolProtos.java | 1199 -
llap-ext-client/pom.xml | 1 -
llap-server/pom.xml | 1 -
llap-tez/pom.xml | 1 -
pom.xml | 7 +
ql/pom.xml | 81 +-
.../hadoop/hive/ql/hooks/proto/HiveHookEvents.java | 3378 --
.../hadoop/hive/ql/io/protobuf/SampleProtos.java | 5375 ---
.../hive/ql/io/protobuf/TestProtoMessageSerDe.java | 3 -
standalone-metastore/metastore-common/pom.xml | 3 +-
standalone-metastore/pom.xml | 2 +
14 files changed, 62 insertions(+), 44309 deletions(-)
diff --git a/llap-client/pom.xml b/llap-client/pom.xml
index c3356625bcb..515dec31b57 100644
--- a/llap-client/pom.xml
+++ b/llap-client/pom.xml
@@ -247,7 +247,6 @@
</goals>
<configuration>
<sources>
- <source>src/gen/protobuf/gen-java</source>
<source>src/gen/thrift/gen-javabean</source>
</sources>
</configuration>
diff --git a/llap-common/pom.xml b/llap-common/pom.xml
index f5e7a9fc1ad..a1d6581538c 100644
--- a/llap-common/pom.xml
+++ b/llap-common/pom.xml
@@ -219,57 +219,6 @@
<scope>test</scope>
</dependency>
</dependencies>
- <profiles>
- <profile>
- <id>protobuf</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>generate-protobuf-sources</id>
- <phase>generate-sources</phase>
- <configuration>
- <target>
- <property name="protobuf.src.dir" location="${basedir}/src/protobuf"/>
- <property name="protobuf.build.dir" location="${basedir}/src/gen/protobuf/gen-java"/>
- <echo>Building LLAP Protobuf</echo>
- <mkdir dir="${protobuf.build.dir}"/>
- <exec executable="protoc" failonerror="true">
- <arg value="--java_out=${protobuf.build.dir}"/>
- <arg value="-I=${protobuf.src.dir}"/>
- <arg value="${protobuf.src.dir}/LlapDaemonProtocol.proto"/>
- </exec>
- <exec executable="protoc" failonerror="true">
- <arg value="--java_out=${protobuf.build.dir}"/>
- <arg value="-I=${protobuf.src.dir}"/>
- <arg value="${protobuf.src.dir}/LlapPluginProtocol.proto"/>
- </exec>
- </target>
- </configuration>
- <goals>
- <goal>run</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <executions>
- <execution>
- <goals>
- <goal>test-jar</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
<build>
<sourceDirectory>${basedir}/src/java</sourceDirectory>
<testSourceDirectory>${basedir}/src/test</testSourceDirectory>
@@ -284,6 +233,31 @@
</resource>
</resources>
<plugins>
+ <plugin>
+ <groupId>com.github.os72</groupId>
+ <artifactId>protoc-jar-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <protocArtifact>com.google.protobuf:protoc:${protobuf.version}</protocArtifact>
+ <protocCommand>${protoc.path}</protocCommand>
+ <addSources>none</addSources>
+ <inputDirectories>
+ <include>${basedir}/src/protobuf</include>
+ </inputDirectories>
+ <outputTargets>
+ <outputTarget>
+ <outputDirectory>${project.build.directory}/generated-sources/java</outputDirectory>
+ </outputTarget>
+ </outputTargets>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
@@ -296,7 +270,6 @@
</goals>
<configuration>
<sources>
- <source>src/gen/protobuf/gen-java</source>
<source>src/gen/thrift/gen-javabean</source>
</sources>
</configuration>
diff --git a/llap-common/src/gen/protobuf/gen-java/org/apache/hadoop/hive/llap/daemon/rpc/LlapDaemonProtocolProtos.java b/llap-common/src/gen/protobuf/gen-java/org/apache/hadoop/hive/llap/daemon/rpc/LlapDaemonProtocolProtos.java
deleted file mode 100644
index a2a5c55ca88..00000000000
--- a/llap-common/src/gen/protobuf/gen-java/org/apache/hadoop/hive/llap/daemon/rpc/LlapDaemonProtocolProtos.java
+++ /dev/null
@@ -1,34242 +0,0 @@
-// Generated by the protocol buffer compiler. DO NOT EDIT!
-// source: LlapDaemonProtocol.proto
-
-// Protobuf Java Version: 3.25.5
-package org.apache.hadoop.hive.llap.daemon.rpc;
-
-public final class LlapDaemonProtocolProtos {
- private LlapDaemonProtocolProtos() {}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistryLite registry) {
- }
-
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions(
- (com.google.protobuf.ExtensionRegistryLite) registry);
- }
- /**
- * Protobuf enum {@code SourceStateProto}
- */
- public enum SourceStateProto
- implements com.google.protobuf.ProtocolMessageEnum {
- /**
- * <code>S_SUCCEEDED = 1;</code>
- */
- S_SUCCEEDED(1),
- /**
- * <code>S_RUNNING = 2;</code>
- */
- S_RUNNING(2),
- ;
-
- /**
- * <code>S_SUCCEEDED = 1;</code>
- */
- public static final int S_SUCCEEDED_VALUE = 1;
- /**
- * <code>S_RUNNING = 2;</code>
- */
- public static final int S_RUNNING_VALUE = 2;
-
-
- public final int getNumber() {
- return value;
- }
-
- /**
- * @param value The numeric wire value of the corresponding enum entry.
- * @return The enum associated with the given numeric wire value.
- * @deprecated Use {@link #forNumber(int)} instead.
- */
- @java.lang.Deprecated
- public static SourceStateProto valueOf(int value) {
- return forNumber(value);
- }
-
- /**
- * @param value The numeric wire value of the corresponding enum entry.
- * @return The enum associated with the given numeric wire value.
- */
- public static SourceStateProto forNumber(int value) {
- switch (value) {
- case 1: return S_SUCCEEDED;
- case 2: return S_RUNNING;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap<SourceStateProto>
- internalGetValueMap() {
- return internalValueMap;
- }
- private static final com.google.protobuf.Internal.EnumLiteMap<
- SourceStateProto> internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap<SourceStateProto>() {
- public SourceStateProto findValueByNumber(int number) {
- return SourceStateProto.forNumber(number);
- }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(ordinal());
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.getDescriptor().getEnumTypes().get(0);
- }
-
- private static final SourceStateProto[] VALUES = values();
-
- public static SourceStateProto valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
-
- private final int value;
-
- private SourceStateProto(int value) {
- this.value = value;
- }
-
- // @@protoc_insertion_point(enum_scope:SourceStateProto)
- }
-
- /**
- * Protobuf enum {@code SubmissionStateProto}
- */
- public enum SubmissionStateProto
- implements com.google.protobuf.ProtocolMessageEnum {
- /**
- * <code>ACCEPTED = 1;</code>
- */
- ACCEPTED(1),
- /**
- * <code>REJECTED = 2;</code>
- */
- REJECTED(2),
- /**
- * <code>EVICTED_OTHER = 3;</code>
- */
- EVICTED_OTHER(3),
- ;
-
- /**
- * <code>ACCEPTED = 1;</code>
- */
- public static final int ACCEPTED_VALUE = 1;
- /**
- * <code>REJECTED = 2;</code>
- */
- public static final int REJECTED_VALUE = 2;
- /**
- * <code>EVICTED_OTHER = 3;</code>
- */
- public static final int EVICTED_OTHER_VALUE = 3;
-
-
- public final int getNumber() {
- return value;
- }
-
- /**
- * @param value The numeric wire value of the corresponding enum entry.
- * @return The enum associated with the given numeric wire value.
- * @deprecated Use {@link #forNumber(int)} instead.
- */
- @java.lang.Deprecated
- public static SubmissionStateProto valueOf(int value) {
- return forNumber(value);
- }
-
- /**
- * @param value The numeric wire value of the corresponding enum entry.
- * @return The enum associated with the given numeric wire value.
- */
- public static SubmissionStateProto forNumber(int value) {
- switch (value) {
- case 1: return ACCEPTED;
- case 2: return REJECTED;
- case 3: return EVICTED_OTHER;
- default: return null;
- }
- }
-
- public static com.google.protobuf.Internal.EnumLiteMap<SubmissionStateProto>
- internalGetValueMap() {
- return internalValueMap;
- }
- private static final com.google.protobuf.Internal.EnumLiteMap<
- SubmissionStateProto> internalValueMap =
- new com.google.protobuf.Internal.EnumLiteMap<SubmissionStateProto>() {
- public SubmissionStateProto findValueByNumber(int number) {
- return SubmissionStateProto.forNumber(number);
- }
- };
-
- public final com.google.protobuf.Descriptors.EnumValueDescriptor
- getValueDescriptor() {
- return getDescriptor().getValues().get(ordinal());
- }
- public final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptorForType() {
- return getDescriptor();
- }
- public static final com.google.protobuf.Descriptors.EnumDescriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.getDescriptor().getEnumTypes().get(1);
- }
-
- private static final SubmissionStateProto[] VALUES = values();
-
- public static SubmissionStateProto valueOf(
- com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
- if (desc.getType() != getDescriptor()) {
- throw new java.lang.IllegalArgumentException(
- "EnumValueDescriptor is not for this type.");
- }
- return VALUES[desc.getIndex()];
- }
-
- private final int value;
-
- private SubmissionStateProto(int value) {
- this.value = value;
- }
-
- // @@protoc_insertion_point(enum_scope:SubmissionStateProto)
- }
-
- public interface UserPayloadProtoOrBuilder extends
- // @@protoc_insertion_point(interface_extends:UserPayloadProto)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * <code>optional bytes user_payload = 1;</code>
- * @return Whether the userPayload field is set.
- */
- boolean hasUserPayload();
- /**
- * <code>optional bytes user_payload = 1;</code>
- * @return The userPayload.
- */
- com.google.protobuf.ByteString getUserPayload();
-
- /**
- * <code>optional int32 version = 2;</code>
- * @return Whether the version field is set.
- */
- boolean hasVersion();
- /**
- * <code>optional int32 version = 2;</code>
- * @return The version.
- */
- int getVersion();
- }
- /**
- * Protobuf type {@code UserPayloadProto}
- */
- public static final class UserPayloadProto extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:UserPayloadProto)
- UserPayloadProtoOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use UserPayloadProto.newBuilder() to construct.
- private UserPayloadProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private UserPayloadProto() {
- userPayload_ = com.google.protobuf.ByteString.EMPTY;
- }
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new UserPayloadProto();
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_UserPayloadProto_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_UserPayloadProto_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.Builder.class);
- }
-
- private int bitField0_;
- public static final int USER_PAYLOAD_FIELD_NUMBER = 1;
- private com.google.protobuf.ByteString userPayload_ = com.google.protobuf.ByteString.EMPTY;
- /**
- * <code>optional bytes user_payload = 1;</code>
- * @return Whether the userPayload field is set.
- */
- @java.lang.Override
- public boolean hasUserPayload() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional bytes user_payload = 1;</code>
- * @return The userPayload.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getUserPayload() {
- return userPayload_;
- }
-
- public static final int VERSION_FIELD_NUMBER = 2;
- private int version_ = 0;
- /**
- * <code>optional int32 version = 2;</code>
- * @return Whether the version field is set.
- */
- @java.lang.Override
- public boolean hasVersion() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>optional int32 version = 2;</code>
- * @return The version.
- */
- @java.lang.Override
- public int getVersion() {
- return version_;
- }
-
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeBytes(1, userPayload_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- output.writeInt32(2, version_);
- }
- getUnknownFields().writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, userPayload_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(2, version_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto)) {
- return super.equals(obj);
- }
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto other = (org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto) obj;
-
- if (hasUserPayload() != other.hasUserPayload()) return false;
- if (hasUserPayload()) {
- if (!getUserPayload()
- .equals(other.getUserPayload())) return false;
- }
- if (hasVersion() != other.hasVersion()) return false;
- if (hasVersion()) {
- if (getVersion()
- != other.getVersion()) return false;
- }
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasUserPayload()) {
- hash = (37 * hash) + USER_PAYLOAD_FIELD_NUMBER;
- hash = (53 * hash) + getUserPayload().hashCode();
- }
- if (hasVersion()) {
- hash = (37 * hash) + VERSION_FIELD_NUMBER;
- hash = (53 * hash) + getVersion();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code UserPayloadProto}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:UserPayloadProto)
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProtoOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_UserPayloadProto_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_UserPayloadProto_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.Builder.class);
- }
-
- // Construct using org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.newBuilder()
- private Builder() {
-
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
-
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- bitField0_ = 0;
- userPayload_ = com.google.protobuf.ByteString.EMPTY;
- version_ = 0;
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_UserPayloadProto_descriptor;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto getDefaultInstanceForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.getDefaultInstance();
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto build() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto buildPartial() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto result = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto(this);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartial0(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto result) {
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.userPayload_ = userPayload_;
- to_bitField0_ |= 0x00000001;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.version_ = version_;
- to_bitField0_ |= 0x00000002;
- }
- result.bitField0_ |= to_bitField0_;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto) {
- return mergeFrom((org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto other) {
- if (other == org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.getDefaultInstance()) return this;
- if (other.hasUserPayload()) {
- setUserPayload(other.getUserPayload());
- }
- if (other.hasVersion()) {
- setVersion(other.getVersion());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- userPayload_ = input.readBytes();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 16: {
- version_ = input.readInt32();
- bitField0_ |= 0x00000002;
- break;
- } // case 16
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.unwrapIOException();
- } finally {
- onChanged();
- } // finally
- return this;
- }
- private int bitField0_;
-
- private com.google.protobuf.ByteString userPayload_ = com.google.protobuf.ByteString.EMPTY;
- /**
- * <code>optional bytes user_payload = 1;</code>
- * @return Whether the userPayload field is set.
- */
- @java.lang.Override
- public boolean hasUserPayload() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional bytes user_payload = 1;</code>
- * @return The userPayload.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getUserPayload() {
- return userPayload_;
- }
- /**
- * <code>optional bytes user_payload = 1;</code>
- * @param value The userPayload to set.
- * @return This builder for chaining.
- */
- public Builder setUserPayload(com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- userPayload_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * <code>optional bytes user_payload = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearUserPayload() {
- bitField0_ = (bitField0_ & ~0x00000001);
- userPayload_ = getDefaultInstance().getUserPayload();
- onChanged();
- return this;
- }
-
- private int version_ ;
- /**
- * <code>optional int32 version = 2;</code>
- * @return Whether the version field is set.
- */
- @java.lang.Override
- public boolean hasVersion() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>optional int32 version = 2;</code>
- * @return The version.
- */
- @java.lang.Override
- public int getVersion() {
- return version_;
- }
- /**
- * <code>optional int32 version = 2;</code>
- * @param value The version to set.
- * @return This builder for chaining.
- */
- public Builder setVersion(int value) {
-
- version_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * <code>optional int32 version = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearVersion() {
- bitField0_ = (bitField0_ & ~0x00000002);
- version_ = 0;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:UserPayloadProto)
- }
-
- // @@protoc_insertion_point(class_scope:UserPayloadProto)
- private static final org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto();
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- @java.lang.Deprecated public static final com.google.protobuf.Parser<UserPayloadProto>
- PARSER = new com.google.protobuf.AbstractParser<UserPayloadProto>() {
- @java.lang.Override
- public UserPayloadProto parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
- }
- };
-
- public static com.google.protobuf.Parser<UserPayloadProto> parser() {
- return PARSER;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser<UserPayloadProto> getParserForType() {
- return PARSER;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
- }
-
- public interface EntityDescriptorProtoOrBuilder extends
- // @@protoc_insertion_point(interface_extends:EntityDescriptorProto)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * <code>optional string class_name = 1;</code>
- * @return Whether the className field is set.
- */
- boolean hasClassName();
- /**
- * <code>optional string class_name = 1;</code>
- * @return The className.
- */
- java.lang.String getClassName();
- /**
- * <code>optional string class_name = 1;</code>
- * @return The bytes for className.
- */
- com.google.protobuf.ByteString
- getClassNameBytes();
-
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- * @return Whether the userPayload field is set.
- */
- boolean hasUserPayload();
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- * @return The userPayload.
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto getUserPayload();
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProtoOrBuilder getUserPayloadOrBuilder();
-
- /**
- * <code>optional bytes history_text = 3;</code>
- * @return Whether the historyText field is set.
- */
- boolean hasHistoryText();
- /**
- * <code>optional bytes history_text = 3;</code>
- * @return The historyText.
- */
- com.google.protobuf.ByteString getHistoryText();
- }
- /**
- * Protobuf type {@code EntityDescriptorProto}
- */
- public static final class EntityDescriptorProto extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:EntityDescriptorProto)
- EntityDescriptorProtoOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use EntityDescriptorProto.newBuilder() to construct.
- private EntityDescriptorProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private EntityDescriptorProto() {
- className_ = "";
- historyText_ = com.google.protobuf.ByteString.EMPTY;
- }
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new EntityDescriptorProto();
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_EntityDescriptorProto_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_EntityDescriptorProto_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder.class);
- }
-
- private int bitField0_;
- public static final int CLASS_NAME_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object className_ = "";
- /**
- * <code>optional string class_name = 1;</code>
- * @return Whether the className field is set.
- */
- @java.lang.Override
- public boolean hasClassName() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional string class_name = 1;</code>
- * @return The className.
- */
- @java.lang.Override
- public java.lang.String getClassName() {
- java.lang.Object ref = className_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- className_ = s;
- }
- return s;
- }
- }
- /**
- * <code>optional string class_name = 1;</code>
- * @return The bytes for className.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getClassNameBytes() {
- java.lang.Object ref = className_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- className_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int USER_PAYLOAD_FIELD_NUMBER = 2;
- private org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto userPayload_;
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- * @return Whether the userPayload field is set.
- */
- @java.lang.Override
- public boolean hasUserPayload() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- * @return The userPayload.
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto getUserPayload() {
- return userPayload_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.getDefaultInstance() : userPayload_;
- }
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProtoOrBuilder getUserPayloadOrBuilder() {
- return userPayload_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.getDefaultInstance() : userPayload_;
- }
-
- public static final int HISTORY_TEXT_FIELD_NUMBER = 3;
- private com.google.protobuf.ByteString historyText_ = com.google.protobuf.ByteString.EMPTY;
- /**
- * <code>optional bytes history_text = 3;</code>
- * @return Whether the historyText field is set.
- */
- @java.lang.Override
- public boolean hasHistoryText() {
- return ((bitField0_ & 0x00000004) != 0);
- }
- /**
- * <code>optional bytes history_text = 3;</code>
- * @return The historyText.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getHistoryText() {
- return historyText_;
- }
-
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, className_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- output.writeMessage(2, getUserPayload());
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- output.writeBytes(3, historyText_);
- }
- getUnknownFields().writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, className_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getUserPayload());
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(3, historyText_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto)) {
- return super.equals(obj);
- }
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto other = (org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto) obj;
-
- if (hasClassName() != other.hasClassName()) return false;
- if (hasClassName()) {
- if (!getClassName()
- .equals(other.getClassName())) return false;
- }
- if (hasUserPayload() != other.hasUserPayload()) return false;
- if (hasUserPayload()) {
- if (!getUserPayload()
- .equals(other.getUserPayload())) return false;
- }
- if (hasHistoryText() != other.hasHistoryText()) return false;
- if (hasHistoryText()) {
- if (!getHistoryText()
- .equals(other.getHistoryText())) return false;
- }
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasClassName()) {
- hash = (37 * hash) + CLASS_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getClassName().hashCode();
- }
- if (hasUserPayload()) {
- hash = (37 * hash) + USER_PAYLOAD_FIELD_NUMBER;
- hash = (53 * hash) + getUserPayload().hashCode();
- }
- if (hasHistoryText()) {
- hash = (37 * hash) + HISTORY_TEXT_FIELD_NUMBER;
- hash = (53 * hash) + getHistoryText().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code EntityDescriptorProto}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:EntityDescriptorProto)
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_EntityDescriptorProto_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_EntityDescriptorProto_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder.class);
- }
-
- // Construct using org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- getUserPayloadFieldBuilder();
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- bitField0_ = 0;
- className_ = "";
- userPayload_ = null;
- if (userPayloadBuilder_ != null) {
- userPayloadBuilder_.dispose();
- userPayloadBuilder_ = null;
- }
- historyText_ = com.google.protobuf.ByteString.EMPTY;
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_EntityDescriptorProto_descriptor;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto getDefaultInstanceForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance();
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto build() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto buildPartial() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto result = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto(this);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartial0(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto result) {
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.className_ = className_;
- to_bitField0_ |= 0x00000001;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.userPayload_ = userPayloadBuilder_ == null
- ? userPayload_
- : userPayloadBuilder_.build();
- to_bitField0_ |= 0x00000002;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.historyText_ = historyText_;
- to_bitField0_ |= 0x00000004;
- }
- result.bitField0_ |= to_bitField0_;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto) {
- return mergeFrom((org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto other) {
- if (other == org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance()) return this;
- if (other.hasClassName()) {
- className_ = other.className_;
- bitField0_ |= 0x00000001;
- onChanged();
- }
- if (other.hasUserPayload()) {
- mergeUserPayload(other.getUserPayload());
- }
- if (other.hasHistoryText()) {
- setHistoryText(other.getHistoryText());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- className_ = input.readBytes();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- input.readMessage(
- getUserPayloadFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000002;
- break;
- } // case 18
- case 26: {
- historyText_ = input.readBytes();
- bitField0_ |= 0x00000004;
- break;
- } // case 26
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.unwrapIOException();
- } finally {
- onChanged();
- } // finally
- return this;
- }
- private int bitField0_;
-
- private java.lang.Object className_ = "";
- /**
- * <code>optional string class_name = 1;</code>
- * @return Whether the className field is set.
- */
- public boolean hasClassName() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional string class_name = 1;</code>
- * @return The className.
- */
- public java.lang.String getClassName() {
- java.lang.Object ref = className_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- className_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>optional string class_name = 1;</code>
- * @return The bytes for className.
- */
- public com.google.protobuf.ByteString
- getClassNameBytes() {
- java.lang.Object ref = className_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- className_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>optional string class_name = 1;</code>
- * @param value The className to set.
- * @return This builder for chaining.
- */
- public Builder setClassName(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- className_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * <code>optional string class_name = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearClassName() {
- className_ = getDefaultInstance().getClassName();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- return this;
- }
- /**
- * <code>optional string class_name = 1;</code>
- * @param value The bytes for className to set.
- * @return This builder for chaining.
- */
- public Builder setClassNameBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- className_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- private org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto userPayload_;
- private com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProtoOrBuilder> userPayloadBuilder_;
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- * @return Whether the userPayload field is set.
- */
- public boolean hasUserPayload() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- * @return The userPayload.
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto getUserPayload() {
- if (userPayloadBuilder_ == null) {
- return userPayload_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.getDefaultInstance() : userPayload_;
- } else {
- return userPayloadBuilder_.getMessage();
- }
- }
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- */
- public Builder setUserPayload(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto value) {
- if (userPayloadBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- userPayload_ = value;
- } else {
- userPayloadBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- */
- public Builder setUserPayload(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.Builder builderForValue) {
- if (userPayloadBuilder_ == null) {
- userPayload_ = builderForValue.build();
- } else {
- userPayloadBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- */
- public Builder mergeUserPayload(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto value) {
- if (userPayloadBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0) &&
- userPayload_ != null &&
- userPayload_ != org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.getDefaultInstance()) {
- getUserPayloadBuilder().mergeFrom(value);
- } else {
- userPayload_ = value;
- }
- } else {
- userPayloadBuilder_.mergeFrom(value);
- }
- if (userPayload_ != null) {
- bitField0_ |= 0x00000002;
- onChanged();
- }
- return this;
- }
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- */
- public Builder clearUserPayload() {
- bitField0_ = (bitField0_ & ~0x00000002);
- userPayload_ = null;
- if (userPayloadBuilder_ != null) {
- userPayloadBuilder_.dispose();
- userPayloadBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.Builder getUserPayloadBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getUserPayloadFieldBuilder().getBuilder();
- }
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProtoOrBuilder getUserPayloadOrBuilder() {
- if (userPayloadBuilder_ != null) {
- return userPayloadBuilder_.getMessageOrBuilder();
- } else {
- return userPayload_ == null ?
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.getDefaultInstance() : userPayload_;
- }
- }
- /**
- * <code>optional .UserPayloadProto user_payload = 2;</code>
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProtoOrBuilder>
- getUserPayloadFieldBuilder() {
- if (userPayloadBuilder_ == null) {
- userPayloadBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.UserPayloadProtoOrBuilder>(
- getUserPayload(),
- getParentForChildren(),
- isClean());
- userPayload_ = null;
- }
- return userPayloadBuilder_;
- }
-
- private com.google.protobuf.ByteString historyText_ = com.google.protobuf.ByteString.EMPTY;
- /**
- * <code>optional bytes history_text = 3;</code>
- * @return Whether the historyText field is set.
- */
- @java.lang.Override
- public boolean hasHistoryText() {
- return ((bitField0_ & 0x00000004) != 0);
- }
- /**
- * <code>optional bytes history_text = 3;</code>
- * @return The historyText.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getHistoryText() {
- return historyText_;
- }
- /**
- * <code>optional bytes history_text = 3;</code>
- * @param value The historyText to set.
- * @return This builder for chaining.
- */
- public Builder setHistoryText(com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- historyText_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
- /**
- * <code>optional bytes history_text = 3;</code>
- * @return This builder for chaining.
- */
- public Builder clearHistoryText() {
- bitField0_ = (bitField0_ & ~0x00000004);
- historyText_ = getDefaultInstance().getHistoryText();
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:EntityDescriptorProto)
- }
-
- // @@protoc_insertion_point(class_scope:EntityDescriptorProto)
- private static final org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto();
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- @java.lang.Deprecated public static final com.google.protobuf.Parser<EntityDescriptorProto>
- PARSER = new com.google.protobuf.AbstractParser<EntityDescriptorProto>() {
- @java.lang.Override
- public EntityDescriptorProto parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
- }
- };
-
- public static com.google.protobuf.Parser<EntityDescriptorProto> parser() {
- return PARSER;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser<EntityDescriptorProto> getParserForType() {
- return PARSER;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
- }
-
- public interface IOSpecProtoOrBuilder extends
- // @@protoc_insertion_point(interface_extends:IOSpecProto)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * <code>optional string connected_vertex_name = 1;</code>
- * @return Whether the connectedVertexName field is set.
- */
- boolean hasConnectedVertexName();
- /**
- * <code>optional string connected_vertex_name = 1;</code>
- * @return The connectedVertexName.
- */
- java.lang.String getConnectedVertexName();
- /**
- * <code>optional string connected_vertex_name = 1;</code>
- * @return The bytes for connectedVertexName.
- */
- com.google.protobuf.ByteString
- getConnectedVertexNameBytes();
-
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- * @return Whether the ioDescriptor field is set.
- */
- boolean hasIoDescriptor();
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- * @return The ioDescriptor.
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto getIoDescriptor();
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder getIoDescriptorOrBuilder();
-
- /**
- * <code>optional int32 physical_edge_count = 3;</code>
- * @return Whether the physicalEdgeCount field is set.
- */
- boolean hasPhysicalEdgeCount();
- /**
- * <code>optional int32 physical_edge_count = 3;</code>
- * @return The physicalEdgeCount.
- */
- int getPhysicalEdgeCount();
- }
- /**
- * Protobuf type {@code IOSpecProto}
- */
- public static final class IOSpecProto extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:IOSpecProto)
- IOSpecProtoOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use IOSpecProto.newBuilder() to construct.
- private IOSpecProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private IOSpecProto() {
- connectedVertexName_ = "";
- }
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new IOSpecProto();
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_IOSpecProto_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_IOSpecProto_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder.class);
- }
-
- private int bitField0_;
- public static final int CONNECTED_VERTEX_NAME_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object connectedVertexName_ = "";
- /**
- * <code>optional string connected_vertex_name = 1;</code>
- * @return Whether the connectedVertexName field is set.
- */
- @java.lang.Override
- public boolean hasConnectedVertexName() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional string connected_vertex_name = 1;</code>
- * @return The connectedVertexName.
- */
- @java.lang.Override
- public java.lang.String getConnectedVertexName() {
- java.lang.Object ref = connectedVertexName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- connectedVertexName_ = s;
- }
- return s;
- }
- }
- /**
- * <code>optional string connected_vertex_name = 1;</code>
- * @return The bytes for connectedVertexName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getConnectedVertexNameBytes() {
- java.lang.Object ref = connectedVertexName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- connectedVertexName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int IO_DESCRIPTOR_FIELD_NUMBER = 2;
- private org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto ioDescriptor_;
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- * @return Whether the ioDescriptor field is set.
- */
- @java.lang.Override
- public boolean hasIoDescriptor() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- * @return The ioDescriptor.
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto getIoDescriptor() {
- return ioDescriptor_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance() : ioDescriptor_;
- }
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder getIoDescriptorOrBuilder() {
- return ioDescriptor_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance() : ioDescriptor_;
- }
-
- public static final int PHYSICAL_EDGE_COUNT_FIELD_NUMBER = 3;
- private int physicalEdgeCount_ = 0;
- /**
- * <code>optional int32 physical_edge_count = 3;</code>
- * @return Whether the physicalEdgeCount field is set.
- */
- @java.lang.Override
- public boolean hasPhysicalEdgeCount() {
- return ((bitField0_ & 0x00000004) != 0);
- }
- /**
- * <code>optional int32 physical_edge_count = 3;</code>
- * @return The physicalEdgeCount.
- */
- @java.lang.Override
- public int getPhysicalEdgeCount() {
- return physicalEdgeCount_;
- }
-
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, connectedVertexName_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- output.writeMessage(2, getIoDescriptor());
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- output.writeInt32(3, physicalEdgeCount_);
- }
- getUnknownFields().writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, connectedVertexName_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(2, getIoDescriptor());
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(3, physicalEdgeCount_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto)) {
- return super.equals(obj);
- }
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto other = (org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto) obj;
-
- if (hasConnectedVertexName() != other.hasConnectedVertexName()) return false;
- if (hasConnectedVertexName()) {
- if (!getConnectedVertexName()
- .equals(other.getConnectedVertexName())) return false;
- }
- if (hasIoDescriptor() != other.hasIoDescriptor()) return false;
- if (hasIoDescriptor()) {
- if (!getIoDescriptor()
- .equals(other.getIoDescriptor())) return false;
- }
- if (hasPhysicalEdgeCount() != other.hasPhysicalEdgeCount()) return false;
- if (hasPhysicalEdgeCount()) {
- if (getPhysicalEdgeCount()
- != other.getPhysicalEdgeCount()) return false;
- }
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasConnectedVertexName()) {
- hash = (37 * hash) + CONNECTED_VERTEX_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getConnectedVertexName().hashCode();
- }
- if (hasIoDescriptor()) {
- hash = (37 * hash) + IO_DESCRIPTOR_FIELD_NUMBER;
- hash = (53 * hash) + getIoDescriptor().hashCode();
- }
- if (hasPhysicalEdgeCount()) {
- hash = (37 * hash) + PHYSICAL_EDGE_COUNT_FIELD_NUMBER;
- hash = (53 * hash) + getPhysicalEdgeCount();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code IOSpecProto}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:IOSpecProto)
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_IOSpecProto_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_IOSpecProto_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder.class);
- }
-
- // Construct using org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- getIoDescriptorFieldBuilder();
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- bitField0_ = 0;
- connectedVertexName_ = "";
- ioDescriptor_ = null;
- if (ioDescriptorBuilder_ != null) {
- ioDescriptorBuilder_.dispose();
- ioDescriptorBuilder_ = null;
- }
- physicalEdgeCount_ = 0;
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_IOSpecProto_descriptor;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto getDefaultInstanceForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.getDefaultInstance();
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto build() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto buildPartial() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto result = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto(this);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartial0(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto result) {
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.connectedVertexName_ = connectedVertexName_;
- to_bitField0_ |= 0x00000001;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.ioDescriptor_ = ioDescriptorBuilder_ == null
- ? ioDescriptor_
- : ioDescriptorBuilder_.build();
- to_bitField0_ |= 0x00000002;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.physicalEdgeCount_ = physicalEdgeCount_;
- to_bitField0_ |= 0x00000004;
- }
- result.bitField0_ |= to_bitField0_;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto) {
- return mergeFrom((org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto other) {
- if (other == org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.getDefaultInstance()) return this;
- if (other.hasConnectedVertexName()) {
- connectedVertexName_ = other.connectedVertexName_;
- bitField0_ |= 0x00000001;
- onChanged();
- }
- if (other.hasIoDescriptor()) {
- mergeIoDescriptor(other.getIoDescriptor());
- }
- if (other.hasPhysicalEdgeCount()) {
- setPhysicalEdgeCount(other.getPhysicalEdgeCount());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- connectedVertexName_ = input.readBytes();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- input.readMessage(
- getIoDescriptorFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000002;
- break;
- } // case 18
- case 24: {
- physicalEdgeCount_ = input.readInt32();
- bitField0_ |= 0x00000004;
- break;
- } // case 24
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.unwrapIOException();
- } finally {
- onChanged();
- } // finally
- return this;
- }
- private int bitField0_;
-
- private java.lang.Object connectedVertexName_ = "";
- /**
- * <code>optional string connected_vertex_name = 1;</code>
- * @return Whether the connectedVertexName field is set.
- */
- public boolean hasConnectedVertexName() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional string connected_vertex_name = 1;</code>
- * @return The connectedVertexName.
- */
- public java.lang.String getConnectedVertexName() {
- java.lang.Object ref = connectedVertexName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- connectedVertexName_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>optional string connected_vertex_name = 1;</code>
- * @return The bytes for connectedVertexName.
- */
- public com.google.protobuf.ByteString
- getConnectedVertexNameBytes() {
- java.lang.Object ref = connectedVertexName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- connectedVertexName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>optional string connected_vertex_name = 1;</code>
- * @param value The connectedVertexName to set.
- * @return This builder for chaining.
- */
- public Builder setConnectedVertexName(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- connectedVertexName_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * <code>optional string connected_vertex_name = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearConnectedVertexName() {
- connectedVertexName_ = getDefaultInstance().getConnectedVertexName();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- return this;
- }
- /**
- * <code>optional string connected_vertex_name = 1;</code>
- * @param value The bytes for connectedVertexName to set.
- * @return This builder for chaining.
- */
- public Builder setConnectedVertexNameBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- connectedVertexName_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- private org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto ioDescriptor_;
- private com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder> ioDescriptorBuilder_;
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- * @return Whether the ioDescriptor field is set.
- */
- public boolean hasIoDescriptor() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- * @return The ioDescriptor.
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto getIoDescriptor() {
- if (ioDescriptorBuilder_ == null) {
- return ioDescriptor_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance() : ioDescriptor_;
- } else {
- return ioDescriptorBuilder_.getMessage();
- }
- }
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- */
- public Builder setIoDescriptor(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto value) {
- if (ioDescriptorBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ioDescriptor_ = value;
- } else {
- ioDescriptorBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- */
- public Builder setIoDescriptor(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder builderForValue) {
- if (ioDescriptorBuilder_ == null) {
- ioDescriptor_ = builderForValue.build();
- } else {
- ioDescriptorBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- */
- public Builder mergeIoDescriptor(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto value) {
- if (ioDescriptorBuilder_ == null) {
- if (((bitField0_ & 0x00000002) != 0) &&
- ioDescriptor_ != null &&
- ioDescriptor_ != org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance()) {
- getIoDescriptorBuilder().mergeFrom(value);
- } else {
- ioDescriptor_ = value;
- }
- } else {
- ioDescriptorBuilder_.mergeFrom(value);
- }
- if (ioDescriptor_ != null) {
- bitField0_ |= 0x00000002;
- onChanged();
- }
- return this;
- }
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- */
- public Builder clearIoDescriptor() {
- bitField0_ = (bitField0_ & ~0x00000002);
- ioDescriptor_ = null;
- if (ioDescriptorBuilder_ != null) {
- ioDescriptorBuilder_.dispose();
- ioDescriptorBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder getIoDescriptorBuilder() {
- bitField0_ |= 0x00000002;
- onChanged();
- return getIoDescriptorFieldBuilder().getBuilder();
- }
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder getIoDescriptorOrBuilder() {
- if (ioDescriptorBuilder_ != null) {
- return ioDescriptorBuilder_.getMessageOrBuilder();
- } else {
- return ioDescriptor_ == null ?
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance() : ioDescriptor_;
- }
- }
- /**
- * <code>optional .EntityDescriptorProto io_descriptor = 2;</code>
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder>
- getIoDescriptorFieldBuilder() {
- if (ioDescriptorBuilder_ == null) {
- ioDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder>(
- getIoDescriptor(),
- getParentForChildren(),
- isClean());
- ioDescriptor_ = null;
- }
- return ioDescriptorBuilder_;
- }
-
- private int physicalEdgeCount_ ;
- /**
- * <code>optional int32 physical_edge_count = 3;</code>
- * @return Whether the physicalEdgeCount field is set.
- */
- @java.lang.Override
- public boolean hasPhysicalEdgeCount() {
- return ((bitField0_ & 0x00000004) != 0);
- }
- /**
- * <code>optional int32 physical_edge_count = 3;</code>
- * @return The physicalEdgeCount.
- */
- @java.lang.Override
- public int getPhysicalEdgeCount() {
- return physicalEdgeCount_;
- }
- /**
- * <code>optional int32 physical_edge_count = 3;</code>
- * @param value The physicalEdgeCount to set.
- * @return This builder for chaining.
- */
- public Builder setPhysicalEdgeCount(int value) {
-
- physicalEdgeCount_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
- /**
- * <code>optional int32 physical_edge_count = 3;</code>
- * @return This builder for chaining.
- */
- public Builder clearPhysicalEdgeCount() {
- bitField0_ = (bitField0_ & ~0x00000004);
- physicalEdgeCount_ = 0;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:IOSpecProto)
- }
-
- // @@protoc_insertion_point(class_scope:IOSpecProto)
- private static final org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto();
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- @java.lang.Deprecated public static final com.google.protobuf.Parser<IOSpecProto>
- PARSER = new com.google.protobuf.AbstractParser<IOSpecProto>() {
- @java.lang.Override
- public IOSpecProto parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
- }
- };
-
- public static com.google.protobuf.Parser<IOSpecProto> parser() {
- return PARSER;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser<IOSpecProto> getParserForType() {
- return PARSER;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
- }
-
- public interface GroupInputSpecProtoOrBuilder extends
- // @@protoc_insertion_point(interface_extends:GroupInputSpecProto)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * <code>optional string group_name = 1;</code>
- * @return Whether the groupName field is set.
- */
- boolean hasGroupName();
- /**
- * <code>optional string group_name = 1;</code>
- * @return The groupName.
- */
- java.lang.String getGroupName();
- /**
- * <code>optional string group_name = 1;</code>
- * @return The bytes for groupName.
- */
- com.google.protobuf.ByteString
- getGroupNameBytes();
-
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @return A list containing the groupVertices.
- */
- java.util.List<java.lang.String>
- getGroupVerticesList();
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @return The count of groupVertices.
- */
- int getGroupVerticesCount();
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @param index The index of the element to return.
- * @return The groupVertices at the given index.
- */
- java.lang.String getGroupVertices(int index);
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @param index The index of the value to return.
- * @return The bytes of the groupVertices at the given index.
- */
- com.google.protobuf.ByteString
- getGroupVerticesBytes(int index);
-
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- * @return Whether the mergedInputDescriptor field is set.
- */
- boolean hasMergedInputDescriptor();
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- * @return The mergedInputDescriptor.
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto getMergedInputDescriptor();
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder getMergedInputDescriptorOrBuilder();
- }
- /**
- * Protobuf type {@code GroupInputSpecProto}
- */
- public static final class GroupInputSpecProto extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:GroupInputSpecProto)
- GroupInputSpecProtoOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use GroupInputSpecProto.newBuilder() to construct.
- private GroupInputSpecProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private GroupInputSpecProto() {
- groupName_ = "";
- groupVertices_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- }
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new GroupInputSpecProto();
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_GroupInputSpecProto_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_GroupInputSpecProto_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.Builder.class);
- }
-
- private int bitField0_;
- public static final int GROUP_NAME_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object groupName_ = "";
- /**
- * <code>optional string group_name = 1;</code>
- * @return Whether the groupName field is set.
- */
- @java.lang.Override
- public boolean hasGroupName() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional string group_name = 1;</code>
- * @return The groupName.
- */
- @java.lang.Override
- public java.lang.String getGroupName() {
- java.lang.Object ref = groupName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- groupName_ = s;
- }
- return s;
- }
- }
- /**
- * <code>optional string group_name = 1;</code>
- * @return The bytes for groupName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getGroupNameBytes() {
- java.lang.Object ref = groupName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- groupName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int GROUP_VERTICES_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private com.google.protobuf.LazyStringArrayList groupVertices_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @return A list containing the groupVertices.
- */
- public com.google.protobuf.ProtocolStringList
- getGroupVerticesList() {
- return groupVertices_;
- }
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @return The count of groupVertices.
- */
- public int getGroupVerticesCount() {
- return groupVertices_.size();
- }
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @param index The index of the element to return.
- * @return The groupVertices at the given index.
- */
- public java.lang.String getGroupVertices(int index) {
- return groupVertices_.get(index);
- }
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @param index The index of the value to return.
- * @return The bytes of the groupVertices at the given index.
- */
- public com.google.protobuf.ByteString
- getGroupVerticesBytes(int index) {
- return groupVertices_.getByteString(index);
- }
-
- public static final int MERGED_INPUT_DESCRIPTOR_FIELD_NUMBER = 3;
- private org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto mergedInputDescriptor_;
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- * @return Whether the mergedInputDescriptor field is set.
- */
- @java.lang.Override
- public boolean hasMergedInputDescriptor() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- * @return The mergedInputDescriptor.
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto getMergedInputDescriptor() {
- return mergedInputDescriptor_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance() : mergedInputDescriptor_;
- }
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder getMergedInputDescriptorOrBuilder() {
- return mergedInputDescriptor_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance() : mergedInputDescriptor_;
- }
-
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, groupName_);
- }
- for (int i = 0; i < groupVertices_.size(); i++) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, groupVertices_.getRaw(i));
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- output.writeMessage(3, getMergedInputDescriptor());
- }
- getUnknownFields().writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, groupName_);
- }
- {
- int dataSize = 0;
- for (int i = 0; i < groupVertices_.size(); i++) {
- dataSize += computeStringSizeNoTag(groupVertices_.getRaw(i));
- }
- size += dataSize;
- size += 1 * getGroupVerticesList().size();
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, getMergedInputDescriptor());
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto)) {
- return super.equals(obj);
- }
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto other = (org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto) obj;
-
- if (hasGroupName() != other.hasGroupName()) return false;
- if (hasGroupName()) {
- if (!getGroupName()
- .equals(other.getGroupName())) return false;
- }
- if (!getGroupVerticesList()
- .equals(other.getGroupVerticesList())) return false;
- if (hasMergedInputDescriptor() != other.hasMergedInputDescriptor()) return false;
- if (hasMergedInputDescriptor()) {
- if (!getMergedInputDescriptor()
- .equals(other.getMergedInputDescriptor())) return false;
- }
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasGroupName()) {
- hash = (37 * hash) + GROUP_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getGroupName().hashCode();
- }
- if (getGroupVerticesCount() > 0) {
- hash = (37 * hash) + GROUP_VERTICES_FIELD_NUMBER;
- hash = (53 * hash) + getGroupVerticesList().hashCode();
- }
- if (hasMergedInputDescriptor()) {
- hash = (37 * hash) + MERGED_INPUT_DESCRIPTOR_FIELD_NUMBER;
- hash = (53 * hash) + getMergedInputDescriptor().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code GroupInputSpecProto}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:GroupInputSpecProto)
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProtoOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_GroupInputSpecProto_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_GroupInputSpecProto_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.Builder.class);
- }
-
- // Construct using org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- getMergedInputDescriptorFieldBuilder();
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- bitField0_ = 0;
- groupName_ = "";
- groupVertices_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- mergedInputDescriptor_ = null;
- if (mergedInputDescriptorBuilder_ != null) {
- mergedInputDescriptorBuilder_.dispose();
- mergedInputDescriptorBuilder_ = null;
- }
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_GroupInputSpecProto_descriptor;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto getDefaultInstanceForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.getDefaultInstance();
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto build() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto buildPartial() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto result = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto(this);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartial0(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto result) {
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.groupName_ = groupName_;
- to_bitField0_ |= 0x00000001;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- groupVertices_.makeImmutable();
- result.groupVertices_ = groupVertices_;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.mergedInputDescriptor_ = mergedInputDescriptorBuilder_ == null
- ? mergedInputDescriptor_
- : mergedInputDescriptorBuilder_.build();
- to_bitField0_ |= 0x00000002;
- }
- result.bitField0_ |= to_bitField0_;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto) {
- return mergeFrom((org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto other) {
- if (other == org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.getDefaultInstance()) return this;
- if (other.hasGroupName()) {
- groupName_ = other.groupName_;
- bitField0_ |= 0x00000001;
- onChanged();
- }
- if (!other.groupVertices_.isEmpty()) {
- if (groupVertices_.isEmpty()) {
- groupVertices_ = other.groupVertices_;
- bitField0_ |= 0x00000002;
- } else {
- ensureGroupVerticesIsMutable();
- groupVertices_.addAll(other.groupVertices_);
- }
- onChanged();
- }
- if (other.hasMergedInputDescriptor()) {
- mergeMergedInputDescriptor(other.getMergedInputDescriptor());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- groupName_ = input.readBytes();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- com.google.protobuf.ByteString bs = input.readBytes();
- ensureGroupVerticesIsMutable();
- groupVertices_.add(bs);
- break;
- } // case 18
- case 26: {
- input.readMessage(
- getMergedInputDescriptorFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000004;
- break;
- } // case 26
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.unwrapIOException();
- } finally {
- onChanged();
- } // finally
- return this;
- }
- private int bitField0_;
-
- private java.lang.Object groupName_ = "";
- /**
- * <code>optional string group_name = 1;</code>
- * @return Whether the groupName field is set.
- */
- public boolean hasGroupName() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional string group_name = 1;</code>
- * @return The groupName.
- */
- public java.lang.String getGroupName() {
- java.lang.Object ref = groupName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- groupName_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>optional string group_name = 1;</code>
- * @return The bytes for groupName.
- */
- public com.google.protobuf.ByteString
- getGroupNameBytes() {
- java.lang.Object ref = groupName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- groupName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>optional string group_name = 1;</code>
- * @param value The groupName to set.
- * @return This builder for chaining.
- */
- public Builder setGroupName(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- groupName_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * <code>optional string group_name = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearGroupName() {
- groupName_ = getDefaultInstance().getGroupName();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- return this;
- }
- /**
- * <code>optional string group_name = 1;</code>
- * @param value The bytes for groupName to set.
- * @return This builder for chaining.
- */
- public Builder setGroupNameBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- groupName_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- private com.google.protobuf.LazyStringArrayList groupVertices_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- private void ensureGroupVerticesIsMutable() {
- if (!groupVertices_.isModifiable()) {
- groupVertices_ = new com.google.protobuf.LazyStringArrayList(groupVertices_);
- }
- bitField0_ |= 0x00000002;
- }
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @return A list containing the groupVertices.
- */
- public com.google.protobuf.ProtocolStringList
- getGroupVerticesList() {
- groupVertices_.makeImmutable();
- return groupVertices_;
- }
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @return The count of groupVertices.
- */
- public int getGroupVerticesCount() {
- return groupVertices_.size();
- }
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @param index The index of the element to return.
- * @return The groupVertices at the given index.
- */
- public java.lang.String getGroupVertices(int index) {
- return groupVertices_.get(index);
- }
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @param index The index of the value to return.
- * @return The bytes of the groupVertices at the given index.
- */
- public com.google.protobuf.ByteString
- getGroupVerticesBytes(int index) {
- return groupVertices_.getByteString(index);
- }
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @param index The index to set the value at.
- * @param value The groupVertices to set.
- * @return This builder for chaining.
- */
- public Builder setGroupVertices(
- int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureGroupVerticesIsMutable();
- groupVertices_.set(index, value);
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @param value The groupVertices to add.
- * @return This builder for chaining.
- */
- public Builder addGroupVertices(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- ensureGroupVerticesIsMutable();
- groupVertices_.add(value);
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @param values The groupVertices to add.
- * @return This builder for chaining.
- */
- public Builder addAllGroupVertices(
- java.lang.Iterable<java.lang.String> values) {
- ensureGroupVerticesIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, groupVertices_);
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearGroupVertices() {
- groupVertices_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- bitField0_ = (bitField0_ & ~0x00000002);;
- onChanged();
- return this;
- }
- /**
- * <code>repeated string group_vertices = 2;</code>
- * @param value The bytes of the groupVertices to add.
- * @return This builder for chaining.
- */
- public Builder addGroupVerticesBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- ensureGroupVerticesIsMutable();
- groupVertices_.add(value);
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
-
- private org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto mergedInputDescriptor_;
- private com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder> mergedInputDescriptorBuilder_;
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- * @return Whether the mergedInputDescriptor field is set.
- */
- public boolean hasMergedInputDescriptor() {
- return ((bitField0_ & 0x00000004) != 0);
- }
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- * @return The mergedInputDescriptor.
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto getMergedInputDescriptor() {
- if (mergedInputDescriptorBuilder_ == null) {
- return mergedInputDescriptor_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance() : mergedInputDescriptor_;
- } else {
- return mergedInputDescriptorBuilder_.getMessage();
- }
- }
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- */
- public Builder setMergedInputDescriptor(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto value) {
- if (mergedInputDescriptorBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- mergedInputDescriptor_ = value;
- } else {
- mergedInputDescriptorBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- */
- public Builder setMergedInputDescriptor(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder builderForValue) {
- if (mergedInputDescriptorBuilder_ == null) {
- mergedInputDescriptor_ = builderForValue.build();
- } else {
- mergedInputDescriptorBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- */
- public Builder mergeMergedInputDescriptor(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto value) {
- if (mergedInputDescriptorBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0) &&
- mergedInputDescriptor_ != null &&
- mergedInputDescriptor_ != org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance()) {
- getMergedInputDescriptorBuilder().mergeFrom(value);
- } else {
- mergedInputDescriptor_ = value;
- }
- } else {
- mergedInputDescriptorBuilder_.mergeFrom(value);
- }
- if (mergedInputDescriptor_ != null) {
- bitField0_ |= 0x00000004;
- onChanged();
- }
- return this;
- }
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- */
- public Builder clearMergedInputDescriptor() {
- bitField0_ = (bitField0_ & ~0x00000004);
- mergedInputDescriptor_ = null;
- if (mergedInputDescriptorBuilder_ != null) {
- mergedInputDescriptorBuilder_.dispose();
- mergedInputDescriptorBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder getMergedInputDescriptorBuilder() {
- bitField0_ |= 0x00000004;
- onChanged();
- return getMergedInputDescriptorFieldBuilder().getBuilder();
- }
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder getMergedInputDescriptorOrBuilder() {
- if (mergedInputDescriptorBuilder_ != null) {
- return mergedInputDescriptorBuilder_.getMessageOrBuilder();
- } else {
- return mergedInputDescriptor_ == null ?
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance() : mergedInputDescriptor_;
- }
- }
- /**
- * <code>optional .EntityDescriptorProto merged_input_descriptor = 3;</code>
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder>
- getMergedInputDescriptorFieldBuilder() {
- if (mergedInputDescriptorBuilder_ == null) {
- mergedInputDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder>(
- getMergedInputDescriptor(),
- getParentForChildren(),
- isClean());
- mergedInputDescriptor_ = null;
- }
- return mergedInputDescriptorBuilder_;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:GroupInputSpecProto)
- }
-
- // @@protoc_insertion_point(class_scope:GroupInputSpecProto)
- private static final org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto();
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- @java.lang.Deprecated public static final com.google.protobuf.Parser<GroupInputSpecProto>
- PARSER = new com.google.protobuf.AbstractParser<GroupInputSpecProto>() {
- @java.lang.Override
- public GroupInputSpecProto parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
- }
- };
-
- public static com.google.protobuf.Parser<GroupInputSpecProto> parser() {
- return PARSER;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser<GroupInputSpecProto> getParserForType() {
- return PARSER;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
- }
-
- public interface SignableVertexSpecOrBuilder extends
- // @@protoc_insertion_point(interface_extends:SignableVertexSpec)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * <code>optional string user = 1;</code>
- * @return Whether the user field is set.
- */
- boolean hasUser();
- /**
- * <code>optional string user = 1;</code>
- * @return The user.
- */
- java.lang.String getUser();
- /**
- * <code>optional string user = 1;</code>
- * @return The bytes for user.
- */
- com.google.protobuf.ByteString
- getUserBytes();
-
- /**
- * <code>optional int64 signatureKeyId = 2;</code>
- * @return Whether the signatureKeyId field is set.
- */
- boolean hasSignatureKeyId();
- /**
- * <code>optional int64 signatureKeyId = 2;</code>
- * @return The signatureKeyId.
- */
- long getSignatureKeyId();
-
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- * @return Whether the queryIdentifier field is set.
- */
- boolean hasQueryIdentifier();
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- * @return The queryIdentifier.
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto getQueryIdentifier();
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProtoOrBuilder getQueryIdentifierOrBuilder();
-
- /**
- * <code>optional string hive_query_id = 4;</code>
- * @return Whether the hiveQueryId field is set.
- */
- boolean hasHiveQueryId();
- /**
- * <code>optional string hive_query_id = 4;</code>
- * @return The hiveQueryId.
- */
- java.lang.String getHiveQueryId();
- /**
- * <code>optional string hive_query_id = 4;</code>
- * @return The bytes for hiveQueryId.
- */
- com.google.protobuf.ByteString
- getHiveQueryIdBytes();
-
- /**
- * <pre>
- * Display names cannot be modified by the client for now. If needed, they should be sent to HS2 who will put them here.
- * </pre>
- *
- * <code>optional string dag_name = 5;</code>
- * @return Whether the dagName field is set.
- */
- boolean hasDagName();
- /**
- * <pre>
- * Display names cannot be modified by the client for now. If needed, they should be sent to HS2 who will put them here.
- * </pre>
- *
- * <code>optional string dag_name = 5;</code>
- * @return The dagName.
- */
- java.lang.String getDagName();
- /**
- * <pre>
- * Display names cannot be modified by the client for now. If needed, they should be sent to HS2 who will put them here.
- * </pre>
- *
- * <code>optional string dag_name = 5;</code>
- * @return The bytes for dagName.
- */
- com.google.protobuf.ByteString
- getDagNameBytes();
-
- /**
- * <code>optional string vertex_name = 6;</code>
- * @return Whether the vertexName field is set.
- */
- boolean hasVertexName();
- /**
- * <code>optional string vertex_name = 6;</code>
- * @return The vertexName.
- */
- java.lang.String getVertexName();
- /**
- * <code>optional string vertex_name = 6;</code>
- * @return The bytes for vertexName.
- */
- com.google.protobuf.ByteString
- getVertexNameBytes();
-
- /**
- * <code>optional int32 vertex_index = 7;</code>
- * @return Whether the vertexIndex field is set.
- */
- boolean hasVertexIndex();
- /**
- * <code>optional int32 vertex_index = 7;</code>
- * @return The vertexIndex.
- */
- int getVertexIndex();
-
- /**
- * <pre>
- * The core vertex stuff
- * </pre>
- *
- * <code>optional string token_identifier = 8;</code>
- * @return Whether the tokenIdentifier field is set.
- */
- boolean hasTokenIdentifier();
- /**
- * <pre>
- * The core vertex stuff
- * </pre>
- *
- * <code>optional string token_identifier = 8;</code>
- * @return The tokenIdentifier.
- */
- java.lang.String getTokenIdentifier();
- /**
- * <pre>
- * The core vertex stuff
- * </pre>
- *
- * <code>optional string token_identifier = 8;</code>
- * @return The bytes for tokenIdentifier.
- */
- com.google.protobuf.ByteString
- getTokenIdentifierBytes();
-
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- * @return Whether the processorDescriptor field is set.
- */
- boolean hasProcessorDescriptor();
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- * @return The processorDescriptor.
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto getProcessorDescriptor();
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder getProcessorDescriptorOrBuilder();
-
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto>
- getInputSpecsList();
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto getInputSpecs(int index);
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- int getInputSpecsCount();
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- java.util.List<? extends org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder>
- getInputSpecsOrBuilderList();
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder getInputSpecsOrBuilder(
- int index);
-
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto>
- getOutputSpecsList();
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto getOutputSpecs(int index);
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- int getOutputSpecsCount();
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- java.util.List<? extends org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder>
- getOutputSpecsOrBuilderList();
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder getOutputSpecsOrBuilder(
- int index);
-
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto>
- getGroupedInputSpecsList();
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto getGroupedInputSpecs(int index);
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- int getGroupedInputSpecsCount();
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- java.util.List<? extends org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProtoOrBuilder>
- getGroupedInputSpecsOrBuilderList();
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProtoOrBuilder getGroupedInputSpecsOrBuilder(
- int index);
-
- /**
- * <pre>
- * An internal field required for Tez.
- * </pre>
- *
- * <code>optional int32 vertex_parallelism = 13;</code>
- * @return Whether the vertexParallelism field is set.
- */
- boolean hasVertexParallelism();
- /**
- * <pre>
- * An internal field required for Tez.
- * </pre>
- *
- * <code>optional int32 vertex_parallelism = 13;</code>
- * @return The vertexParallelism.
- */
- int getVertexParallelism();
-
- /**
- * <code>optional bool is_external_submission = 14 [default = false];</code>
- * @return Whether the isExternalSubmission field is set.
- */
- boolean hasIsExternalSubmission();
- /**
- * <code>optional bool is_external_submission = 14 [default = false];</code>
- * @return The isExternalSubmission.
- */
- boolean getIsExternalSubmission();
- }
- /**
- * <pre>
- * The part of SubmitWork that can be signed
- * </pre>
- *
- * Protobuf type {@code SignableVertexSpec}
- */
- public static final class SignableVertexSpec extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:SignableVertexSpec)
- SignableVertexSpecOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use SignableVertexSpec.newBuilder() to construct.
- private SignableVertexSpec(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private SignableVertexSpec() {
- user_ = "";
- hiveQueryId_ = "";
- dagName_ = "";
- vertexName_ = "";
- tokenIdentifier_ = "";
- inputSpecs_ = java.util.Collections.emptyList();
- outputSpecs_ = java.util.Collections.emptyList();
- groupedInputSpecs_ = java.util.Collections.emptyList();
- }
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new SignableVertexSpec();
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_SignableVertexSpec_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_SignableVertexSpec_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.Builder.class);
- }
-
- private int bitField0_;
- public static final int USER_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object user_ = "";
- /**
- * <code>optional string user = 1;</code>
- * @return Whether the user field is set.
- */
- @java.lang.Override
- public boolean hasUser() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional string user = 1;</code>
- * @return The user.
- */
- @java.lang.Override
- public java.lang.String getUser() {
- java.lang.Object ref = user_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- user_ = s;
- }
- return s;
- }
- }
- /**
- * <code>optional string user = 1;</code>
- * @return The bytes for user.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getUserBytes() {
- java.lang.Object ref = user_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- user_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int SIGNATUREKEYID_FIELD_NUMBER = 2;
- private long signatureKeyId_ = 0L;
- /**
- * <code>optional int64 signatureKeyId = 2;</code>
- * @return Whether the signatureKeyId field is set.
- */
- @java.lang.Override
- public boolean hasSignatureKeyId() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>optional int64 signatureKeyId = 2;</code>
- * @return The signatureKeyId.
- */
- @java.lang.Override
- public long getSignatureKeyId() {
- return signatureKeyId_;
- }
-
- public static final int QUERY_IDENTIFIER_FIELD_NUMBER = 3;
- private org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto queryIdentifier_;
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- * @return Whether the queryIdentifier field is set.
- */
- @java.lang.Override
- public boolean hasQueryIdentifier() {
- return ((bitField0_ & 0x00000004) != 0);
- }
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- * @return The queryIdentifier.
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto getQueryIdentifier() {
- return queryIdentifier_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.getDefaultInstance() : queryIdentifier_;
- }
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProtoOrBuilder getQueryIdentifierOrBuilder() {
- return queryIdentifier_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.getDefaultInstance() : queryIdentifier_;
- }
-
- public static final int HIVE_QUERY_ID_FIELD_NUMBER = 4;
- @SuppressWarnings("serial")
- private volatile java.lang.Object hiveQueryId_ = "";
- /**
- * <code>optional string hive_query_id = 4;</code>
- * @return Whether the hiveQueryId field is set.
- */
- @java.lang.Override
- public boolean hasHiveQueryId() {
- return ((bitField0_ & 0x00000008) != 0);
- }
- /**
- * <code>optional string hive_query_id = 4;</code>
- * @return The hiveQueryId.
- */
- @java.lang.Override
- public java.lang.String getHiveQueryId() {
- java.lang.Object ref = hiveQueryId_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- hiveQueryId_ = s;
- }
- return s;
- }
- }
- /**
- * <code>optional string hive_query_id = 4;</code>
- * @return The bytes for hiveQueryId.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getHiveQueryIdBytes() {
- java.lang.Object ref = hiveQueryId_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- hiveQueryId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int DAG_NAME_FIELD_NUMBER = 5;
- @SuppressWarnings("serial")
- private volatile java.lang.Object dagName_ = "";
- /**
- * <pre>
- * Display names cannot be modified by the client for now. If needed, they should be sent to HS2 who will put them here.
- * </pre>
- *
- * <code>optional string dag_name = 5;</code>
- * @return Whether the dagName field is set.
- */
- @java.lang.Override
- public boolean hasDagName() {
- return ((bitField0_ & 0x00000010) != 0);
- }
- /**
- * <pre>
- * Display names cannot be modified by the client for now. If needed, they should be sent to HS2 who will put them here.
- * </pre>
- *
- * <code>optional string dag_name = 5;</code>
- * @return The dagName.
- */
- @java.lang.Override
- public java.lang.String getDagName() {
- java.lang.Object ref = dagName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- dagName_ = s;
- }
- return s;
- }
- }
- /**
- * <pre>
- * Display names cannot be modified by the client for now. If needed, they should be sent to HS2 who will put them here.
- * </pre>
- *
- * <code>optional string dag_name = 5;</code>
- * @return The bytes for dagName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getDagNameBytes() {
- java.lang.Object ref = dagName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- dagName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int VERTEX_NAME_FIELD_NUMBER = 6;
- @SuppressWarnings("serial")
- private volatile java.lang.Object vertexName_ = "";
- /**
- * <code>optional string vertex_name = 6;</code>
- * @return Whether the vertexName field is set.
- */
- @java.lang.Override
- public boolean hasVertexName() {
- return ((bitField0_ & 0x00000020) != 0);
- }
- /**
- * <code>optional string vertex_name = 6;</code>
- * @return The vertexName.
- */
- @java.lang.Override
- public java.lang.String getVertexName() {
- java.lang.Object ref = vertexName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- vertexName_ = s;
- }
- return s;
- }
- }
- /**
- * <code>optional string vertex_name = 6;</code>
- * @return The bytes for vertexName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getVertexNameBytes() {
- java.lang.Object ref = vertexName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- vertexName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int VERTEX_INDEX_FIELD_NUMBER = 7;
- private int vertexIndex_ = 0;
- /**
- * <code>optional int32 vertex_index = 7;</code>
- * @return Whether the vertexIndex field is set.
- */
- @java.lang.Override
- public boolean hasVertexIndex() {
- return ((bitField0_ & 0x00000040) != 0);
- }
- /**
- * <code>optional int32 vertex_index = 7;</code>
- * @return The vertexIndex.
- */
- @java.lang.Override
- public int getVertexIndex() {
- return vertexIndex_;
- }
-
- public static final int TOKEN_IDENTIFIER_FIELD_NUMBER = 8;
- @SuppressWarnings("serial")
- private volatile java.lang.Object tokenIdentifier_ = "";
- /**
- * <pre>
- * The core vertex stuff
- * </pre>
- *
- * <code>optional string token_identifier = 8;</code>
- * @return Whether the tokenIdentifier field is set.
- */
- @java.lang.Override
- public boolean hasTokenIdentifier() {
- return ((bitField0_ & 0x00000080) != 0);
- }
- /**
- * <pre>
- * The core vertex stuff
- * </pre>
- *
- * <code>optional string token_identifier = 8;</code>
- * @return The tokenIdentifier.
- */
- @java.lang.Override
- public java.lang.String getTokenIdentifier() {
- java.lang.Object ref = tokenIdentifier_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- tokenIdentifier_ = s;
- }
- return s;
- }
- }
- /**
- * <pre>
- * The core vertex stuff
- * </pre>
- *
- * <code>optional string token_identifier = 8;</code>
- * @return The bytes for tokenIdentifier.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getTokenIdentifierBytes() {
- java.lang.Object ref = tokenIdentifier_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- tokenIdentifier_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int PROCESSOR_DESCRIPTOR_FIELD_NUMBER = 9;
- private org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto processorDescriptor_;
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- * @return Whether the processorDescriptor field is set.
- */
- @java.lang.Override
- public boolean hasProcessorDescriptor() {
- return ((bitField0_ & 0x00000100) != 0);
- }
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- * @return The processorDescriptor.
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto getProcessorDescriptor() {
- return processorDescriptor_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance() : processorDescriptor_;
- }
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder getProcessorDescriptorOrBuilder() {
- return processorDescriptor_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance() : processorDescriptor_;
- }
-
- public static final int INPUT_SPECS_FIELD_NUMBER = 10;
- @SuppressWarnings("serial")
- private java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto> inputSpecs_;
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- @java.lang.Override
- public java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto> getInputSpecsList() {
- return inputSpecs_;
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- @java.lang.Override
- public java.util.List<? extends org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder>
- getInputSpecsOrBuilderList() {
- return inputSpecs_;
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- @java.lang.Override
- public int getInputSpecsCount() {
- return inputSpecs_.size();
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto getInputSpecs(int index) {
- return inputSpecs_.get(index);
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder getInputSpecsOrBuilder(
- int index) {
- return inputSpecs_.get(index);
- }
-
- public static final int OUTPUT_SPECS_FIELD_NUMBER = 11;
- @SuppressWarnings("serial")
- private java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto> outputSpecs_;
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- @java.lang.Override
- public java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto> getOutputSpecsList() {
- return outputSpecs_;
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- @java.lang.Override
- public java.util.List<? extends org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder>
- getOutputSpecsOrBuilderList() {
- return outputSpecs_;
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- @java.lang.Override
- public int getOutputSpecsCount() {
- return outputSpecs_.size();
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto getOutputSpecs(int index) {
- return outputSpecs_.get(index);
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder getOutputSpecsOrBuilder(
- int index) {
- return outputSpecs_.get(index);
- }
-
- public static final int GROUPED_INPUT_SPECS_FIELD_NUMBER = 12;
- @SuppressWarnings("serial")
- private java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto> groupedInputSpecs_;
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- @java.lang.Override
- public java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto> getGroupedInputSpecsList() {
- return groupedInputSpecs_;
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- @java.lang.Override
- public java.util.List<? extends org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProtoOrBuilder>
- getGroupedInputSpecsOrBuilderList() {
- return groupedInputSpecs_;
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- @java.lang.Override
- public int getGroupedInputSpecsCount() {
- return groupedInputSpecs_.size();
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto getGroupedInputSpecs(int index) {
- return groupedInputSpecs_.get(index);
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProtoOrBuilder getGroupedInputSpecsOrBuilder(
- int index) {
- return groupedInputSpecs_.get(index);
- }
-
- public static final int VERTEX_PARALLELISM_FIELD_NUMBER = 13;
- private int vertexParallelism_ = 0;
- /**
- * <pre>
- * An internal field required for Tez.
- * </pre>
- *
- * <code>optional int32 vertex_parallelism = 13;</code>
- * @return Whether the vertexParallelism field is set.
- */
- @java.lang.Override
- public boolean hasVertexParallelism() {
- return ((bitField0_ & 0x00000200) != 0);
- }
- /**
- * <pre>
- * An internal field required for Tez.
- * </pre>
- *
- * <code>optional int32 vertex_parallelism = 13;</code>
- * @return The vertexParallelism.
- */
- @java.lang.Override
- public int getVertexParallelism() {
- return vertexParallelism_;
- }
-
- public static final int IS_EXTERNAL_SUBMISSION_FIELD_NUMBER = 14;
- private boolean isExternalSubmission_ = false;
- /**
- * <code>optional bool is_external_submission = 14 [default = false];</code>
- * @return Whether the isExternalSubmission field is set.
- */
- @java.lang.Override
- public boolean hasIsExternalSubmission() {
- return ((bitField0_ & 0x00000400) != 0);
- }
- /**
- * <code>optional bool is_external_submission = 14 [default = false];</code>
- * @return The isExternalSubmission.
- */
- @java.lang.Override
- public boolean getIsExternalSubmission() {
- return isExternalSubmission_;
- }
-
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, user_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- output.writeInt64(2, signatureKeyId_);
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- output.writeMessage(3, getQueryIdentifier());
- }
- if (((bitField0_ & 0x00000008) != 0)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 4, hiveQueryId_);
- }
- if (((bitField0_ & 0x00000010) != 0)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 5, dagName_);
- }
- if (((bitField0_ & 0x00000020) != 0)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 6, vertexName_);
- }
- if (((bitField0_ & 0x00000040) != 0)) {
- output.writeInt32(7, vertexIndex_);
- }
- if (((bitField0_ & 0x00000080) != 0)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 8, tokenIdentifier_);
- }
- if (((bitField0_ & 0x00000100) != 0)) {
- output.writeMessage(9, getProcessorDescriptor());
- }
- for (int i = 0; i < inputSpecs_.size(); i++) {
- output.writeMessage(10, inputSpecs_.get(i));
- }
- for (int i = 0; i < outputSpecs_.size(); i++) {
- output.writeMessage(11, outputSpecs_.get(i));
- }
- for (int i = 0; i < groupedInputSpecs_.size(); i++) {
- output.writeMessage(12, groupedInputSpecs_.get(i));
- }
- if (((bitField0_ & 0x00000200) != 0)) {
- output.writeInt32(13, vertexParallelism_);
- }
- if (((bitField0_ & 0x00000400) != 0)) {
- output.writeBool(14, isExternalSubmission_);
- }
- getUnknownFields().writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, user_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(2, signatureKeyId_);
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(3, getQueryIdentifier());
- }
- if (((bitField0_ & 0x00000008) != 0)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, hiveQueryId_);
- }
- if (((bitField0_ & 0x00000010) != 0)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, dagName_);
- }
- if (((bitField0_ & 0x00000020) != 0)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, vertexName_);
- }
- if (((bitField0_ & 0x00000040) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(7, vertexIndex_);
- }
- if (((bitField0_ & 0x00000080) != 0)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, tokenIdentifier_);
- }
- if (((bitField0_ & 0x00000100) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(9, getProcessorDescriptor());
- }
- for (int i = 0; i < inputSpecs_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(10, inputSpecs_.get(i));
- }
- for (int i = 0; i < outputSpecs_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(11, outputSpecs_.get(i));
- }
- for (int i = 0; i < groupedInputSpecs_.size(); i++) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(12, groupedInputSpecs_.get(i));
- }
- if (((bitField0_ & 0x00000200) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(13, vertexParallelism_);
- }
- if (((bitField0_ & 0x00000400) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(14, isExternalSubmission_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec)) {
- return super.equals(obj);
- }
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec other = (org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec) obj;
-
- if (hasUser() != other.hasUser()) return false;
- if (hasUser()) {
- if (!getUser()
- .equals(other.getUser())) return false;
- }
- if (hasSignatureKeyId() != other.hasSignatureKeyId()) return false;
- if (hasSignatureKeyId()) {
- if (getSignatureKeyId()
- != other.getSignatureKeyId()) return false;
- }
- if (hasQueryIdentifier() != other.hasQueryIdentifier()) return false;
- if (hasQueryIdentifier()) {
- if (!getQueryIdentifier()
- .equals(other.getQueryIdentifier())) return false;
- }
- if (hasHiveQueryId() != other.hasHiveQueryId()) return false;
- if (hasHiveQueryId()) {
- if (!getHiveQueryId()
- .equals(other.getHiveQueryId())) return false;
- }
- if (hasDagName() != other.hasDagName()) return false;
- if (hasDagName()) {
- if (!getDagName()
- .equals(other.getDagName())) return false;
- }
- if (hasVertexName() != other.hasVertexName()) return false;
- if (hasVertexName()) {
- if (!getVertexName()
- .equals(other.getVertexName())) return false;
- }
- if (hasVertexIndex() != other.hasVertexIndex()) return false;
- if (hasVertexIndex()) {
- if (getVertexIndex()
- != other.getVertexIndex()) return false;
- }
- if (hasTokenIdentifier() != other.hasTokenIdentifier()) return false;
- if (hasTokenIdentifier()) {
- if (!getTokenIdentifier()
- .equals(other.getTokenIdentifier())) return false;
- }
- if (hasProcessorDescriptor() != other.hasProcessorDescriptor()) return false;
- if (hasProcessorDescriptor()) {
- if (!getProcessorDescriptor()
- .equals(other.getProcessorDescriptor())) return false;
- }
- if (!getInputSpecsList()
- .equals(other.getInputSpecsList())) return false;
- if (!getOutputSpecsList()
- .equals(other.getOutputSpecsList())) return false;
- if (!getGroupedInputSpecsList()
- .equals(other.getGroupedInputSpecsList())) return false;
- if (hasVertexParallelism() != other.hasVertexParallelism()) return false;
- if (hasVertexParallelism()) {
- if (getVertexParallelism()
- != other.getVertexParallelism()) return false;
- }
- if (hasIsExternalSubmission() != other.hasIsExternalSubmission()) return false;
- if (hasIsExternalSubmission()) {
- if (getIsExternalSubmission()
- != other.getIsExternalSubmission()) return false;
- }
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasUser()) {
- hash = (37 * hash) + USER_FIELD_NUMBER;
- hash = (53 * hash) + getUser().hashCode();
- }
- if (hasSignatureKeyId()) {
- hash = (37 * hash) + SIGNATUREKEYID_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getSignatureKeyId());
- }
- if (hasQueryIdentifier()) {
- hash = (37 * hash) + QUERY_IDENTIFIER_FIELD_NUMBER;
- hash = (53 * hash) + getQueryIdentifier().hashCode();
- }
- if (hasHiveQueryId()) {
- hash = (37 * hash) + HIVE_QUERY_ID_FIELD_NUMBER;
- hash = (53 * hash) + getHiveQueryId().hashCode();
- }
- if (hasDagName()) {
- hash = (37 * hash) + DAG_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getDagName().hashCode();
- }
- if (hasVertexName()) {
- hash = (37 * hash) + VERTEX_NAME_FIELD_NUMBER;
- hash = (53 * hash) + getVertexName().hashCode();
- }
- if (hasVertexIndex()) {
- hash = (37 * hash) + VERTEX_INDEX_FIELD_NUMBER;
- hash = (53 * hash) + getVertexIndex();
- }
- if (hasTokenIdentifier()) {
- hash = (37 * hash) + TOKEN_IDENTIFIER_FIELD_NUMBER;
- hash = (53 * hash) + getTokenIdentifier().hashCode();
- }
- if (hasProcessorDescriptor()) {
- hash = (37 * hash) + PROCESSOR_DESCRIPTOR_FIELD_NUMBER;
- hash = (53 * hash) + getProcessorDescriptor().hashCode();
- }
- if (getInputSpecsCount() > 0) {
- hash = (37 * hash) + INPUT_SPECS_FIELD_NUMBER;
- hash = (53 * hash) + getInputSpecsList().hashCode();
- }
- if (getOutputSpecsCount() > 0) {
- hash = (37 * hash) + OUTPUT_SPECS_FIELD_NUMBER;
- hash = (53 * hash) + getOutputSpecsList().hashCode();
- }
- if (getGroupedInputSpecsCount() > 0) {
- hash = (37 * hash) + GROUPED_INPUT_SPECS_FIELD_NUMBER;
- hash = (53 * hash) + getGroupedInputSpecsList().hashCode();
- }
- if (hasVertexParallelism()) {
- hash = (37 * hash) + VERTEX_PARALLELISM_FIELD_NUMBER;
- hash = (53 * hash) + getVertexParallelism();
- }
- if (hasIsExternalSubmission()) {
- hash = (37 * hash) + IS_EXTERNAL_SUBMISSION_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getIsExternalSubmission());
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * <pre>
- * The part of SubmitWork that can be signed
- * </pre>
- *
- * Protobuf type {@code SignableVertexSpec}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:SignableVertexSpec)
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpecOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_SignableVertexSpec_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_SignableVertexSpec_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.Builder.class);
- }
-
- // Construct using org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- getQueryIdentifierFieldBuilder();
- getProcessorDescriptorFieldBuilder();
- getInputSpecsFieldBuilder();
- getOutputSpecsFieldBuilder();
- getGroupedInputSpecsFieldBuilder();
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- bitField0_ = 0;
- user_ = "";
- signatureKeyId_ = 0L;
- queryIdentifier_ = null;
- if (queryIdentifierBuilder_ != null) {
- queryIdentifierBuilder_.dispose();
- queryIdentifierBuilder_ = null;
- }
- hiveQueryId_ = "";
- dagName_ = "";
- vertexName_ = "";
- vertexIndex_ = 0;
- tokenIdentifier_ = "";
- processorDescriptor_ = null;
- if (processorDescriptorBuilder_ != null) {
- processorDescriptorBuilder_.dispose();
- processorDescriptorBuilder_ = null;
- }
- if (inputSpecsBuilder_ == null) {
- inputSpecs_ = java.util.Collections.emptyList();
- } else {
- inputSpecs_ = null;
- inputSpecsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000200);
- if (outputSpecsBuilder_ == null) {
- outputSpecs_ = java.util.Collections.emptyList();
- } else {
- outputSpecs_ = null;
- outputSpecsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000400);
- if (groupedInputSpecsBuilder_ == null) {
- groupedInputSpecs_ = java.util.Collections.emptyList();
- } else {
- groupedInputSpecs_ = null;
- groupedInputSpecsBuilder_.clear();
- }
- bitField0_ = (bitField0_ & ~0x00000800);
- vertexParallelism_ = 0;
- isExternalSubmission_ = false;
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_SignableVertexSpec_descriptor;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec getDefaultInstanceForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.getDefaultInstance();
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec build() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec buildPartial() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec result = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec(this);
- buildPartialRepeatedFields(result);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartialRepeatedFields(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec result) {
- if (inputSpecsBuilder_ == null) {
- if (((bitField0_ & 0x00000200) != 0)) {
- inputSpecs_ = java.util.Collections.unmodifiableList(inputSpecs_);
- bitField0_ = (bitField0_ & ~0x00000200);
- }
- result.inputSpecs_ = inputSpecs_;
- } else {
- result.inputSpecs_ = inputSpecsBuilder_.build();
- }
- if (outputSpecsBuilder_ == null) {
- if (((bitField0_ & 0x00000400) != 0)) {
- outputSpecs_ = java.util.Collections.unmodifiableList(outputSpecs_);
- bitField0_ = (bitField0_ & ~0x00000400);
- }
- result.outputSpecs_ = outputSpecs_;
- } else {
- result.outputSpecs_ = outputSpecsBuilder_.build();
- }
- if (groupedInputSpecsBuilder_ == null) {
- if (((bitField0_ & 0x00000800) != 0)) {
- groupedInputSpecs_ = java.util.Collections.unmodifiableList(groupedInputSpecs_);
- bitField0_ = (bitField0_ & ~0x00000800);
- }
- result.groupedInputSpecs_ = groupedInputSpecs_;
- } else {
- result.groupedInputSpecs_ = groupedInputSpecsBuilder_.build();
- }
- }
-
- private void buildPartial0(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec result) {
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.user_ = user_;
- to_bitField0_ |= 0x00000001;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.signatureKeyId_ = signatureKeyId_;
- to_bitField0_ |= 0x00000002;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.queryIdentifier_ = queryIdentifierBuilder_ == null
- ? queryIdentifier_
- : queryIdentifierBuilder_.build();
- to_bitField0_ |= 0x00000004;
- }
- if (((from_bitField0_ & 0x00000008) != 0)) {
- result.hiveQueryId_ = hiveQueryId_;
- to_bitField0_ |= 0x00000008;
- }
- if (((from_bitField0_ & 0x00000010) != 0)) {
- result.dagName_ = dagName_;
- to_bitField0_ |= 0x00000010;
- }
- if (((from_bitField0_ & 0x00000020) != 0)) {
- result.vertexName_ = vertexName_;
- to_bitField0_ |= 0x00000020;
- }
- if (((from_bitField0_ & 0x00000040) != 0)) {
- result.vertexIndex_ = vertexIndex_;
- to_bitField0_ |= 0x00000040;
- }
- if (((from_bitField0_ & 0x00000080) != 0)) {
- result.tokenIdentifier_ = tokenIdentifier_;
- to_bitField0_ |= 0x00000080;
- }
- if (((from_bitField0_ & 0x00000100) != 0)) {
- result.processorDescriptor_ = processorDescriptorBuilder_ == null
- ? processorDescriptor_
- : processorDescriptorBuilder_.build();
- to_bitField0_ |= 0x00000100;
- }
- if (((from_bitField0_ & 0x00001000) != 0)) {
- result.vertexParallelism_ = vertexParallelism_;
- to_bitField0_ |= 0x00000200;
- }
- if (((from_bitField0_ & 0x00002000) != 0)) {
- result.isExternalSubmission_ = isExternalSubmission_;
- to_bitField0_ |= 0x00000400;
- }
- result.bitField0_ |= to_bitField0_;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec) {
- return mergeFrom((org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec other) {
- if (other == org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.getDefaultInstance()) return this;
- if (other.hasUser()) {
- user_ = other.user_;
- bitField0_ |= 0x00000001;
- onChanged();
- }
- if (other.hasSignatureKeyId()) {
- setSignatureKeyId(other.getSignatureKeyId());
- }
- if (other.hasQueryIdentifier()) {
- mergeQueryIdentifier(other.getQueryIdentifier());
- }
- if (other.hasHiveQueryId()) {
- hiveQueryId_ = other.hiveQueryId_;
- bitField0_ |= 0x00000008;
- onChanged();
- }
- if (other.hasDagName()) {
- dagName_ = other.dagName_;
- bitField0_ |= 0x00000010;
- onChanged();
- }
- if (other.hasVertexName()) {
- vertexName_ = other.vertexName_;
- bitField0_ |= 0x00000020;
- onChanged();
- }
- if (other.hasVertexIndex()) {
- setVertexIndex(other.getVertexIndex());
- }
- if (other.hasTokenIdentifier()) {
- tokenIdentifier_ = other.tokenIdentifier_;
- bitField0_ |= 0x00000080;
- onChanged();
- }
- if (other.hasProcessorDescriptor()) {
- mergeProcessorDescriptor(other.getProcessorDescriptor());
- }
- if (inputSpecsBuilder_ == null) {
- if (!other.inputSpecs_.isEmpty()) {
- if (inputSpecs_.isEmpty()) {
- inputSpecs_ = other.inputSpecs_;
- bitField0_ = (bitField0_ & ~0x00000200);
- } else {
- ensureInputSpecsIsMutable();
- inputSpecs_.addAll(other.inputSpecs_);
- }
- onChanged();
- }
- } else {
- if (!other.inputSpecs_.isEmpty()) {
- if (inputSpecsBuilder_.isEmpty()) {
- inputSpecsBuilder_.dispose();
- inputSpecsBuilder_ = null;
- inputSpecs_ = other.inputSpecs_;
- bitField0_ = (bitField0_ & ~0x00000200);
- inputSpecsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getInputSpecsFieldBuilder() : null;
- } else {
- inputSpecsBuilder_.addAllMessages(other.inputSpecs_);
- }
- }
- }
- if (outputSpecsBuilder_ == null) {
- if (!other.outputSpecs_.isEmpty()) {
- if (outputSpecs_.isEmpty()) {
- outputSpecs_ = other.outputSpecs_;
- bitField0_ = (bitField0_ & ~0x00000400);
- } else {
- ensureOutputSpecsIsMutable();
- outputSpecs_.addAll(other.outputSpecs_);
- }
- onChanged();
- }
- } else {
- if (!other.outputSpecs_.isEmpty()) {
- if (outputSpecsBuilder_.isEmpty()) {
- outputSpecsBuilder_.dispose();
- outputSpecsBuilder_ = null;
- outputSpecs_ = other.outputSpecs_;
- bitField0_ = (bitField0_ & ~0x00000400);
- outputSpecsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getOutputSpecsFieldBuilder() : null;
- } else {
- outputSpecsBuilder_.addAllMessages(other.outputSpecs_);
- }
- }
- }
- if (groupedInputSpecsBuilder_ == null) {
- if (!other.groupedInputSpecs_.isEmpty()) {
- if (groupedInputSpecs_.isEmpty()) {
- groupedInputSpecs_ = other.groupedInputSpecs_;
- bitField0_ = (bitField0_ & ~0x00000800);
- } else {
- ensureGroupedInputSpecsIsMutable();
- groupedInputSpecs_.addAll(other.groupedInputSpecs_);
- }
- onChanged();
- }
- } else {
- if (!other.groupedInputSpecs_.isEmpty()) {
- if (groupedInputSpecsBuilder_.isEmpty()) {
- groupedInputSpecsBuilder_.dispose();
- groupedInputSpecsBuilder_ = null;
- groupedInputSpecs_ = other.groupedInputSpecs_;
- bitField0_ = (bitField0_ & ~0x00000800);
- groupedInputSpecsBuilder_ =
- com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
- getGroupedInputSpecsFieldBuilder() : null;
- } else {
- groupedInputSpecsBuilder_.addAllMessages(other.groupedInputSpecs_);
- }
- }
- }
- if (other.hasVertexParallelism()) {
- setVertexParallelism(other.getVertexParallelism());
- }
- if (other.hasIsExternalSubmission()) {
- setIsExternalSubmission(other.getIsExternalSubmission());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- user_ = input.readBytes();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 16: {
- signatureKeyId_ = input.readInt64();
- bitField0_ |= 0x00000002;
- break;
- } // case 16
- case 26: {
- input.readMessage(
- getQueryIdentifierFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000004;
- break;
- } // case 26
- case 34: {
- hiveQueryId_ = input.readBytes();
- bitField0_ |= 0x00000008;
- break;
- } // case 34
- case 42: {
- dagName_ = input.readBytes();
- bitField0_ |= 0x00000010;
- break;
- } // case 42
- case 50: {
- vertexName_ = input.readBytes();
- bitField0_ |= 0x00000020;
- break;
- } // case 50
- case 56: {
- vertexIndex_ = input.readInt32();
- bitField0_ |= 0x00000040;
- break;
- } // case 56
- case 66: {
- tokenIdentifier_ = input.readBytes();
- bitField0_ |= 0x00000080;
- break;
- } // case 66
- case 74: {
- input.readMessage(
- getProcessorDescriptorFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000100;
- break;
- } // case 74
- case 82: {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto m =
- input.readMessage(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.PARSER,
- extensionRegistry);
- if (inputSpecsBuilder_ == null) {
- ensureInputSpecsIsMutable();
- inputSpecs_.add(m);
- } else {
- inputSpecsBuilder_.addMessage(m);
- }
- break;
- } // case 82
- case 90: {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto m =
- input.readMessage(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.PARSER,
- extensionRegistry);
- if (outputSpecsBuilder_ == null) {
- ensureOutputSpecsIsMutable();
- outputSpecs_.add(m);
- } else {
- outputSpecsBuilder_.addMessage(m);
- }
- break;
- } // case 90
- case 98: {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto m =
- input.readMessage(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.PARSER,
- extensionRegistry);
- if (groupedInputSpecsBuilder_ == null) {
- ensureGroupedInputSpecsIsMutable();
- groupedInputSpecs_.add(m);
- } else {
- groupedInputSpecsBuilder_.addMessage(m);
- }
- break;
- } // case 98
- case 104: {
- vertexParallelism_ = input.readInt32();
- bitField0_ |= 0x00001000;
- break;
- } // case 104
- case 112: {
- isExternalSubmission_ = input.readBool();
- bitField0_ |= 0x00002000;
- break;
- } // case 112
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.unwrapIOException();
- } finally {
- onChanged();
- } // finally
- return this;
- }
- private int bitField0_;
-
- private java.lang.Object user_ = "";
- /**
- * <code>optional string user = 1;</code>
- * @return Whether the user field is set.
- */
- public boolean hasUser() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional string user = 1;</code>
- * @return The user.
- */
- public java.lang.String getUser() {
- java.lang.Object ref = user_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- user_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>optional string user = 1;</code>
- * @return The bytes for user.
- */
- public com.google.protobuf.ByteString
- getUserBytes() {
- java.lang.Object ref = user_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- user_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>optional string user = 1;</code>
- * @param value The user to set.
- * @return This builder for chaining.
- */
- public Builder setUser(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- user_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * <code>optional string user = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearUser() {
- user_ = getDefaultInstance().getUser();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- return this;
- }
- /**
- * <code>optional string user = 1;</code>
- * @param value The bytes for user to set.
- * @return This builder for chaining.
- */
- public Builder setUserBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- user_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- private long signatureKeyId_ ;
- /**
- * <code>optional int64 signatureKeyId = 2;</code>
- * @return Whether the signatureKeyId field is set.
- */
- @java.lang.Override
- public boolean hasSignatureKeyId() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>optional int64 signatureKeyId = 2;</code>
- * @return The signatureKeyId.
- */
- @java.lang.Override
- public long getSignatureKeyId() {
- return signatureKeyId_;
- }
- /**
- * <code>optional int64 signatureKeyId = 2;</code>
- * @param value The signatureKeyId to set.
- * @return This builder for chaining.
- */
- public Builder setSignatureKeyId(long value) {
-
- signatureKeyId_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * <code>optional int64 signatureKeyId = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearSignatureKeyId() {
- bitField0_ = (bitField0_ & ~0x00000002);
- signatureKeyId_ = 0L;
- onChanged();
- return this;
- }
-
- private org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto queryIdentifier_;
- private com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProtoOrBuilder> queryIdentifierBuilder_;
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- * @return Whether the queryIdentifier field is set.
- */
- public boolean hasQueryIdentifier() {
- return ((bitField0_ & 0x00000004) != 0);
- }
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- * @return The queryIdentifier.
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto getQueryIdentifier() {
- if (queryIdentifierBuilder_ == null) {
- return queryIdentifier_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.getDefaultInstance() : queryIdentifier_;
- } else {
- return queryIdentifierBuilder_.getMessage();
- }
- }
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- */
- public Builder setQueryIdentifier(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto value) {
- if (queryIdentifierBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- queryIdentifier_ = value;
- } else {
- queryIdentifierBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- */
- public Builder setQueryIdentifier(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.Builder builderForValue) {
- if (queryIdentifierBuilder_ == null) {
- queryIdentifier_ = builderForValue.build();
- } else {
- queryIdentifierBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- */
- public Builder mergeQueryIdentifier(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto value) {
- if (queryIdentifierBuilder_ == null) {
- if (((bitField0_ & 0x00000004) != 0) &&
- queryIdentifier_ != null &&
- queryIdentifier_ != org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.getDefaultInstance()) {
- getQueryIdentifierBuilder().mergeFrom(value);
- } else {
- queryIdentifier_ = value;
- }
- } else {
- queryIdentifierBuilder_.mergeFrom(value);
- }
- if (queryIdentifier_ != null) {
- bitField0_ |= 0x00000004;
- onChanged();
- }
- return this;
- }
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- */
- public Builder clearQueryIdentifier() {
- bitField0_ = (bitField0_ & ~0x00000004);
- queryIdentifier_ = null;
- if (queryIdentifierBuilder_ != null) {
- queryIdentifierBuilder_.dispose();
- queryIdentifierBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.Builder getQueryIdentifierBuilder() {
- bitField0_ |= 0x00000004;
- onChanged();
- return getQueryIdentifierFieldBuilder().getBuilder();
- }
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProtoOrBuilder getQueryIdentifierOrBuilder() {
- if (queryIdentifierBuilder_ != null) {
- return queryIdentifierBuilder_.getMessageOrBuilder();
- } else {
- return queryIdentifier_ == null ?
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.getDefaultInstance() : queryIdentifier_;
- }
- }
- /**
- * <code>optional .QueryIdentifierProto query_identifier = 3;</code>
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProtoOrBuilder>
- getQueryIdentifierFieldBuilder() {
- if (queryIdentifierBuilder_ == null) {
- queryIdentifierBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProtoOrBuilder>(
- getQueryIdentifier(),
- getParentForChildren(),
- isClean());
- queryIdentifier_ = null;
- }
- return queryIdentifierBuilder_;
- }
-
- private java.lang.Object hiveQueryId_ = "";
- /**
- * <code>optional string hive_query_id = 4;</code>
- * @return Whether the hiveQueryId field is set.
- */
- public boolean hasHiveQueryId() {
- return ((bitField0_ & 0x00000008) != 0);
- }
- /**
- * <code>optional string hive_query_id = 4;</code>
- * @return The hiveQueryId.
- */
- public java.lang.String getHiveQueryId() {
- java.lang.Object ref = hiveQueryId_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- hiveQueryId_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>optional string hive_query_id = 4;</code>
- * @return The bytes for hiveQueryId.
- */
- public com.google.protobuf.ByteString
- getHiveQueryIdBytes() {
- java.lang.Object ref = hiveQueryId_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- hiveQueryId_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>optional string hive_query_id = 4;</code>
- * @param value The hiveQueryId to set.
- * @return This builder for chaining.
- */
- public Builder setHiveQueryId(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- hiveQueryId_ = value;
- bitField0_ |= 0x00000008;
- onChanged();
- return this;
- }
- /**
- * <code>optional string hive_query_id = 4;</code>
- * @return This builder for chaining.
- */
- public Builder clearHiveQueryId() {
- hiveQueryId_ = getDefaultInstance().getHiveQueryId();
- bitField0_ = (bitField0_ & ~0x00000008);
- onChanged();
- return this;
- }
- /**
- * <code>optional string hive_query_id = 4;</code>
- * @param value The bytes for hiveQueryId to set.
- * @return This builder for chaining.
- */
- public Builder setHiveQueryIdBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- hiveQueryId_ = value;
- bitField0_ |= 0x00000008;
- onChanged();
- return this;
- }
-
- private java.lang.Object dagName_ = "";
- /**
- * <pre>
- * Display names cannot be modified by the client for now. If needed, they should be sent to HS2 who will put them here.
- * </pre>
- *
- * <code>optional string dag_name = 5;</code>
- * @return Whether the dagName field is set.
- */
- public boolean hasDagName() {
- return ((bitField0_ & 0x00000010) != 0);
- }
- /**
- * <pre>
- * Display names cannot be modified by the client for now. If needed, they should be sent to HS2 who will put them here.
- * </pre>
- *
- * <code>optional string dag_name = 5;</code>
- * @return The dagName.
- */
- public java.lang.String getDagName() {
- java.lang.Object ref = dagName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- dagName_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * Display names cannot be modified by the client for now. If needed, they should be sent to HS2 who will put them here.
- * </pre>
- *
- * <code>optional string dag_name = 5;</code>
- * @return The bytes for dagName.
- */
- public com.google.protobuf.ByteString
- getDagNameBytes() {
- java.lang.Object ref = dagName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- dagName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * Display names cannot be modified by the client for now. If needed, they should be sent to HS2 who will put them here.
- * </pre>
- *
- * <code>optional string dag_name = 5;</code>
- * @param value The dagName to set.
- * @return This builder for chaining.
- */
- public Builder setDagName(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- dagName_ = value;
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * Display names cannot be modified by the client for now. If needed, they should be sent to HS2 who will put them here.
- * </pre>
- *
- * <code>optional string dag_name = 5;</code>
- * @return This builder for chaining.
- */
- public Builder clearDagName() {
- dagName_ = getDefaultInstance().getDagName();
- bitField0_ = (bitField0_ & ~0x00000010);
- onChanged();
- return this;
- }
- /**
- * <pre>
- * Display names cannot be modified by the client for now. If needed, they should be sent to HS2 who will put them here.
- * </pre>
- *
- * <code>optional string dag_name = 5;</code>
- * @param value The bytes for dagName to set.
- * @return This builder for chaining.
- */
- public Builder setDagNameBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- dagName_ = value;
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
-
- private java.lang.Object vertexName_ = "";
- /**
- * <code>optional string vertex_name = 6;</code>
- * @return Whether the vertexName field is set.
- */
- public boolean hasVertexName() {
- return ((bitField0_ & 0x00000020) != 0);
- }
- /**
- * <code>optional string vertex_name = 6;</code>
- * @return The vertexName.
- */
- public java.lang.String getVertexName() {
- java.lang.Object ref = vertexName_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- vertexName_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>optional string vertex_name = 6;</code>
- * @return The bytes for vertexName.
- */
- public com.google.protobuf.ByteString
- getVertexNameBytes() {
- java.lang.Object ref = vertexName_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- vertexName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>optional string vertex_name = 6;</code>
- * @param value The vertexName to set.
- * @return This builder for chaining.
- */
- public Builder setVertexName(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- vertexName_ = value;
- bitField0_ |= 0x00000020;
- onChanged();
- return this;
- }
- /**
- * <code>optional string vertex_name = 6;</code>
- * @return This builder for chaining.
- */
- public Builder clearVertexName() {
- vertexName_ = getDefaultInstance().getVertexName();
- bitField0_ = (bitField0_ & ~0x00000020);
- onChanged();
- return this;
- }
- /**
- * <code>optional string vertex_name = 6;</code>
- * @param value The bytes for vertexName to set.
- * @return This builder for chaining.
- */
- public Builder setVertexNameBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- vertexName_ = value;
- bitField0_ |= 0x00000020;
- onChanged();
- return this;
- }
-
- private int vertexIndex_ ;
- /**
- * <code>optional int32 vertex_index = 7;</code>
- * @return Whether the vertexIndex field is set.
- */
- @java.lang.Override
- public boolean hasVertexIndex() {
- return ((bitField0_ & 0x00000040) != 0);
- }
- /**
- * <code>optional int32 vertex_index = 7;</code>
- * @return The vertexIndex.
- */
- @java.lang.Override
- public int getVertexIndex() {
- return vertexIndex_;
- }
- /**
- * <code>optional int32 vertex_index = 7;</code>
- * @param value The vertexIndex to set.
- * @return This builder for chaining.
- */
- public Builder setVertexIndex(int value) {
-
- vertexIndex_ = value;
- bitField0_ |= 0x00000040;
- onChanged();
- return this;
- }
- /**
- * <code>optional int32 vertex_index = 7;</code>
- * @return This builder for chaining.
- */
- public Builder clearVertexIndex() {
- bitField0_ = (bitField0_ & ~0x00000040);
- vertexIndex_ = 0;
- onChanged();
- return this;
- }
-
- private java.lang.Object tokenIdentifier_ = "";
- /**
- * <pre>
- * The core vertex stuff
- * </pre>
- *
- * <code>optional string token_identifier = 8;</code>
- * @return Whether the tokenIdentifier field is set.
- */
- public boolean hasTokenIdentifier() {
- return ((bitField0_ & 0x00000080) != 0);
- }
- /**
- * <pre>
- * The core vertex stuff
- * </pre>
- *
- * <code>optional string token_identifier = 8;</code>
- * @return The tokenIdentifier.
- */
- public java.lang.String getTokenIdentifier() {
- java.lang.Object ref = tokenIdentifier_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- tokenIdentifier_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <pre>
- * The core vertex stuff
- * </pre>
- *
- * <code>optional string token_identifier = 8;</code>
- * @return The bytes for tokenIdentifier.
- */
- public com.google.protobuf.ByteString
- getTokenIdentifierBytes() {
- java.lang.Object ref = tokenIdentifier_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- tokenIdentifier_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <pre>
- * The core vertex stuff
- * </pre>
- *
- * <code>optional string token_identifier = 8;</code>
- * @param value The tokenIdentifier to set.
- * @return This builder for chaining.
- */
- public Builder setTokenIdentifier(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- tokenIdentifier_ = value;
- bitField0_ |= 0x00000080;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * The core vertex stuff
- * </pre>
- *
- * <code>optional string token_identifier = 8;</code>
- * @return This builder for chaining.
- */
- public Builder clearTokenIdentifier() {
- tokenIdentifier_ = getDefaultInstance().getTokenIdentifier();
- bitField0_ = (bitField0_ & ~0x00000080);
- onChanged();
- return this;
- }
- /**
- * <pre>
- * The core vertex stuff
- * </pre>
- *
- * <code>optional string token_identifier = 8;</code>
- * @param value The bytes for tokenIdentifier to set.
- * @return This builder for chaining.
- */
- public Builder setTokenIdentifierBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- tokenIdentifier_ = value;
- bitField0_ |= 0x00000080;
- onChanged();
- return this;
- }
-
- private org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto processorDescriptor_;
- private com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder> processorDescriptorBuilder_;
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- * @return Whether the processorDescriptor field is set.
- */
- public boolean hasProcessorDescriptor() {
- return ((bitField0_ & 0x00000100) != 0);
- }
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- * @return The processorDescriptor.
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto getProcessorDescriptor() {
- if (processorDescriptorBuilder_ == null) {
- return processorDescriptor_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance() : processorDescriptor_;
- } else {
- return processorDescriptorBuilder_.getMessage();
- }
- }
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- */
- public Builder setProcessorDescriptor(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto value) {
- if (processorDescriptorBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- processorDescriptor_ = value;
- } else {
- processorDescriptorBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000100;
- onChanged();
- return this;
- }
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- */
- public Builder setProcessorDescriptor(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder builderForValue) {
- if (processorDescriptorBuilder_ == null) {
- processorDescriptor_ = builderForValue.build();
- } else {
- processorDescriptorBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000100;
- onChanged();
- return this;
- }
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- */
- public Builder mergeProcessorDescriptor(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto value) {
- if (processorDescriptorBuilder_ == null) {
- if (((bitField0_ & 0x00000100) != 0) &&
- processorDescriptor_ != null &&
- processorDescriptor_ != org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance()) {
- getProcessorDescriptorBuilder().mergeFrom(value);
- } else {
- processorDescriptor_ = value;
- }
- } else {
- processorDescriptorBuilder_.mergeFrom(value);
- }
- if (processorDescriptor_ != null) {
- bitField0_ |= 0x00000100;
- onChanged();
- }
- return this;
- }
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- */
- public Builder clearProcessorDescriptor() {
- bitField0_ = (bitField0_ & ~0x00000100);
- processorDescriptor_ = null;
- if (processorDescriptorBuilder_ != null) {
- processorDescriptorBuilder_.dispose();
- processorDescriptorBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder getProcessorDescriptorBuilder() {
- bitField0_ |= 0x00000100;
- onChanged();
- return getProcessorDescriptorFieldBuilder().getBuilder();
- }
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder getProcessorDescriptorOrBuilder() {
- if (processorDescriptorBuilder_ != null) {
- return processorDescriptorBuilder_.getMessageOrBuilder();
- } else {
- return processorDescriptor_ == null ?
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.getDefaultInstance() : processorDescriptor_;
- }
- }
- /**
- * <code>optional .EntityDescriptorProto processor_descriptor = 9;</code>
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder>
- getProcessorDescriptorFieldBuilder() {
- if (processorDescriptorBuilder_ == null) {
- processorDescriptorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.EntityDescriptorProtoOrBuilder>(
- getProcessorDescriptor(),
- getParentForChildren(),
- isClean());
- processorDescriptor_ = null;
- }
- return processorDescriptorBuilder_;
- }
-
- private java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto> inputSpecs_ =
- java.util.Collections.emptyList();
- private void ensureInputSpecsIsMutable() {
- if (!((bitField0_ & 0x00000200) != 0)) {
- inputSpecs_ = new java.util.ArrayList<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto>(inputSpecs_);
- bitField0_ |= 0x00000200;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder> inputSpecsBuilder_;
-
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto> getInputSpecsList() {
- if (inputSpecsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(inputSpecs_);
- } else {
- return inputSpecsBuilder_.getMessageList();
- }
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public int getInputSpecsCount() {
- if (inputSpecsBuilder_ == null) {
- return inputSpecs_.size();
- } else {
- return inputSpecsBuilder_.getCount();
- }
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto getInputSpecs(int index) {
- if (inputSpecsBuilder_ == null) {
- return inputSpecs_.get(index);
- } else {
- return inputSpecsBuilder_.getMessage(index);
- }
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public Builder setInputSpecs(
- int index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto value) {
- if (inputSpecsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureInputSpecsIsMutable();
- inputSpecs_.set(index, value);
- onChanged();
- } else {
- inputSpecsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public Builder setInputSpecs(
- int index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder builderForValue) {
- if (inputSpecsBuilder_ == null) {
- ensureInputSpecsIsMutable();
- inputSpecs_.set(index, builderForValue.build());
- onChanged();
- } else {
- inputSpecsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public Builder addInputSpecs(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto value) {
- if (inputSpecsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureInputSpecsIsMutable();
- inputSpecs_.add(value);
- onChanged();
- } else {
- inputSpecsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public Builder addInputSpecs(
- int index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto value) {
- if (inputSpecsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureInputSpecsIsMutable();
- inputSpecs_.add(index, value);
- onChanged();
- } else {
- inputSpecsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public Builder addInputSpecs(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder builderForValue) {
- if (inputSpecsBuilder_ == null) {
- ensureInputSpecsIsMutable();
- inputSpecs_.add(builderForValue.build());
- onChanged();
- } else {
- inputSpecsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public Builder addInputSpecs(
- int index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder builderForValue) {
- if (inputSpecsBuilder_ == null) {
- ensureInputSpecsIsMutable();
- inputSpecs_.add(index, builderForValue.build());
- onChanged();
- } else {
- inputSpecsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public Builder addAllInputSpecs(
- java.lang.Iterable<? extends org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto> values) {
- if (inputSpecsBuilder_ == null) {
- ensureInputSpecsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, inputSpecs_);
- onChanged();
- } else {
- inputSpecsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public Builder clearInputSpecs() {
- if (inputSpecsBuilder_ == null) {
- inputSpecs_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000200);
- onChanged();
- } else {
- inputSpecsBuilder_.clear();
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public Builder removeInputSpecs(int index) {
- if (inputSpecsBuilder_ == null) {
- ensureInputSpecsIsMutable();
- inputSpecs_.remove(index);
- onChanged();
- } else {
- inputSpecsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder getInputSpecsBuilder(
- int index) {
- return getInputSpecsFieldBuilder().getBuilder(index);
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder getInputSpecsOrBuilder(
- int index) {
- if (inputSpecsBuilder_ == null) {
- return inputSpecs_.get(index); } else {
- return inputSpecsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public java.util.List<? extends org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder>
- getInputSpecsOrBuilderList() {
- if (inputSpecsBuilder_ != null) {
- return inputSpecsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(inputSpecs_);
- }
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder addInputSpecsBuilder() {
- return getInputSpecsFieldBuilder().addBuilder(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.getDefaultInstance());
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder addInputSpecsBuilder(
- int index) {
- return getInputSpecsFieldBuilder().addBuilder(
- index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.getDefaultInstance());
- }
- /**
- * <code>repeated .IOSpecProto input_specs = 10;</code>
- */
- public java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder>
- getInputSpecsBuilderList() {
- return getInputSpecsFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder>
- getInputSpecsFieldBuilder() {
- if (inputSpecsBuilder_ == null) {
- inputSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder>(
- inputSpecs_,
- ((bitField0_ & 0x00000200) != 0),
- getParentForChildren(),
- isClean());
- inputSpecs_ = null;
- }
- return inputSpecsBuilder_;
- }
-
- private java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto> outputSpecs_ =
- java.util.Collections.emptyList();
- private void ensureOutputSpecsIsMutable() {
- if (!((bitField0_ & 0x00000400) != 0)) {
- outputSpecs_ = new java.util.ArrayList<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto>(outputSpecs_);
- bitField0_ |= 0x00000400;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder> outputSpecsBuilder_;
-
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto> getOutputSpecsList() {
- if (outputSpecsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(outputSpecs_);
- } else {
- return outputSpecsBuilder_.getMessageList();
- }
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public int getOutputSpecsCount() {
- if (outputSpecsBuilder_ == null) {
- return outputSpecs_.size();
- } else {
- return outputSpecsBuilder_.getCount();
- }
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto getOutputSpecs(int index) {
- if (outputSpecsBuilder_ == null) {
- return outputSpecs_.get(index);
- } else {
- return outputSpecsBuilder_.getMessage(index);
- }
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public Builder setOutputSpecs(
- int index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto value) {
- if (outputSpecsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOutputSpecsIsMutable();
- outputSpecs_.set(index, value);
- onChanged();
- } else {
- outputSpecsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public Builder setOutputSpecs(
- int index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder builderForValue) {
- if (outputSpecsBuilder_ == null) {
- ensureOutputSpecsIsMutable();
- outputSpecs_.set(index, builderForValue.build());
- onChanged();
- } else {
- outputSpecsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public Builder addOutputSpecs(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto value) {
- if (outputSpecsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOutputSpecsIsMutable();
- outputSpecs_.add(value);
- onChanged();
- } else {
- outputSpecsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public Builder addOutputSpecs(
- int index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto value) {
- if (outputSpecsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureOutputSpecsIsMutable();
- outputSpecs_.add(index, value);
- onChanged();
- } else {
- outputSpecsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public Builder addOutputSpecs(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder builderForValue) {
- if (outputSpecsBuilder_ == null) {
- ensureOutputSpecsIsMutable();
- outputSpecs_.add(builderForValue.build());
- onChanged();
- } else {
- outputSpecsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public Builder addOutputSpecs(
- int index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder builderForValue) {
- if (outputSpecsBuilder_ == null) {
- ensureOutputSpecsIsMutable();
- outputSpecs_.add(index, builderForValue.build());
- onChanged();
- } else {
- outputSpecsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public Builder addAllOutputSpecs(
- java.lang.Iterable<? extends org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto> values) {
- if (outputSpecsBuilder_ == null) {
- ensureOutputSpecsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, outputSpecs_);
- onChanged();
- } else {
- outputSpecsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public Builder clearOutputSpecs() {
- if (outputSpecsBuilder_ == null) {
- outputSpecs_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000400);
- onChanged();
- } else {
- outputSpecsBuilder_.clear();
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public Builder removeOutputSpecs(int index) {
- if (outputSpecsBuilder_ == null) {
- ensureOutputSpecsIsMutable();
- outputSpecs_.remove(index);
- onChanged();
- } else {
- outputSpecsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder getOutputSpecsBuilder(
- int index) {
- return getOutputSpecsFieldBuilder().getBuilder(index);
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder getOutputSpecsOrBuilder(
- int index) {
- if (outputSpecsBuilder_ == null) {
- return outputSpecs_.get(index); } else {
- return outputSpecsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public java.util.List<? extends org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder>
- getOutputSpecsOrBuilderList() {
- if (outputSpecsBuilder_ != null) {
- return outputSpecsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(outputSpecs_);
- }
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder addOutputSpecsBuilder() {
- return getOutputSpecsFieldBuilder().addBuilder(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.getDefaultInstance());
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder addOutputSpecsBuilder(
- int index) {
- return getOutputSpecsFieldBuilder().addBuilder(
- index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.getDefaultInstance());
- }
- /**
- * <code>repeated .IOSpecProto output_specs = 11;</code>
- */
- public java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder>
- getOutputSpecsBuilderList() {
- return getOutputSpecsFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder>
- getOutputSpecsFieldBuilder() {
- if (outputSpecsBuilder_ == null) {
- outputSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.IOSpecProtoOrBuilder>(
- outputSpecs_,
- ((bitField0_ & 0x00000400) != 0),
- getParentForChildren(),
- isClean());
- outputSpecs_ = null;
- }
- return outputSpecsBuilder_;
- }
-
- private java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto> groupedInputSpecs_ =
- java.util.Collections.emptyList();
- private void ensureGroupedInputSpecsIsMutable() {
- if (!((bitField0_ & 0x00000800) != 0)) {
- groupedInputSpecs_ = new java.util.ArrayList<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto>(groupedInputSpecs_);
- bitField0_ |= 0x00000800;
- }
- }
-
- private com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProtoOrBuilder> groupedInputSpecsBuilder_;
-
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto> getGroupedInputSpecsList() {
- if (groupedInputSpecsBuilder_ == null) {
- return java.util.Collections.unmodifiableList(groupedInputSpecs_);
- } else {
- return groupedInputSpecsBuilder_.getMessageList();
- }
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public int getGroupedInputSpecsCount() {
- if (groupedInputSpecsBuilder_ == null) {
- return groupedInputSpecs_.size();
- } else {
- return groupedInputSpecsBuilder_.getCount();
- }
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto getGroupedInputSpecs(int index) {
- if (groupedInputSpecsBuilder_ == null) {
- return groupedInputSpecs_.get(index);
- } else {
- return groupedInputSpecsBuilder_.getMessage(index);
- }
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public Builder setGroupedInputSpecs(
- int index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto value) {
- if (groupedInputSpecsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureGroupedInputSpecsIsMutable();
- groupedInputSpecs_.set(index, value);
- onChanged();
- } else {
- groupedInputSpecsBuilder_.setMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public Builder setGroupedInputSpecs(
- int index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.Builder builderForValue) {
- if (groupedInputSpecsBuilder_ == null) {
- ensureGroupedInputSpecsIsMutable();
- groupedInputSpecs_.set(index, builderForValue.build());
- onChanged();
- } else {
- groupedInputSpecsBuilder_.setMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public Builder addGroupedInputSpecs(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto value) {
- if (groupedInputSpecsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureGroupedInputSpecsIsMutable();
- groupedInputSpecs_.add(value);
- onChanged();
- } else {
- groupedInputSpecsBuilder_.addMessage(value);
- }
- return this;
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public Builder addGroupedInputSpecs(
- int index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto value) {
- if (groupedInputSpecsBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- ensureGroupedInputSpecsIsMutable();
- groupedInputSpecs_.add(index, value);
- onChanged();
- } else {
- groupedInputSpecsBuilder_.addMessage(index, value);
- }
- return this;
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public Builder addGroupedInputSpecs(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.Builder builderForValue) {
- if (groupedInputSpecsBuilder_ == null) {
- ensureGroupedInputSpecsIsMutable();
- groupedInputSpecs_.add(builderForValue.build());
- onChanged();
- } else {
- groupedInputSpecsBuilder_.addMessage(builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public Builder addGroupedInputSpecs(
- int index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.Builder builderForValue) {
- if (groupedInputSpecsBuilder_ == null) {
- ensureGroupedInputSpecsIsMutable();
- groupedInputSpecs_.add(index, builderForValue.build());
- onChanged();
- } else {
- groupedInputSpecsBuilder_.addMessage(index, builderForValue.build());
- }
- return this;
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public Builder addAllGroupedInputSpecs(
- java.lang.Iterable<? extends org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto> values) {
- if (groupedInputSpecsBuilder_ == null) {
- ensureGroupedInputSpecsIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, groupedInputSpecs_);
- onChanged();
- } else {
- groupedInputSpecsBuilder_.addAllMessages(values);
- }
- return this;
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public Builder clearGroupedInputSpecs() {
- if (groupedInputSpecsBuilder_ == null) {
- groupedInputSpecs_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000800);
- onChanged();
- } else {
- groupedInputSpecsBuilder_.clear();
- }
- return this;
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public Builder removeGroupedInputSpecs(int index) {
- if (groupedInputSpecsBuilder_ == null) {
- ensureGroupedInputSpecsIsMutable();
- groupedInputSpecs_.remove(index);
- onChanged();
- } else {
- groupedInputSpecsBuilder_.remove(index);
- }
- return this;
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.Builder getGroupedInputSpecsBuilder(
- int index) {
- return getGroupedInputSpecsFieldBuilder().getBuilder(index);
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProtoOrBuilder getGroupedInputSpecsOrBuilder(
- int index) {
- if (groupedInputSpecsBuilder_ == null) {
- return groupedInputSpecs_.get(index); } else {
- return groupedInputSpecsBuilder_.getMessageOrBuilder(index);
- }
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public java.util.List<? extends org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProtoOrBuilder>
- getGroupedInputSpecsOrBuilderList() {
- if (groupedInputSpecsBuilder_ != null) {
- return groupedInputSpecsBuilder_.getMessageOrBuilderList();
- } else {
- return java.util.Collections.unmodifiableList(groupedInputSpecs_);
- }
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.Builder addGroupedInputSpecsBuilder() {
- return getGroupedInputSpecsFieldBuilder().addBuilder(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.getDefaultInstance());
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.Builder addGroupedInputSpecsBuilder(
- int index) {
- return getGroupedInputSpecsFieldBuilder().addBuilder(
- index, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.getDefaultInstance());
- }
- /**
- * <code>repeated .GroupInputSpecProto grouped_input_specs = 12;</code>
- */
- public java.util.List<org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.Builder>
- getGroupedInputSpecsBuilderList() {
- return getGroupedInputSpecsFieldBuilder().getBuilderList();
- }
- private com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProtoOrBuilder>
- getGroupedInputSpecsFieldBuilder() {
- if (groupedInputSpecsBuilder_ == null) {
- groupedInputSpecsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProto.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.GroupInputSpecProtoOrBuilder>(
- groupedInputSpecs_,
- ((bitField0_ & 0x00000800) != 0),
- getParentForChildren(),
- isClean());
- groupedInputSpecs_ = null;
- }
- return groupedInputSpecsBuilder_;
- }
-
- private int vertexParallelism_ ;
- /**
- * <pre>
- * An internal field required for Tez.
- * </pre>
- *
- * <code>optional int32 vertex_parallelism = 13;</code>
- * @return Whether the vertexParallelism field is set.
- */
- @java.lang.Override
- public boolean hasVertexParallelism() {
- return ((bitField0_ & 0x00001000) != 0);
- }
- /**
- * <pre>
- * An internal field required for Tez.
- * </pre>
- *
- * <code>optional int32 vertex_parallelism = 13;</code>
- * @return The vertexParallelism.
- */
- @java.lang.Override
- public int getVertexParallelism() {
- return vertexParallelism_;
- }
- /**
- * <pre>
- * An internal field required for Tez.
- * </pre>
- *
- * <code>optional int32 vertex_parallelism = 13;</code>
- * @param value The vertexParallelism to set.
- * @return This builder for chaining.
- */
- public Builder setVertexParallelism(int value) {
-
- vertexParallelism_ = value;
- bitField0_ |= 0x00001000;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * An internal field required for Tez.
- * </pre>
- *
- * <code>optional int32 vertex_parallelism = 13;</code>
- * @return This builder for chaining.
- */
- public Builder clearVertexParallelism() {
- bitField0_ = (bitField0_ & ~0x00001000);
- vertexParallelism_ = 0;
- onChanged();
- return this;
- }
-
- private boolean isExternalSubmission_ ;
- /**
- * <code>optional bool is_external_submission = 14 [default = false];</code>
- * @return Whether the isExternalSubmission field is set.
- */
- @java.lang.Override
- public boolean hasIsExternalSubmission() {
- return ((bitField0_ & 0x00002000) != 0);
- }
- /**
- * <code>optional bool is_external_submission = 14 [default = false];</code>
- * @return The isExternalSubmission.
- */
- @java.lang.Override
- public boolean getIsExternalSubmission() {
- return isExternalSubmission_;
- }
- /**
- * <code>optional bool is_external_submission = 14 [default = false];</code>
- * @param value The isExternalSubmission to set.
- * @return This builder for chaining.
- */
- public Builder setIsExternalSubmission(boolean value) {
-
- isExternalSubmission_ = value;
- bitField0_ |= 0x00002000;
- onChanged();
- return this;
- }
- /**
- * <code>optional bool is_external_submission = 14 [default = false];</code>
- * @return This builder for chaining.
- */
- public Builder clearIsExternalSubmission() {
- bitField0_ = (bitField0_ & ~0x00002000);
- isExternalSubmission_ = false;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:SignableVertexSpec)
- }
-
- // @@protoc_insertion_point(class_scope:SignableVertexSpec)
- private static final org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec();
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- @java.lang.Deprecated public static final com.google.protobuf.Parser<SignableVertexSpec>
- PARSER = new com.google.protobuf.AbstractParser<SignableVertexSpec>() {
- @java.lang.Override
- public SignableVertexSpec parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
- }
- };
-
- public static com.google.protobuf.Parser<SignableVertexSpec> parser() {
- return PARSER;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser<SignableVertexSpec> getParserForType() {
- return PARSER;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
- }
-
- public interface VertexOrBinaryOrBuilder extends
- // @@protoc_insertion_point(interface_extends:VertexOrBinary)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- * @return Whether the vertex field is set.
- */
- boolean hasVertex();
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- * @return The vertex.
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec getVertex();
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- */
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpecOrBuilder getVertexOrBuilder();
-
- /**
- * <pre>
- * SignableVertexSpec
- * </pre>
- *
- * <code>optional bytes vertexBinary = 2;</code>
- * @return Whether the vertexBinary field is set.
- */
- boolean hasVertexBinary();
- /**
- * <pre>
- * SignableVertexSpec
- * </pre>
- *
- * <code>optional bytes vertexBinary = 2;</code>
- * @return The vertexBinary.
- */
- com.google.protobuf.ByteString getVertexBinary();
- }
- /**
- * <pre>
- * Union
- * </pre>
- *
- * Protobuf type {@code VertexOrBinary}
- */
- public static final class VertexOrBinary extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:VertexOrBinary)
- VertexOrBinaryOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use VertexOrBinary.newBuilder() to construct.
- private VertexOrBinary(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private VertexOrBinary() {
- vertexBinary_ = com.google.protobuf.ByteString.EMPTY;
- }
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new VertexOrBinary();
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_VertexOrBinary_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_VertexOrBinary_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary.Builder.class);
- }
-
- private int bitField0_;
- public static final int VERTEX_FIELD_NUMBER = 1;
- private org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec vertex_;
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- * @return Whether the vertex field is set.
- */
- @java.lang.Override
- public boolean hasVertex() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- * @return The vertex.
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec getVertex() {
- return vertex_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.getDefaultInstance() : vertex_;
- }
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- */
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpecOrBuilder getVertexOrBuilder() {
- return vertex_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.getDefaultInstance() : vertex_;
- }
-
- public static final int VERTEXBINARY_FIELD_NUMBER = 2;
- private com.google.protobuf.ByteString vertexBinary_ = com.google.protobuf.ByteString.EMPTY;
- /**
- * <pre>
- * SignableVertexSpec
- * </pre>
- *
- * <code>optional bytes vertexBinary = 2;</code>
- * @return Whether the vertexBinary field is set.
- */
- @java.lang.Override
- public boolean hasVertexBinary() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <pre>
- * SignableVertexSpec
- * </pre>
- *
- * <code>optional bytes vertexBinary = 2;</code>
- * @return The vertexBinary.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getVertexBinary() {
- return vertexBinary_;
- }
-
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeMessage(1, getVertex());
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- output.writeBytes(2, vertexBinary_);
- }
- getUnknownFields().writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(1, getVertex());
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(2, vertexBinary_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary)) {
- return super.equals(obj);
- }
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary other = (org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary) obj;
-
- if (hasVertex() != other.hasVertex()) return false;
- if (hasVertex()) {
- if (!getVertex()
- .equals(other.getVertex())) return false;
- }
- if (hasVertexBinary() != other.hasVertexBinary()) return false;
- if (hasVertexBinary()) {
- if (!getVertexBinary()
- .equals(other.getVertexBinary())) return false;
- }
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasVertex()) {
- hash = (37 * hash) + VERTEX_FIELD_NUMBER;
- hash = (53 * hash) + getVertex().hashCode();
- }
- if (hasVertexBinary()) {
- hash = (37 * hash) + VERTEXBINARY_FIELD_NUMBER;
- hash = (53 * hash) + getVertexBinary().hashCode();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * <pre>
- * Union
- * </pre>
- *
- * Protobuf type {@code VertexOrBinary}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:VertexOrBinary)
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinaryOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_VertexOrBinary_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_VertexOrBinary_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary.Builder.class);
- }
-
- // Construct using org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary.newBuilder()
- private Builder() {
- maybeForceBuilderInitialization();
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
- maybeForceBuilderInitialization();
- }
- private void maybeForceBuilderInitialization() {
- if (com.google.protobuf.GeneratedMessageV3
- .alwaysUseFieldBuilders) {
- getVertexFieldBuilder();
- }
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- bitField0_ = 0;
- vertex_ = null;
- if (vertexBuilder_ != null) {
- vertexBuilder_.dispose();
- vertexBuilder_ = null;
- }
- vertexBinary_ = com.google.protobuf.ByteString.EMPTY;
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_VertexOrBinary_descriptor;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary getDefaultInstanceForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary.getDefaultInstance();
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary build() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary buildPartial() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary result = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary(this);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartial0(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary result) {
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.vertex_ = vertexBuilder_ == null
- ? vertex_
- : vertexBuilder_.build();
- to_bitField0_ |= 0x00000001;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.vertexBinary_ = vertexBinary_;
- to_bitField0_ |= 0x00000002;
- }
- result.bitField0_ |= to_bitField0_;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary) {
- return mergeFrom((org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary other) {
- if (other == org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary.getDefaultInstance()) return this;
- if (other.hasVertex()) {
- mergeVertex(other.getVertex());
- }
- if (other.hasVertexBinary()) {
- setVertexBinary(other.getVertexBinary());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- input.readMessage(
- getVertexFieldBuilder().getBuilder(),
- extensionRegistry);
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- vertexBinary_ = input.readBytes();
- bitField0_ |= 0x00000002;
- break;
- } // case 18
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.unwrapIOException();
- } finally {
- onChanged();
- } // finally
- return this;
- }
- private int bitField0_;
-
- private org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec vertex_;
- private com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpecOrBuilder> vertexBuilder_;
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- * @return Whether the vertex field is set.
- */
- public boolean hasVertex() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- * @return The vertex.
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec getVertex() {
- if (vertexBuilder_ == null) {
- return vertex_ == null ? org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.getDefaultInstance() : vertex_;
- } else {
- return vertexBuilder_.getMessage();
- }
- }
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- */
- public Builder setVertex(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec value) {
- if (vertexBuilder_ == null) {
- if (value == null) {
- throw new NullPointerException();
- }
- vertex_ = value;
- } else {
- vertexBuilder_.setMessage(value);
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- */
- public Builder setVertex(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.Builder builderForValue) {
- if (vertexBuilder_ == null) {
- vertex_ = builderForValue.build();
- } else {
- vertexBuilder_.setMessage(builderForValue.build());
- }
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- */
- public Builder mergeVertex(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec value) {
- if (vertexBuilder_ == null) {
- if (((bitField0_ & 0x00000001) != 0) &&
- vertex_ != null &&
- vertex_ != org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.getDefaultInstance()) {
- getVertexBuilder().mergeFrom(value);
- } else {
- vertex_ = value;
- }
- } else {
- vertexBuilder_.mergeFrom(value);
- }
- if (vertex_ != null) {
- bitField0_ |= 0x00000001;
- onChanged();
- }
- return this;
- }
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- */
- public Builder clearVertex() {
- bitField0_ = (bitField0_ & ~0x00000001);
- vertex_ = null;
- if (vertexBuilder_ != null) {
- vertexBuilder_.dispose();
- vertexBuilder_ = null;
- }
- onChanged();
- return this;
- }
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.Builder getVertexBuilder() {
- bitField0_ |= 0x00000001;
- onChanged();
- return getVertexFieldBuilder().getBuilder();
- }
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- */
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpecOrBuilder getVertexOrBuilder() {
- if (vertexBuilder_ != null) {
- return vertexBuilder_.getMessageOrBuilder();
- } else {
- return vertex_ == null ?
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.getDefaultInstance() : vertex_;
- }
- }
- /**
- * <code>optional .SignableVertexSpec vertex = 1;</code>
- */
- private com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpecOrBuilder>
- getVertexFieldBuilder() {
- if (vertexBuilder_ == null) {
- vertexBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpec.Builder, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.SignableVertexSpecOrBuilder>(
- getVertex(),
- getParentForChildren(),
- isClean());
- vertex_ = null;
- }
- return vertexBuilder_;
- }
-
- private com.google.protobuf.ByteString vertexBinary_ = com.google.protobuf.ByteString.EMPTY;
- /**
- * <pre>
- * SignableVertexSpec
- * </pre>
- *
- * <code>optional bytes vertexBinary = 2;</code>
- * @return Whether the vertexBinary field is set.
- */
- @java.lang.Override
- public boolean hasVertexBinary() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <pre>
- * SignableVertexSpec
- * </pre>
- *
- * <code>optional bytes vertexBinary = 2;</code>
- * @return The vertexBinary.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getVertexBinary() {
- return vertexBinary_;
- }
- /**
- * <pre>
- * SignableVertexSpec
- * </pre>
- *
- * <code>optional bytes vertexBinary = 2;</code>
- * @param value The vertexBinary to set.
- * @return This builder for chaining.
- */
- public Builder setVertexBinary(com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- vertexBinary_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * <pre>
- * SignableVertexSpec
- * </pre>
- *
- * <code>optional bytes vertexBinary = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearVertexBinary() {
- bitField0_ = (bitField0_ & ~0x00000002);
- vertexBinary_ = getDefaultInstance().getVertexBinary();
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:VertexOrBinary)
- }
-
- // @@protoc_insertion_point(class_scope:VertexOrBinary)
- private static final org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary();
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- @java.lang.Deprecated public static final com.google.protobuf.Parser<VertexOrBinary>
- PARSER = new com.google.protobuf.AbstractParser<VertexOrBinary>() {
- @java.lang.Override
- public VertexOrBinary parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
- }
- };
-
- public static com.google.protobuf.Parser<VertexOrBinary> parser() {
- return PARSER;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser<VertexOrBinary> getParserForType() {
- return PARSER;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.VertexOrBinary getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
- }
-
- public interface FragmentRuntimeInfoOrBuilder extends
- // @@protoc_insertion_point(interface_extends:FragmentRuntimeInfo)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * <code>optional int32 num_self_and_upstream_tasks = 1;</code>
- * @return Whether the numSelfAndUpstreamTasks field is set.
- */
- boolean hasNumSelfAndUpstreamTasks();
- /**
- * <code>optional int32 num_self_and_upstream_tasks = 1;</code>
- * @return The numSelfAndUpstreamTasks.
- */
- int getNumSelfAndUpstreamTasks();
-
- /**
- * <code>optional int32 num_self_and_upstream_completed_tasks = 2;</code>
- * @return Whether the numSelfAndUpstreamCompletedTasks field is set.
- */
- boolean hasNumSelfAndUpstreamCompletedTasks();
- /**
- * <code>optional int32 num_self_and_upstream_completed_tasks = 2;</code>
- * @return The numSelfAndUpstreamCompletedTasks.
- */
- int getNumSelfAndUpstreamCompletedTasks();
-
- /**
- * <code>optional int32 within_dag_priority = 3;</code>
- * @return Whether the withinDagPriority field is set.
- */
- boolean hasWithinDagPriority();
- /**
- * <code>optional int32 within_dag_priority = 3;</code>
- * @return The withinDagPriority.
- */
- int getWithinDagPriority();
-
- /**
- * <code>optional int64 dag_start_time = 4;</code>
- * @return Whether the dagStartTime field is set.
- */
- boolean hasDagStartTime();
- /**
- * <code>optional int64 dag_start_time = 4;</code>
- * @return The dagStartTime.
- */
- long getDagStartTime();
-
- /**
- * <code>optional int64 first_attempt_start_time = 5;</code>
- * @return Whether the firstAttemptStartTime field is set.
- */
- boolean hasFirstAttemptStartTime();
- /**
- * <code>optional int64 first_attempt_start_time = 5;</code>
- * @return The firstAttemptStartTime.
- */
- long getFirstAttemptStartTime();
-
- /**
- * <code>optional int64 current_attempt_start_time = 6;</code>
- * @return Whether the currentAttemptStartTime field is set.
- */
- boolean hasCurrentAttemptStartTime();
- /**
- * <code>optional int64 current_attempt_start_time = 6;</code>
- * @return The currentAttemptStartTime.
- */
- long getCurrentAttemptStartTime();
- }
- /**
- * Protobuf type {@code FragmentRuntimeInfo}
- */
- public static final class FragmentRuntimeInfo extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:FragmentRuntimeInfo)
- FragmentRuntimeInfoOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use FragmentRuntimeInfo.newBuilder() to construct.
- private FragmentRuntimeInfo(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private FragmentRuntimeInfo() {
- }
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new FragmentRuntimeInfo();
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_FragmentRuntimeInfo_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_FragmentRuntimeInfo_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo.Builder.class);
- }
-
- private int bitField0_;
- public static final int NUM_SELF_AND_UPSTREAM_TASKS_FIELD_NUMBER = 1;
- private int numSelfAndUpstreamTasks_ = 0;
- /**
- * <code>optional int32 num_self_and_upstream_tasks = 1;</code>
- * @return Whether the numSelfAndUpstreamTasks field is set.
- */
- @java.lang.Override
- public boolean hasNumSelfAndUpstreamTasks() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional int32 num_self_and_upstream_tasks = 1;</code>
- * @return The numSelfAndUpstreamTasks.
- */
- @java.lang.Override
- public int getNumSelfAndUpstreamTasks() {
- return numSelfAndUpstreamTasks_;
- }
-
- public static final int NUM_SELF_AND_UPSTREAM_COMPLETED_TASKS_FIELD_NUMBER = 2;
- private int numSelfAndUpstreamCompletedTasks_ = 0;
- /**
- * <code>optional int32 num_self_and_upstream_completed_tasks = 2;</code>
- * @return Whether the numSelfAndUpstreamCompletedTasks field is set.
- */
- @java.lang.Override
- public boolean hasNumSelfAndUpstreamCompletedTasks() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>optional int32 num_self_and_upstream_completed_tasks = 2;</code>
- * @return The numSelfAndUpstreamCompletedTasks.
- */
- @java.lang.Override
- public int getNumSelfAndUpstreamCompletedTasks() {
- return numSelfAndUpstreamCompletedTasks_;
- }
-
- public static final int WITHIN_DAG_PRIORITY_FIELD_NUMBER = 3;
- private int withinDagPriority_ = 0;
- /**
- * <code>optional int32 within_dag_priority = 3;</code>
- * @return Whether the withinDagPriority field is set.
- */
- @java.lang.Override
- public boolean hasWithinDagPriority() {
- return ((bitField0_ & 0x00000004) != 0);
- }
- /**
- * <code>optional int32 within_dag_priority = 3;</code>
- * @return The withinDagPriority.
- */
- @java.lang.Override
- public int getWithinDagPriority() {
- return withinDagPriority_;
- }
-
- public static final int DAG_START_TIME_FIELD_NUMBER = 4;
- private long dagStartTime_ = 0L;
- /**
- * <code>optional int64 dag_start_time = 4;</code>
- * @return Whether the dagStartTime field is set.
- */
- @java.lang.Override
- public boolean hasDagStartTime() {
- return ((bitField0_ & 0x00000008) != 0);
- }
- /**
- * <code>optional int64 dag_start_time = 4;</code>
- * @return The dagStartTime.
- */
- @java.lang.Override
- public long getDagStartTime() {
- return dagStartTime_;
- }
-
- public static final int FIRST_ATTEMPT_START_TIME_FIELD_NUMBER = 5;
- private long firstAttemptStartTime_ = 0L;
- /**
- * <code>optional int64 first_attempt_start_time = 5;</code>
- * @return Whether the firstAttemptStartTime field is set.
- */
- @java.lang.Override
- public boolean hasFirstAttemptStartTime() {
- return ((bitField0_ & 0x00000010) != 0);
- }
- /**
- * <code>optional int64 first_attempt_start_time = 5;</code>
- * @return The firstAttemptStartTime.
- */
- @java.lang.Override
- public long getFirstAttemptStartTime() {
- return firstAttemptStartTime_;
- }
-
- public static final int CURRENT_ATTEMPT_START_TIME_FIELD_NUMBER = 6;
- private long currentAttemptStartTime_ = 0L;
- /**
- * <code>optional int64 current_attempt_start_time = 6;</code>
- * @return Whether the currentAttemptStartTime field is set.
- */
- @java.lang.Override
- public boolean hasCurrentAttemptStartTime() {
- return ((bitField0_ & 0x00000020) != 0);
- }
- /**
- * <code>optional int64 current_attempt_start_time = 6;</code>
- * @return The currentAttemptStartTime.
- */
- @java.lang.Override
- public long getCurrentAttemptStartTime() {
- return currentAttemptStartTime_;
- }
-
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeInt32(1, numSelfAndUpstreamTasks_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- output.writeInt32(2, numSelfAndUpstreamCompletedTasks_);
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- output.writeInt32(3, withinDagPriority_);
- }
- if (((bitField0_ & 0x00000008) != 0)) {
- output.writeInt64(4, dagStartTime_);
- }
- if (((bitField0_ & 0x00000010) != 0)) {
- output.writeInt64(5, firstAttemptStartTime_);
- }
- if (((bitField0_ & 0x00000020) != 0)) {
- output.writeInt64(6, currentAttemptStartTime_);
- }
- getUnknownFields().writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(1, numSelfAndUpstreamTasks_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(2, numSelfAndUpstreamCompletedTasks_);
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(3, withinDagPriority_);
- }
- if (((bitField0_ & 0x00000008) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(4, dagStartTime_);
- }
- if (((bitField0_ & 0x00000010) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(5, firstAttemptStartTime_);
- }
- if (((bitField0_ & 0x00000020) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt64Size(6, currentAttemptStartTime_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo)) {
- return super.equals(obj);
- }
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo other = (org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo) obj;
-
- if (hasNumSelfAndUpstreamTasks() != other.hasNumSelfAndUpstreamTasks()) return false;
- if (hasNumSelfAndUpstreamTasks()) {
- if (getNumSelfAndUpstreamTasks()
- != other.getNumSelfAndUpstreamTasks()) return false;
- }
- if (hasNumSelfAndUpstreamCompletedTasks() != other.hasNumSelfAndUpstreamCompletedTasks()) return false;
- if (hasNumSelfAndUpstreamCompletedTasks()) {
- if (getNumSelfAndUpstreamCompletedTasks()
- != other.getNumSelfAndUpstreamCompletedTasks()) return false;
- }
- if (hasWithinDagPriority() != other.hasWithinDagPriority()) return false;
- if (hasWithinDagPriority()) {
- if (getWithinDagPriority()
- != other.getWithinDagPriority()) return false;
- }
- if (hasDagStartTime() != other.hasDagStartTime()) return false;
- if (hasDagStartTime()) {
- if (getDagStartTime()
- != other.getDagStartTime()) return false;
- }
- if (hasFirstAttemptStartTime() != other.hasFirstAttemptStartTime()) return false;
- if (hasFirstAttemptStartTime()) {
- if (getFirstAttemptStartTime()
- != other.getFirstAttemptStartTime()) return false;
- }
- if (hasCurrentAttemptStartTime() != other.hasCurrentAttemptStartTime()) return false;
- if (hasCurrentAttemptStartTime()) {
- if (getCurrentAttemptStartTime()
- != other.getCurrentAttemptStartTime()) return false;
- }
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasNumSelfAndUpstreamTasks()) {
- hash = (37 * hash) + NUM_SELF_AND_UPSTREAM_TASKS_FIELD_NUMBER;
- hash = (53 * hash) + getNumSelfAndUpstreamTasks();
- }
- if (hasNumSelfAndUpstreamCompletedTasks()) {
- hash = (37 * hash) + NUM_SELF_AND_UPSTREAM_COMPLETED_TASKS_FIELD_NUMBER;
- hash = (53 * hash) + getNumSelfAndUpstreamCompletedTasks();
- }
- if (hasWithinDagPriority()) {
- hash = (37 * hash) + WITHIN_DAG_PRIORITY_FIELD_NUMBER;
- hash = (53 * hash) + getWithinDagPriority();
- }
- if (hasDagStartTime()) {
- hash = (37 * hash) + DAG_START_TIME_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getDagStartTime());
- }
- if (hasFirstAttemptStartTime()) {
- hash = (37 * hash) + FIRST_ATTEMPT_START_TIME_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getFirstAttemptStartTime());
- }
- if (hasCurrentAttemptStartTime()) {
- hash = (37 * hash) + CURRENT_ATTEMPT_START_TIME_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
- getCurrentAttemptStartTime());
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code FragmentRuntimeInfo}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:FragmentRuntimeInfo)
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfoOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_FragmentRuntimeInfo_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_FragmentRuntimeInfo_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo.Builder.class);
- }
-
- // Construct using org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo.newBuilder()
- private Builder() {
-
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
-
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- bitField0_ = 0;
- numSelfAndUpstreamTasks_ = 0;
- numSelfAndUpstreamCompletedTasks_ = 0;
- withinDagPriority_ = 0;
- dagStartTime_ = 0L;
- firstAttemptStartTime_ = 0L;
- currentAttemptStartTime_ = 0L;
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_FragmentRuntimeInfo_descriptor;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo getDefaultInstanceForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo.getDefaultInstance();
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo build() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo buildPartial() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo result = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo(this);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartial0(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo result) {
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.numSelfAndUpstreamTasks_ = numSelfAndUpstreamTasks_;
- to_bitField0_ |= 0x00000001;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.numSelfAndUpstreamCompletedTasks_ = numSelfAndUpstreamCompletedTasks_;
- to_bitField0_ |= 0x00000002;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.withinDagPriority_ = withinDagPriority_;
- to_bitField0_ |= 0x00000004;
- }
- if (((from_bitField0_ & 0x00000008) != 0)) {
- result.dagStartTime_ = dagStartTime_;
- to_bitField0_ |= 0x00000008;
- }
- if (((from_bitField0_ & 0x00000010) != 0)) {
- result.firstAttemptStartTime_ = firstAttemptStartTime_;
- to_bitField0_ |= 0x00000010;
- }
- if (((from_bitField0_ & 0x00000020) != 0)) {
- result.currentAttemptStartTime_ = currentAttemptStartTime_;
- to_bitField0_ |= 0x00000020;
- }
- result.bitField0_ |= to_bitField0_;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo) {
- return mergeFrom((org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo other) {
- if (other == org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo.getDefaultInstance()) return this;
- if (other.hasNumSelfAndUpstreamTasks()) {
- setNumSelfAndUpstreamTasks(other.getNumSelfAndUpstreamTasks());
- }
- if (other.hasNumSelfAndUpstreamCompletedTasks()) {
- setNumSelfAndUpstreamCompletedTasks(other.getNumSelfAndUpstreamCompletedTasks());
- }
- if (other.hasWithinDagPriority()) {
- setWithinDagPriority(other.getWithinDagPriority());
- }
- if (other.hasDagStartTime()) {
- setDagStartTime(other.getDagStartTime());
- }
- if (other.hasFirstAttemptStartTime()) {
- setFirstAttemptStartTime(other.getFirstAttemptStartTime());
- }
- if (other.hasCurrentAttemptStartTime()) {
- setCurrentAttemptStartTime(other.getCurrentAttemptStartTime());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 8: {
- numSelfAndUpstreamTasks_ = input.readInt32();
- bitField0_ |= 0x00000001;
- break;
- } // case 8
- case 16: {
- numSelfAndUpstreamCompletedTasks_ = input.readInt32();
- bitField0_ |= 0x00000002;
- break;
- } // case 16
- case 24: {
- withinDagPriority_ = input.readInt32();
- bitField0_ |= 0x00000004;
- break;
- } // case 24
- case 32: {
- dagStartTime_ = input.readInt64();
- bitField0_ |= 0x00000008;
- break;
- } // case 32
- case 40: {
- firstAttemptStartTime_ = input.readInt64();
- bitField0_ |= 0x00000010;
- break;
- } // case 40
- case 48: {
- currentAttemptStartTime_ = input.readInt64();
- bitField0_ |= 0x00000020;
- break;
- } // case 48
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.unwrapIOException();
- } finally {
- onChanged();
- } // finally
- return this;
- }
- private int bitField0_;
-
- private int numSelfAndUpstreamTasks_ ;
- /**
- * <code>optional int32 num_self_and_upstream_tasks = 1;</code>
- * @return Whether the numSelfAndUpstreamTasks field is set.
- */
- @java.lang.Override
- public boolean hasNumSelfAndUpstreamTasks() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional int32 num_self_and_upstream_tasks = 1;</code>
- * @return The numSelfAndUpstreamTasks.
- */
- @java.lang.Override
- public int getNumSelfAndUpstreamTasks() {
- return numSelfAndUpstreamTasks_;
- }
- /**
- * <code>optional int32 num_self_and_upstream_tasks = 1;</code>
- * @param value The numSelfAndUpstreamTasks to set.
- * @return This builder for chaining.
- */
- public Builder setNumSelfAndUpstreamTasks(int value) {
-
- numSelfAndUpstreamTasks_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * <code>optional int32 num_self_and_upstream_tasks = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearNumSelfAndUpstreamTasks() {
- bitField0_ = (bitField0_ & ~0x00000001);
- numSelfAndUpstreamTasks_ = 0;
- onChanged();
- return this;
- }
-
- private int numSelfAndUpstreamCompletedTasks_ ;
- /**
- * <code>optional int32 num_self_and_upstream_completed_tasks = 2;</code>
- * @return Whether the numSelfAndUpstreamCompletedTasks field is set.
- */
- @java.lang.Override
- public boolean hasNumSelfAndUpstreamCompletedTasks() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>optional int32 num_self_and_upstream_completed_tasks = 2;</code>
- * @return The numSelfAndUpstreamCompletedTasks.
- */
- @java.lang.Override
- public int getNumSelfAndUpstreamCompletedTasks() {
- return numSelfAndUpstreamCompletedTasks_;
- }
- /**
- * <code>optional int32 num_self_and_upstream_completed_tasks = 2;</code>
- * @param value The numSelfAndUpstreamCompletedTasks to set.
- * @return This builder for chaining.
- */
- public Builder setNumSelfAndUpstreamCompletedTasks(int value) {
-
- numSelfAndUpstreamCompletedTasks_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * <code>optional int32 num_self_and_upstream_completed_tasks = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearNumSelfAndUpstreamCompletedTasks() {
- bitField0_ = (bitField0_ & ~0x00000002);
- numSelfAndUpstreamCompletedTasks_ = 0;
- onChanged();
- return this;
- }
-
- private int withinDagPriority_ ;
- /**
- * <code>optional int32 within_dag_priority = 3;</code>
- * @return Whether the withinDagPriority field is set.
- */
- @java.lang.Override
- public boolean hasWithinDagPriority() {
- return ((bitField0_ & 0x00000004) != 0);
- }
- /**
- * <code>optional int32 within_dag_priority = 3;</code>
- * @return The withinDagPriority.
- */
- @java.lang.Override
- public int getWithinDagPriority() {
- return withinDagPriority_;
- }
- /**
- * <code>optional int32 within_dag_priority = 3;</code>
- * @param value The withinDagPriority to set.
- * @return This builder for chaining.
- */
- public Builder setWithinDagPriority(int value) {
-
- withinDagPriority_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
- /**
- * <code>optional int32 within_dag_priority = 3;</code>
- * @return This builder for chaining.
- */
- public Builder clearWithinDagPriority() {
- bitField0_ = (bitField0_ & ~0x00000004);
- withinDagPriority_ = 0;
- onChanged();
- return this;
- }
-
- private long dagStartTime_ ;
- /**
- * <code>optional int64 dag_start_time = 4;</code>
- * @return Whether the dagStartTime field is set.
- */
- @java.lang.Override
- public boolean hasDagStartTime() {
- return ((bitField0_ & 0x00000008) != 0);
- }
- /**
- * <code>optional int64 dag_start_time = 4;</code>
- * @return The dagStartTime.
- */
- @java.lang.Override
- public long getDagStartTime() {
- return dagStartTime_;
- }
- /**
- * <code>optional int64 dag_start_time = 4;</code>
- * @param value The dagStartTime to set.
- * @return This builder for chaining.
- */
- public Builder setDagStartTime(long value) {
-
- dagStartTime_ = value;
- bitField0_ |= 0x00000008;
- onChanged();
- return this;
- }
- /**
- * <code>optional int64 dag_start_time = 4;</code>
- * @return This builder for chaining.
- */
- public Builder clearDagStartTime() {
- bitField0_ = (bitField0_ & ~0x00000008);
- dagStartTime_ = 0L;
- onChanged();
- return this;
- }
-
- private long firstAttemptStartTime_ ;
- /**
- * <code>optional int64 first_attempt_start_time = 5;</code>
- * @return Whether the firstAttemptStartTime field is set.
- */
- @java.lang.Override
- public boolean hasFirstAttemptStartTime() {
- return ((bitField0_ & 0x00000010) != 0);
- }
- /**
- * <code>optional int64 first_attempt_start_time = 5;</code>
- * @return The firstAttemptStartTime.
- */
- @java.lang.Override
- public long getFirstAttemptStartTime() {
- return firstAttemptStartTime_;
- }
- /**
- * <code>optional int64 first_attempt_start_time = 5;</code>
- * @param value The firstAttemptStartTime to set.
- * @return This builder for chaining.
- */
- public Builder setFirstAttemptStartTime(long value) {
-
- firstAttemptStartTime_ = value;
- bitField0_ |= 0x00000010;
- onChanged();
- return this;
- }
- /**
- * <code>optional int64 first_attempt_start_time = 5;</code>
- * @return This builder for chaining.
- */
- public Builder clearFirstAttemptStartTime() {
- bitField0_ = (bitField0_ & ~0x00000010);
- firstAttemptStartTime_ = 0L;
- onChanged();
- return this;
- }
-
- private long currentAttemptStartTime_ ;
- /**
- * <code>optional int64 current_attempt_start_time = 6;</code>
- * @return Whether the currentAttemptStartTime field is set.
- */
- @java.lang.Override
- public boolean hasCurrentAttemptStartTime() {
- return ((bitField0_ & 0x00000020) != 0);
- }
- /**
- * <code>optional int64 current_attempt_start_time = 6;</code>
- * @return The currentAttemptStartTime.
- */
- @java.lang.Override
- public long getCurrentAttemptStartTime() {
- return currentAttemptStartTime_;
- }
- /**
- * <code>optional int64 current_attempt_start_time = 6;</code>
- * @param value The currentAttemptStartTime to set.
- * @return This builder for chaining.
- */
- public Builder setCurrentAttemptStartTime(long value) {
-
- currentAttemptStartTime_ = value;
- bitField0_ |= 0x00000020;
- onChanged();
- return this;
- }
- /**
- * <code>optional int64 current_attempt_start_time = 6;</code>
- * @return This builder for chaining.
- */
- public Builder clearCurrentAttemptStartTime() {
- bitField0_ = (bitField0_ & ~0x00000020);
- currentAttemptStartTime_ = 0L;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:FragmentRuntimeInfo)
- }
-
- // @@protoc_insertion_point(class_scope:FragmentRuntimeInfo)
- private static final org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo();
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- @java.lang.Deprecated public static final com.google.protobuf.Parser<FragmentRuntimeInfo>
- PARSER = new com.google.protobuf.AbstractParser<FragmentRuntimeInfo>() {
- @java.lang.Override
- public FragmentRuntimeInfo parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
- }
- };
-
- public static com.google.protobuf.Parser<FragmentRuntimeInfo> parser() {
- return PARSER;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser<FragmentRuntimeInfo> getParserForType() {
- return PARSER;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.FragmentRuntimeInfo getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
- }
-
- public interface QueryIdentifierProtoOrBuilder extends
- // @@protoc_insertion_point(interface_extends:QueryIdentifierProto)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * <code>optional string application_id_string = 1;</code>
- * @return Whether the applicationIdString field is set.
- */
- boolean hasApplicationIdString();
- /**
- * <code>optional string application_id_string = 1;</code>
- * @return The applicationIdString.
- */
- java.lang.String getApplicationIdString();
- /**
- * <code>optional string application_id_string = 1;</code>
- * @return The bytes for applicationIdString.
- */
- com.google.protobuf.ByteString
- getApplicationIdStringBytes();
-
- /**
- * <code>optional int32 dag_index = 2;</code>
- * @return Whether the dagIndex field is set.
- */
- boolean hasDagIndex();
- /**
- * <code>optional int32 dag_index = 2;</code>
- * @return The dagIndex.
- */
- int getDagIndex();
-
- /**
- * <code>optional int32 app_attempt_number = 3;</code>
- * @return Whether the appAttemptNumber field is set.
- */
- boolean hasAppAttemptNumber();
- /**
- * <code>optional int32 app_attempt_number = 3;</code>
- * @return The appAttemptNumber.
- */
- int getAppAttemptNumber();
- }
- /**
- * Protobuf type {@code QueryIdentifierProto}
- */
- public static final class QueryIdentifierProto extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:QueryIdentifierProto)
- QueryIdentifierProtoOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use QueryIdentifierProto.newBuilder() to construct.
- private QueryIdentifierProto(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private QueryIdentifierProto() {
- applicationIdString_ = "";
- }
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new QueryIdentifierProto();
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_QueryIdentifierProto_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_QueryIdentifierProto_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.Builder.class);
- }
-
- private int bitField0_;
- public static final int APPLICATION_ID_STRING_FIELD_NUMBER = 1;
- @SuppressWarnings("serial")
- private volatile java.lang.Object applicationIdString_ = "";
- /**
- * <code>optional string application_id_string = 1;</code>
- * @return Whether the applicationIdString field is set.
- */
- @java.lang.Override
- public boolean hasApplicationIdString() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional string application_id_string = 1;</code>
- * @return The applicationIdString.
- */
- @java.lang.Override
- public java.lang.String getApplicationIdString() {
- java.lang.Object ref = applicationIdString_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- applicationIdString_ = s;
- }
- return s;
- }
- }
- /**
- * <code>optional string application_id_string = 1;</code>
- * @return The bytes for applicationIdString.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getApplicationIdStringBytes() {
- java.lang.Object ref = applicationIdString_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- applicationIdString_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int DAG_INDEX_FIELD_NUMBER = 2;
- private int dagIndex_ = 0;
- /**
- * <code>optional int32 dag_index = 2;</code>
- * @return Whether the dagIndex field is set.
- */
- @java.lang.Override
- public boolean hasDagIndex() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>optional int32 dag_index = 2;</code>
- * @return The dagIndex.
- */
- @java.lang.Override
- public int getDagIndex() {
- return dagIndex_;
- }
-
- public static final int APP_ATTEMPT_NUMBER_FIELD_NUMBER = 3;
- private int appAttemptNumber_ = 0;
- /**
- * <code>optional int32 app_attempt_number = 3;</code>
- * @return Whether the appAttemptNumber field is set.
- */
- @java.lang.Override
- public boolean hasAppAttemptNumber() {
- return ((bitField0_ & 0x00000004) != 0);
- }
- /**
- * <code>optional int32 app_attempt_number = 3;</code>
- * @return The appAttemptNumber.
- */
- @java.lang.Override
- public int getAppAttemptNumber() {
- return appAttemptNumber_;
- }
-
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 1, applicationIdString_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- output.writeInt32(2, dagIndex_);
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- output.writeInt32(3, appAttemptNumber_);
- }
- getUnknownFields().writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, applicationIdString_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(2, dagIndex_);
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(3, appAttemptNumber_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto)) {
- return super.equals(obj);
- }
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto other = (org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto) obj;
-
- if (hasApplicationIdString() != other.hasApplicationIdString()) return false;
- if (hasApplicationIdString()) {
- if (!getApplicationIdString()
- .equals(other.getApplicationIdString())) return false;
- }
- if (hasDagIndex() != other.hasDagIndex()) return false;
- if (hasDagIndex()) {
- if (getDagIndex()
- != other.getDagIndex()) return false;
- }
- if (hasAppAttemptNumber() != other.hasAppAttemptNumber()) return false;
- if (hasAppAttemptNumber()) {
- if (getAppAttemptNumber()
- != other.getAppAttemptNumber()) return false;
- }
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasApplicationIdString()) {
- hash = (37 * hash) + APPLICATION_ID_STRING_FIELD_NUMBER;
- hash = (53 * hash) + getApplicationIdString().hashCode();
- }
- if (hasDagIndex()) {
- hash = (37 * hash) + DAG_INDEX_FIELD_NUMBER;
- hash = (53 * hash) + getDagIndex();
- }
- if (hasAppAttemptNumber()) {
- hash = (37 * hash) + APP_ATTEMPT_NUMBER_FIELD_NUMBER;
- hash = (53 * hash) + getAppAttemptNumber();
- }
- hash = (29 * hash) + getUnknownFields().hashCode();
- memoizedHashCode = hash;
- return hash;
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto parseFrom(
- com.google.protobuf.ByteString data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto parseFrom(
- com.google.protobuf.ByteString data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto parseFrom(byte[] data)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- return PARSER.parseFrom(data, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input);
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input);
- }
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto parseFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessageV3
- .parseWithIOException(PARSER, input, extensionRegistry);
- }
-
- @java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
- public static Builder newBuilder() {
- return DEFAULT_INSTANCE.toBuilder();
- }
- public static Builder newBuilder(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto prototype) {
- return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
- }
- @java.lang.Override
- public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
- }
-
- @java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- Builder builder = new Builder(parent);
- return builder;
- }
- /**
- * Protobuf type {@code QueryIdentifierProto}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
- // @@protoc_insertion_point(builder_implements:QueryIdentifierProto)
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProtoOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_QueryIdentifierProto_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_QueryIdentifierProto_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.Builder.class);
- }
-
- // Construct using org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.newBuilder()
- private Builder() {
-
- }
-
- private Builder(
- com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
- super(parent);
-
- }
- @java.lang.Override
- public Builder clear() {
- super.clear();
- bitField0_ = 0;
- applicationIdString_ = "";
- dagIndex_ = 0;
- appAttemptNumber_ = 0;
- return this;
- }
-
- @java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_QueryIdentifierProto_descriptor;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto getDefaultInstanceForType() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.getDefaultInstance();
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto build() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto result = buildPartial();
- if (!result.isInitialized()) {
- throw newUninitializedMessageException(result);
- }
- return result;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto buildPartial() {
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto result = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto(this);
- if (bitField0_ != 0) { buildPartial0(result); }
- onBuilt();
- return result;
- }
-
- private void buildPartial0(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto result) {
- int from_bitField0_ = bitField0_;
- int to_bitField0_ = 0;
- if (((from_bitField0_ & 0x00000001) != 0)) {
- result.applicationIdString_ = applicationIdString_;
- to_bitField0_ |= 0x00000001;
- }
- if (((from_bitField0_ & 0x00000002) != 0)) {
- result.dagIndex_ = dagIndex_;
- to_bitField0_ |= 0x00000002;
- }
- if (((from_bitField0_ & 0x00000004) != 0)) {
- result.appAttemptNumber_ = appAttemptNumber_;
- to_bitField0_ |= 0x00000004;
- }
- result.bitField0_ |= to_bitField0_;
- }
-
- @java.lang.Override
- public Builder clone() {
- return super.clone();
- }
- @java.lang.Override
- public Builder setField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.setField(field, value);
- }
- @java.lang.Override
- public Builder clearField(
- com.google.protobuf.Descriptors.FieldDescriptor field) {
- return super.clearField(field);
- }
- @java.lang.Override
- public Builder clearOneof(
- com.google.protobuf.Descriptors.OneofDescriptor oneof) {
- return super.clearOneof(oneof);
- }
- @java.lang.Override
- public Builder setRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- int index, java.lang.Object value) {
- return super.setRepeatedField(field, index, value);
- }
- @java.lang.Override
- public Builder addRepeatedField(
- com.google.protobuf.Descriptors.FieldDescriptor field,
- java.lang.Object value) {
- return super.addRepeatedField(field, value);
- }
- @java.lang.Override
- public Builder mergeFrom(com.google.protobuf.Message other) {
- if (other instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto) {
- return mergeFrom((org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto)other);
- } else {
- super.mergeFrom(other);
- return this;
- }
- }
-
- public Builder mergeFrom(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto other) {
- if (other == org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto.getDefaultInstance()) return this;
- if (other.hasApplicationIdString()) {
- applicationIdString_ = other.applicationIdString_;
- bitField0_ |= 0x00000001;
- onChanged();
- }
- if (other.hasDagIndex()) {
- setDagIndex(other.getDagIndex());
- }
- if (other.hasAppAttemptNumber()) {
- setAppAttemptNumber(other.getAppAttemptNumber());
- }
- this.mergeUnknownFields(other.getUnknownFields());
- onChanged();
- return this;
- }
-
- @java.lang.Override
- public final boolean isInitialized() {
- return true;
- }
-
- @java.lang.Override
- public Builder mergeFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws java.io.IOException {
- if (extensionRegistry == null) {
- throw new java.lang.NullPointerException();
- }
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- case 10: {
- applicationIdString_ = input.readBytes();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 16: {
- dagIndex_ = input.readInt32();
- bitField0_ |= 0x00000002;
- break;
- } // case 16
- case 24: {
- appAttemptNumber_ = input.readInt32();
- bitField0_ |= 0x00000004;
- break;
- } // case 24
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
- } // switch (tag)
- } // while (!done)
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.unwrapIOException();
- } finally {
- onChanged();
- } // finally
- return this;
- }
- private int bitField0_;
-
- private java.lang.Object applicationIdString_ = "";
- /**
- * <code>optional string application_id_string = 1;</code>
- * @return Whether the applicationIdString field is set.
- */
- public boolean hasApplicationIdString() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>optional string application_id_string = 1;</code>
- * @return The applicationIdString.
- */
- public java.lang.String getApplicationIdString() {
- java.lang.Object ref = applicationIdString_;
- if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- applicationIdString_ = s;
- }
- return s;
- } else {
- return (java.lang.String) ref;
- }
- }
- /**
- * <code>optional string application_id_string = 1;</code>
- * @return The bytes for applicationIdString.
- */
- public com.google.protobuf.ByteString
- getApplicationIdStringBytes() {
- java.lang.Object ref = applicationIdString_;
- if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- applicationIdString_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
- /**
- * <code>optional string application_id_string = 1;</code>
- * @param value The applicationIdString to set.
- * @return This builder for chaining.
- */
- public Builder setApplicationIdString(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
- applicationIdString_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
- /**
- * <code>optional string application_id_string = 1;</code>
- * @return This builder for chaining.
- */
- public Builder clearApplicationIdString() {
- applicationIdString_ = getDefaultInstance().getApplicationIdString();
- bitField0_ = (bitField0_ & ~0x00000001);
- onChanged();
- return this;
- }
- /**
- * <code>optional string application_id_string = 1;</code>
- * @param value The bytes for applicationIdString to set.
- * @return This builder for chaining.
- */
- public Builder setApplicationIdStringBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
- applicationIdString_ = value;
- bitField0_ |= 0x00000001;
- onChanged();
- return this;
- }
-
- private int dagIndex_ ;
- /**
- * <code>optional int32 dag_index = 2;</code>
- * @return Whether the dagIndex field is set.
- */
- @java.lang.Override
- public boolean hasDagIndex() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>optional int32 dag_index = 2;</code>
- * @return The dagIndex.
- */
- @java.lang.Override
- public int getDagIndex() {
- return dagIndex_;
- }
- /**
- * <code>optional int32 dag_index = 2;</code>
- * @param value The dagIndex to set.
- * @return This builder for chaining.
- */
- public Builder setDagIndex(int value) {
-
- dagIndex_ = value;
- bitField0_ |= 0x00000002;
- onChanged();
- return this;
- }
- /**
- * <code>optional int32 dag_index = 2;</code>
- * @return This builder for chaining.
- */
- public Builder clearDagIndex() {
- bitField0_ = (bitField0_ & ~0x00000002);
- dagIndex_ = 0;
- onChanged();
- return this;
- }
-
- private int appAttemptNumber_ ;
- /**
- * <code>optional int32 app_attempt_number = 3;</code>
- * @return Whether the appAttemptNumber field is set.
- */
- @java.lang.Override
- public boolean hasAppAttemptNumber() {
- return ((bitField0_ & 0x00000004) != 0);
- }
- /**
- * <code>optional int32 app_attempt_number = 3;</code>
- * @return The appAttemptNumber.
- */
- @java.lang.Override
- public int getAppAttemptNumber() {
- return appAttemptNumber_;
- }
- /**
- * <code>optional int32 app_attempt_number = 3;</code>
- * @param value The appAttemptNumber to set.
- * @return This builder for chaining.
- */
- public Builder setAppAttemptNumber(int value) {
-
- appAttemptNumber_ = value;
- bitField0_ |= 0x00000004;
- onChanged();
- return this;
- }
- /**
- * <code>optional int32 app_attempt_number = 3;</code>
- * @return This builder for chaining.
- */
- public Builder clearAppAttemptNumber() {
- bitField0_ = (bitField0_ & ~0x00000004);
- appAttemptNumber_ = 0;
- onChanged();
- return this;
- }
- @java.lang.Override
- public final Builder setUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.setUnknownFields(unknownFields);
- }
-
- @java.lang.Override
- public final Builder mergeUnknownFields(
- final com.google.protobuf.UnknownFieldSet unknownFields) {
- return super.mergeUnknownFields(unknownFields);
- }
-
-
- // @@protoc_insertion_point(builder_scope:QueryIdentifierProto)
- }
-
- // @@protoc_insertion_point(class_scope:QueryIdentifierProto)
- private static final org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto DEFAULT_INSTANCE;
- static {
- DEFAULT_INSTANCE = new org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto();
- }
-
- public static org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto getDefaultInstance() {
- return DEFAULT_INSTANCE;
- }
-
- @java.lang.Deprecated public static final com.google.protobuf.Parser<QueryIdentifierProto>
- PARSER = new com.google.protobuf.AbstractParser<QueryIdentifierProto>() {
- @java.lang.Override
- public QueryIdentifierProto parsePartialFrom(
- com.google.protobuf.CodedInputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- Builder builder = newBuilder();
- try {
- builder.mergeFrom(input, extensionRegistry);
- } catch (com.google.protobuf.InvalidProtocolBufferException e) {
- throw e.setUnfinishedMessage(builder.buildPartial());
- } catch (com.google.protobuf.UninitializedMessageException e) {
- throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
- } catch (java.io.IOException e) {
- throw new com.google.protobuf.InvalidProtocolBufferException(e)
- .setUnfinishedMessage(builder.buildPartial());
- }
- return builder.buildPartial();
- }
- };
-
- public static com.google.protobuf.Parser<QueryIdentifierProto> parser() {
- return PARSER;
- }
-
- @java.lang.Override
- public com.google.protobuf.Parser<QueryIdentifierProto> getParserForType() {
- return PARSER;
- }
-
- @java.lang.Override
- public org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.QueryIdentifierProto getDefaultInstanceForType() {
- return DEFAULT_INSTANCE;
- }
-
- }
-
- public interface NotTezEventOrBuilder extends
- // @@protoc_insertion_point(interface_extends:NotTezEvent)
- com.google.protobuf.MessageOrBuilder {
-
- /**
- * <code>required bytes input_event_proto_bytes = 1;</code>
- * @return Whether the inputEventProtoBytes field is set.
- */
- boolean hasInputEventProtoBytes();
- /**
- * <code>required bytes input_event_proto_bytes = 1;</code>
- * @return The inputEventProtoBytes.
- */
- com.google.protobuf.ByteString getInputEventProtoBytes();
-
- /**
- * <code>required string vertex_name = 2;</code>
- * @return Whether the vertexName field is set.
- */
- boolean hasVertexName();
- /**
- * <code>required string vertex_name = 2;</code>
- * @return The vertexName.
- */
- java.lang.String getVertexName();
- /**
- * <code>required string vertex_name = 2;</code>
- * @return The bytes for vertexName.
- */
- com.google.protobuf.ByteString
- getVertexNameBytes();
-
- /**
- * <code>required string dest_input_name = 3;</code>
- * @return Whether the destInputName field is set.
- */
- boolean hasDestInputName();
- /**
- * <code>required string dest_input_name = 3;</code>
- * @return The destInputName.
- */
- java.lang.String getDestInputName();
- /**
- * <code>required string dest_input_name = 3;</code>
- * @return The bytes for destInputName.
- */
- com.google.protobuf.ByteString
- getDestInputNameBytes();
-
- /**
- * <code>optional int32 key_id = 4;</code>
- * @return Whether the keyId field is set.
- */
- boolean hasKeyId();
- /**
- * <code>optional int32 key_id = 4;</code>
- * @return The keyId.
- */
- int getKeyId();
- }
- /**
- * <pre>
- **
- * 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.
- * </pre>
- *
- * Protobuf type {@code NotTezEvent}
- */
- public static final class NotTezEvent extends
- com.google.protobuf.GeneratedMessageV3 implements
- // @@protoc_insertion_point(message_implements:NotTezEvent)
- NotTezEventOrBuilder {
- private static final long serialVersionUID = 0L;
- // Use NotTezEvent.newBuilder() to construct.
- private NotTezEvent(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
- super(builder);
- }
- private NotTezEvent() {
- inputEventProtoBytes_ = com.google.protobuf.ByteString.EMPTY;
- vertexName_ = "";
- destInputName_ = "";
- }
-
- @java.lang.Override
- @SuppressWarnings({"unused"})
- protected java.lang.Object newInstance(
- UnusedPrivateParameter unused) {
- return new NotTezEvent();
- }
-
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_NotTezEvent_descriptor;
- }
-
- @java.lang.Override
- protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
- internalGetFieldAccessorTable() {
- return org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.internal_static_NotTezEvent_fieldAccessorTable
- .ensureFieldAccessorsInitialized(
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.NotTezEvent.class, org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.NotTezEvent.Builder.class);
- }
-
- private int bitField0_;
- public static final int INPUT_EVENT_PROTO_BYTES_FIELD_NUMBER = 1;
- private com.google.protobuf.ByteString inputEventProtoBytes_ = com.google.protobuf.ByteString.EMPTY;
- /**
- * <code>required bytes input_event_proto_bytes = 1;</code>
- * @return Whether the inputEventProtoBytes field is set.
- */
- @java.lang.Override
- public boolean hasInputEventProtoBytes() {
- return ((bitField0_ & 0x00000001) != 0);
- }
- /**
- * <code>required bytes input_event_proto_bytes = 1;</code>
- * @return The inputEventProtoBytes.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString getInputEventProtoBytes() {
- return inputEventProtoBytes_;
- }
-
- public static final int VERTEX_NAME_FIELD_NUMBER = 2;
- @SuppressWarnings("serial")
- private volatile java.lang.Object vertexName_ = "";
- /**
- * <code>required string vertex_name = 2;</code>
- * @return Whether the vertexName field is set.
- */
- @java.lang.Override
- public boolean hasVertexName() {
- return ((bitField0_ & 0x00000002) != 0);
- }
- /**
- * <code>required string vertex_name = 2;</code>
- * @return The vertexName.
- */
- @java.lang.Override
- public java.lang.String getVertexName() {
- java.lang.Object ref = vertexName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- vertexName_ = s;
- }
- return s;
- }
- }
- /**
- * <code>required string vertex_name = 2;</code>
- * @return The bytes for vertexName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getVertexNameBytes() {
- java.lang.Object ref = vertexName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- vertexName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int DEST_INPUT_NAME_FIELD_NUMBER = 3;
- @SuppressWarnings("serial")
- private volatile java.lang.Object destInputName_ = "";
- /**
- * <code>required string dest_input_name = 3;</code>
- * @return Whether the destInputName field is set.
- */
- @java.lang.Override
- public boolean hasDestInputName() {
- return ((bitField0_ & 0x00000004) != 0);
- }
- /**
- * <code>required string dest_input_name = 3;</code>
- * @return The destInputName.
- */
- @java.lang.Override
- public java.lang.String getDestInputName() {
- java.lang.Object ref = destInputName_;
- if (ref instanceof java.lang.String) {
- return (java.lang.String) ref;
- } else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
- java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- destInputName_ = s;
- }
- return s;
- }
- }
- /**
- * <code>required string dest_input_name = 3;</code>
- * @return The bytes for destInputName.
- */
- @java.lang.Override
- public com.google.protobuf.ByteString
- getDestInputNameBytes() {
- java.lang.Object ref = destInputName_;
- if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
- destInputName_ = b;
- return b;
- } else {
- return (com.google.protobuf.ByteString) ref;
- }
- }
-
- public static final int KEY_ID_FIELD_NUMBER = 4;
- private int keyId_ = 0;
- /**
- * <code>optional int32 key_id = 4;</code>
- * @return Whether the keyId field is set.
- */
- @java.lang.Override
- public boolean hasKeyId() {
- return ((bitField0_ & 0x00000008) != 0);
- }
- /**
- * <code>optional int32 key_id = 4;</code>
- * @return The keyId.
- */
- @java.lang.Override
- public int getKeyId() {
- return keyId_;
- }
-
- private byte memoizedIsInitialized = -1;
- @java.lang.Override
- public final boolean isInitialized() {
- byte isInitialized = memoizedIsInitialized;
- if (isInitialized == 1) return true;
- if (isInitialized == 0) return false;
-
- if (!hasInputEventProtoBytes()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasVertexName()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasDestInputName()) {
- memoizedIsInitialized = 0;
- return false;
- }
- memoizedIsInitialized = 1;
- return true;
- }
-
- @java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
- if (((bitField0_ & 0x00000001) != 0)) {
- output.writeBytes(1, inputEventProtoBytes_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 2, vertexName_);
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- com.google.protobuf.GeneratedMessageV3.writeString(output, 3, destInputName_);
- }
- if (((bitField0_ & 0x00000008) != 0)) {
- output.writeInt32(4, keyId_);
- }
- getUnknownFields().writeTo(output);
- }
-
- @java.lang.Override
- public int getSerializedSize() {
- int size = memoizedSize;
- if (size != -1) return size;
-
- size = 0;
- if (((bitField0_ & 0x00000001) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeBytesSize(1, inputEventProtoBytes_);
- }
- if (((bitField0_ & 0x00000002) != 0)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, vertexName_);
- }
- if (((bitField0_ & 0x00000004) != 0)) {
- size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, destInputName_);
- }
- if (((bitField0_ & 0x00000008) != 0)) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(4, keyId_);
- }
- size += getUnknownFields().getSerializedSize();
- memoizedSize = size;
- return size;
- }
-
- @java.lang.Override
- public boolean equals(final java.lang.Object obj) {
- if (obj == this) {
- return true;
- }
- if (!(obj instanceof org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.NotTezEvent)) {
- return super.equals(obj);
- }
- org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.NotTezEvent other = (org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.NotTezEvent) obj;
-
- if (hasInputEventProtoBytes() != other.hasInputEventProtoBytes()) return false;
- if (hasInputEventProtoBytes()) {
- if (!getInputEventProtoBytes()
- .equals(other.getInputEventProtoBytes())) return false;
- }
- if (hasVertexName() != other.hasVertexName()) return false;
- if (hasVertexName()) {
- if (!getVertexName()
- .equals(other.getVertexName())) return false;
- }
- if (hasDestInputName() != other.hasDestInputName()) return false;
- if (hasDestInputName()) {
- if (!getDestInputName()
- .equals(other.getDestInputName())) return false;
- }
- if (hasKeyId() != other.hasKeyId()) return false;
- if (hasKeyId()) {
- if (getKeyId()
- != other.getKeyId()) return false;
- }
- if (!getUnknownFields().equals(other.getUnknownFields())) return false;
- return true;
- }
-
- @java.lang.Override
- public int hashCode() {
- if (memoizedHashCode != 0) {
- return memoizedHashCode;
- }
- int hash = 41;
- hash = (19 * hash) + getDescriptor().hashCode();
- if (hasInputEventProtoBytes()) {
- hash = (37 * hash) + INPUT_EVENT_PROTO_BYTES_FIELD_NUMBER;
... 34579 lines suppressed ...