org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hive-apache Show documentation
Show all versions of hive-apache Show documentation
Shaded version of Apache Hive for Presto
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: HiveEvents.proto
package org.apache.hadoop.hive.ql.hooks.proto;
public final class HiveHookEvents {
private HiveHookEvents() {}
public static void registerAllExtensions(
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistry registry) {
}
public interface MapFieldEntryOrBuilder
extends io.prestosql.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional string key = 1;
/**
* optional string key = 1;
*/
boolean hasKey();
/**
* optional string key = 1;
*/
java.lang.String getKey();
/**
* optional string key = 1;
*/
io.prestosql.hive.$internal.com.google.protobuf.ByteString
getKeyBytes();
// optional string value = 2;
/**
* optional string value = 2;
*/
boolean hasValue();
/**
* optional string value = 2;
*/
java.lang.String getValue();
/**
* optional string value = 2;
*/
io.prestosql.hive.$internal.com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry}
*/
public static final class MapFieldEntry extends
io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage
implements MapFieldEntryOrBuilder {
// Use MapFieldEntry.newBuilder() to construct.
private MapFieldEntry(io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private MapFieldEntry(boolean noInit) { this.unknownFields = io.prestosql.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final MapFieldEntry defaultInstance;
public static MapFieldEntry getDefaultInstance() {
return defaultInstance;
}
public MapFieldEntry getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private MapFieldEntry(
io.prestosql.hive.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
key_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
value_ = input.readBytes();
break;
}
}
}
} catch (io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.internal_static_org_apache_hadoop_hive_ql_hooks_proto_MapFieldEntry_descriptor;
}
protected io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.internal_static_org_apache_hadoop_hive_ql_hooks_proto_MapFieldEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.class, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.Builder.class);
}
public static io.prestosql.hive.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hive.$internal.com.google.protobuf.AbstractParser() {
public MapFieldEntry parsePartialFrom(
io.prestosql.hive.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new MapFieldEntry(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string key = 1;
public static final int KEY_FIELD_NUMBER = 1;
private java.lang.Object key_;
/**
* optional string key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string key = 1;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hive.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
key_ = s;
}
return s;
}
}
/**
* optional string key = 1;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof java.lang.String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
// optional string value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private java.lang.Object value_;
/**
* optional string value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hive.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
value_ = s;
}
return s;
}
}
/**
* optional string value = 2;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
key_ = "";
value_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getKeyBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getValueBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getKeyBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getValueBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry parseFrom(
io.prestosql.hive.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry parseFrom(
io.prestosql.hive.$internal.com.google.protobuf.ByteString data,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry parseFrom(byte[] data)
throws io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry parseFrom(
byte[] data,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry parseFrom(
java.io.InputStream input,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry parseFrom(
io.prestosql.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry parseFrom(
io.prestosql.hive.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry}
*/
public static final class Builder extends
io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntryOrBuilder {
public static final io.prestosql.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.internal_static_org_apache_hadoop_hive_ql_hooks_proto_MapFieldEntry_descriptor;
}
protected io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.internal_static_org_apache_hadoop_hive_ql_hooks_proto_MapFieldEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.class, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.Builder.class);
}
// Construct using org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
key_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.internal_static_org_apache_hadoop_hive_ql_hooks_proto_MapFieldEntry_descriptor;
}
public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry getDefaultInstanceForType() {
return org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.getDefaultInstance();
}
public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry build() {
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry buildPartial() {
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry result = new org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.key_ = key_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry) {
return mergeFrom((org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry other) {
if (other == org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.getDefaultInstance()) return this;
if (other.hasKey()) {
bitField0_ |= 0x00000001;
key_ = other.key_;
onChanged();
}
if (other.hasValue()) {
bitField0_ |= 0x00000002;
value_ = other.value_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.prestosql.hive.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string key = 1;
private java.lang.Object key_ = "";
/**
* optional string key = 1;
*/
public boolean hasKey() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string key = 1;
*/
public java.lang.String getKey() {
java.lang.Object ref = key_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
key_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string key = 1;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getKeyBytes() {
java.lang.Object ref = key_;
if (ref instanceof String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
key_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string key = 1;
*/
public Builder setKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
/**
* optional string key = 1;
*/
public Builder clearKey() {
bitField0_ = (bitField0_ & ~0x00000001);
key_ = getDefaultInstance().getKey();
onChanged();
return this;
}
/**
* optional string key = 1;
*/
public Builder setKeyBytes(
io.prestosql.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
key_ = value;
onChanged();
return this;
}
// optional string value = 2;
private java.lang.Object value_ = "";
/**
* optional string value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string value = 2;
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
value_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string value = 2;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string value = 2;
*/
public Builder setValue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
/**
* optional string value = 2;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
/**
* optional string value = 2;
*/
public Builder setValueBytes(
io.prestosql.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry)
}
static {
defaultInstance = new MapFieldEntry(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry)
}
public interface HiveHookEventProtoOrBuilder
extends io.prestosql.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional string eventType = 1;
/**
* optional string eventType = 1;
*/
boolean hasEventType();
/**
* optional string eventType = 1;
*/
java.lang.String getEventType();
/**
* optional string eventType = 1;
*/
io.prestosql.hive.$internal.com.google.protobuf.ByteString
getEventTypeBytes();
// optional string hiveQueryId = 2;
/**
* optional string hiveQueryId = 2;
*/
boolean hasHiveQueryId();
/**
* optional string hiveQueryId = 2;
*/
java.lang.String getHiveQueryId();
/**
* optional string hiveQueryId = 2;
*/
io.prestosql.hive.$internal.com.google.protobuf.ByteString
getHiveQueryIdBytes();
// optional int64 timestamp = 3;
/**
* optional int64 timestamp = 3;
*/
boolean hasTimestamp();
/**
* optional int64 timestamp = 3;
*/
long getTimestamp();
// optional string executionMode = 4;
/**
* optional string executionMode = 4;
*/
boolean hasExecutionMode();
/**
* optional string executionMode = 4;
*/
java.lang.String getExecutionMode();
/**
* optional string executionMode = 4;
*/
io.prestosql.hive.$internal.com.google.protobuf.ByteString
getExecutionModeBytes();
// optional string requestUser = 5;
/**
* optional string requestUser = 5;
*/
boolean hasRequestUser();
/**
* optional string requestUser = 5;
*/
java.lang.String getRequestUser();
/**
* optional string requestUser = 5;
*/
io.prestosql.hive.$internal.com.google.protobuf.ByteString
getRequestUserBytes();
// optional string queue = 6;
/**
* optional string queue = 6;
*/
boolean hasQueue();
/**
* optional string queue = 6;
*/
java.lang.String getQueue();
/**
* optional string queue = 6;
*/
io.prestosql.hive.$internal.com.google.protobuf.ByteString
getQueueBytes();
// optional string user = 7;
/**
* optional string user = 7;
*/
boolean hasUser();
/**
* optional string user = 7;
*/
java.lang.String getUser();
/**
* optional string user = 7;
*/
io.prestosql.hive.$internal.com.google.protobuf.ByteString
getUserBytes();
// optional string operationId = 8;
/**
* optional string operationId = 8;
*/
boolean hasOperationId();
/**
* optional string operationId = 8;
*/
java.lang.String getOperationId();
/**
* optional string operationId = 8;
*/
io.prestosql.hive.$internal.com.google.protobuf.ByteString
getOperationIdBytes();
// repeated string tablesWritten = 9;
/**
* repeated string tablesWritten = 9;
*/
java.util.List
getTablesWrittenList();
/**
* repeated string tablesWritten = 9;
*/
int getTablesWrittenCount();
/**
* repeated string tablesWritten = 9;
*/
java.lang.String getTablesWritten(int index);
/**
* repeated string tablesWritten = 9;
*/
io.prestosql.hive.$internal.com.google.protobuf.ByteString
getTablesWrittenBytes(int index);
// repeated string tablesRead = 10;
/**
* repeated string tablesRead = 10;
*/
java.util.List
getTablesReadList();
/**
* repeated string tablesRead = 10;
*/
int getTablesReadCount();
/**
* repeated string tablesRead = 10;
*/
java.lang.String getTablesRead(int index);
/**
* repeated string tablesRead = 10;
*/
io.prestosql.hive.$internal.com.google.protobuf.ByteString
getTablesReadBytes(int index);
// repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
java.util.List
getOtherInfoList();
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry getOtherInfo(int index);
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
int getOtherInfoCount();
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
java.util.List extends org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntryOrBuilder>
getOtherInfoOrBuilderList();
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntryOrBuilder getOtherInfoOrBuilder(
int index);
}
/**
* Protobuf type {@code org.apache.hadoop.hive.ql.hooks.proto.HiveHookEventProto}
*/
public static final class HiveHookEventProto extends
io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage
implements HiveHookEventProtoOrBuilder {
// Use HiveHookEventProto.newBuilder() to construct.
private HiveHookEventProto(io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private HiveHookEventProto(boolean noInit) { this.unknownFields = io.prestosql.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final HiveHookEventProto defaultInstance;
public static HiveHookEventProto getDefaultInstance() {
return defaultInstance;
}
public HiveHookEventProto getDefaultInstanceForType() {
return defaultInstance;
}
private final io.prestosql.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.prestosql.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HiveHookEventProto(
io.prestosql.hive.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.prestosql.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.prestosql.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
eventType_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
hiveQueryId_ = input.readBytes();
break;
}
case 24: {
bitField0_ |= 0x00000004;
timestamp_ = input.readInt64();
break;
}
case 34: {
bitField0_ |= 0x00000008;
executionMode_ = input.readBytes();
break;
}
case 42: {
bitField0_ |= 0x00000010;
requestUser_ = input.readBytes();
break;
}
case 50: {
bitField0_ |= 0x00000020;
queue_ = input.readBytes();
break;
}
case 58: {
bitField0_ |= 0x00000040;
user_ = input.readBytes();
break;
}
case 66: {
bitField0_ |= 0x00000080;
operationId_ = input.readBytes();
break;
}
case 74: {
if (!((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
tablesWritten_ = new io.prestosql.hive.$internal.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000100;
}
tablesWritten_.add(input.readBytes());
break;
}
case 82: {
if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
tablesRead_ = new io.prestosql.hive.$internal.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000200;
}
tablesRead_.add(input.readBytes());
break;
}
case 402: {
if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
otherInfo_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000400;
}
otherInfo_.add(input.readMessage(org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.PARSER, extensionRegistry));
break;
}
}
}
} catch (io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) {
tablesWritten_ = new io.prestosql.hive.$internal.com.google.protobuf.UnmodifiableLazyStringList(tablesWritten_);
}
if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) {
tablesRead_ = new io.prestosql.hive.$internal.com.google.protobuf.UnmodifiableLazyStringList(tablesRead_);
}
if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) {
otherInfo_ = java.util.Collections.unmodifiableList(otherInfo_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.prestosql.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.internal_static_org_apache_hadoop_hive_ql_hooks_proto_HiveHookEventProto_descriptor;
}
protected io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.internal_static_org_apache_hadoop_hive_ql_hooks_proto_HiveHookEventProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto.class, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto.Builder.class);
}
public static io.prestosql.hive.$internal.com.google.protobuf.Parser PARSER =
new io.prestosql.hive.$internal.com.google.protobuf.AbstractParser() {
public HiveHookEventProto parsePartialFrom(
io.prestosql.hive.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new HiveHookEventProto(input, extensionRegistry);
}
};
@java.lang.Override
public io.prestosql.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string eventType = 1;
public static final int EVENTTYPE_FIELD_NUMBER = 1;
private java.lang.Object eventType_;
/**
* optional string eventType = 1;
*/
public boolean hasEventType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string eventType = 1;
*/
public java.lang.String getEventType() {
java.lang.Object ref = eventType_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hive.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
eventType_ = s;
}
return s;
}
}
/**
* optional string eventType = 1;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getEventTypeBytes() {
java.lang.Object ref = eventType_;
if (ref instanceof java.lang.String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
eventType_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
// optional string hiveQueryId = 2;
public static final int HIVEQUERYID_FIELD_NUMBER = 2;
private java.lang.Object hiveQueryId_;
/**
* optional string hiveQueryId = 2;
*/
public boolean hasHiveQueryId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string hiveQueryId = 2;
*/
public java.lang.String getHiveQueryId() {
java.lang.Object ref = hiveQueryId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hive.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
hiveQueryId_ = s;
}
return s;
}
}
/**
* optional string hiveQueryId = 2;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getHiveQueryIdBytes() {
java.lang.Object ref = hiveQueryId_;
if (ref instanceof java.lang.String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hiveQueryId_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
// optional int64 timestamp = 3;
public static final int TIMESTAMP_FIELD_NUMBER = 3;
private long timestamp_;
/**
* optional int64 timestamp = 3;
*/
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int64 timestamp = 3;
*/
public long getTimestamp() {
return timestamp_;
}
// optional string executionMode = 4;
public static final int EXECUTIONMODE_FIELD_NUMBER = 4;
private java.lang.Object executionMode_;
/**
* optional string executionMode = 4;
*/
public boolean hasExecutionMode() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string executionMode = 4;
*/
public java.lang.String getExecutionMode() {
java.lang.Object ref = executionMode_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hive.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
executionMode_ = s;
}
return s;
}
}
/**
* optional string executionMode = 4;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getExecutionModeBytes() {
java.lang.Object ref = executionMode_;
if (ref instanceof java.lang.String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
executionMode_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
// optional string requestUser = 5;
public static final int REQUESTUSER_FIELD_NUMBER = 5;
private java.lang.Object requestUser_;
/**
* optional string requestUser = 5;
*/
public boolean hasRequestUser() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string requestUser = 5;
*/
public java.lang.String getRequestUser() {
java.lang.Object ref = requestUser_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hive.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
requestUser_ = s;
}
return s;
}
}
/**
* optional string requestUser = 5;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getRequestUserBytes() {
java.lang.Object ref = requestUser_;
if (ref instanceof java.lang.String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestUser_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
// optional string queue = 6;
public static final int QUEUE_FIELD_NUMBER = 6;
private java.lang.Object queue_;
/**
* optional string queue = 6;
*/
public boolean hasQueue() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string queue = 6;
*/
public java.lang.String getQueue() {
java.lang.Object ref = queue_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hive.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
queue_ = s;
}
return s;
}
}
/**
* optional string queue = 6;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getQueueBytes() {
java.lang.Object ref = queue_;
if (ref instanceof java.lang.String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
queue_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
// optional string user = 7;
public static final int USER_FIELD_NUMBER = 7;
private java.lang.Object user_;
/**
* optional string user = 7;
*/
public boolean hasUser() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional string user = 7;
*/
public java.lang.String getUser() {
java.lang.Object ref = user_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hive.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
user_ = s;
}
return s;
}
}
/**
* optional string user = 7;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof java.lang.String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
// optional string operationId = 8;
public static final int OPERATIONID_FIELD_NUMBER = 8;
private java.lang.Object operationId_;
/**
* optional string operationId = 8;
*/
public boolean hasOperationId() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional string operationId = 8;
*/
public java.lang.String getOperationId() {
java.lang.Object ref = operationId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.prestosql.hive.$internal.com.google.protobuf.ByteString bs =
(io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
operationId_ = s;
}
return s;
}
}
/**
* optional string operationId = 8;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getOperationIdBytes() {
java.lang.Object ref = operationId_;
if (ref instanceof java.lang.String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
operationId_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
// repeated string tablesWritten = 9;
public static final int TABLESWRITTEN_FIELD_NUMBER = 9;
private io.prestosql.hive.$internal.com.google.protobuf.LazyStringList tablesWritten_;
/**
* repeated string tablesWritten = 9;
*/
public java.util.List
getTablesWrittenList() {
return tablesWritten_;
}
/**
* repeated string tablesWritten = 9;
*/
public int getTablesWrittenCount() {
return tablesWritten_.size();
}
/**
* repeated string tablesWritten = 9;
*/
public java.lang.String getTablesWritten(int index) {
return tablesWritten_.get(index);
}
/**
* repeated string tablesWritten = 9;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getTablesWrittenBytes(int index) {
return tablesWritten_.getByteString(index);
}
// repeated string tablesRead = 10;
public static final int TABLESREAD_FIELD_NUMBER = 10;
private io.prestosql.hive.$internal.com.google.protobuf.LazyStringList tablesRead_;
/**
* repeated string tablesRead = 10;
*/
public java.util.List
getTablesReadList() {
return tablesRead_;
}
/**
* repeated string tablesRead = 10;
*/
public int getTablesReadCount() {
return tablesRead_.size();
}
/**
* repeated string tablesRead = 10;
*/
public java.lang.String getTablesRead(int index) {
return tablesRead_.get(index);
}
/**
* repeated string tablesRead = 10;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getTablesReadBytes(int index) {
return tablesRead_.getByteString(index);
}
// repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
public static final int OTHERINFO_FIELD_NUMBER = 50;
private java.util.List otherInfo_;
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public java.util.List getOtherInfoList() {
return otherInfo_;
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public java.util.List extends org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntryOrBuilder>
getOtherInfoOrBuilderList() {
return otherInfo_;
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public int getOtherInfoCount() {
return otherInfo_.size();
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry getOtherInfo(int index) {
return otherInfo_.get(index);
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntryOrBuilder getOtherInfoOrBuilder(
int index) {
return otherInfo_.get(index);
}
private void initFields() {
eventType_ = "";
hiveQueryId_ = "";
timestamp_ = 0L;
executionMode_ = "";
requestUser_ = "";
queue_ = "";
user_ = "";
operationId_ = "";
tablesWritten_ = io.prestosql.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY;
tablesRead_ = io.prestosql.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY;
otherInfo_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getEventTypeBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getHiveQueryIdBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeInt64(3, timestamp_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeBytes(4, getExecutionModeBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeBytes(5, getRequestUserBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeBytes(6, getQueueBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeBytes(7, getUserBytes());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeBytes(8, getOperationIdBytes());
}
for (int i = 0; i < tablesWritten_.size(); i++) {
output.writeBytes(9, tablesWritten_.getByteString(i));
}
for (int i = 0; i < tablesRead_.size(); i++) {
output.writeBytes(10, tablesRead_.getByteString(i));
}
for (int i = 0; i < otherInfo_.size(); i++) {
output.writeMessage(50, otherInfo_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getEventTypeBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getHiveQueryIdBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream
.computeInt64Size(3, timestamp_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(4, getExecutionModeBytes());
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(5, getRequestUserBytes());
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(6, getQueueBytes());
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(7, getUserBytes());
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(8, getOperationIdBytes());
}
{
int dataSize = 0;
for (int i = 0; i < tablesWritten_.size(); i++) {
dataSize += io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(tablesWritten_.getByteString(i));
}
size += dataSize;
size += 1 * getTablesWrittenList().size();
}
{
int dataSize = 0;
for (int i = 0; i < tablesRead_.size(); i++) {
dataSize += io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(tablesRead_.getByteString(i));
}
size += dataSize;
size += 1 * getTablesReadList().size();
}
for (int i = 0; i < otherInfo_.size(); i++) {
size += io.prestosql.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(50, otherInfo_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto parseFrom(
io.prestosql.hive.$internal.com.google.protobuf.ByteString data)
throws io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto parseFrom(
io.prestosql.hive.$internal.com.google.protobuf.ByteString data,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto parseFrom(byte[] data)
throws io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto parseFrom(
byte[] data,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto parseFrom(
java.io.InputStream input,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto parseDelimitedFrom(
java.io.InputStream input,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto parseFrom(
io.prestosql.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto parseFrom(
io.prestosql.hive.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code org.apache.hadoop.hive.ql.hooks.proto.HiveHookEventProto}
*/
public static final class Builder extends
io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProtoOrBuilder {
public static final io.prestosql.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.internal_static_org_apache_hadoop_hive_ql_hooks_proto_HiveHookEventProto_descriptor;
}
protected io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.internal_static_org_apache_hadoop_hive_ql_hooks_proto_HiveHookEventProto_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto.class, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto.Builder.class);
}
// Construct using org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getOtherInfoFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
eventType_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
hiveQueryId_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
timestamp_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
executionMode_ = "";
bitField0_ = (bitField0_ & ~0x00000008);
requestUser_ = "";
bitField0_ = (bitField0_ & ~0x00000010);
queue_ = "";
bitField0_ = (bitField0_ & ~0x00000020);
user_ = "";
bitField0_ = (bitField0_ & ~0x00000040);
operationId_ = "";
bitField0_ = (bitField0_ & ~0x00000080);
tablesWritten_ = io.prestosql.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000100);
tablesRead_ = io.prestosql.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000200);
if (otherInfoBuilder_ == null) {
otherInfo_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
} else {
otherInfoBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.prestosql.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.internal_static_org_apache_hadoop_hive_ql_hooks_proto_HiveHookEventProto_descriptor;
}
public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto getDefaultInstanceForType() {
return org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto.getDefaultInstance();
}
public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto build() {
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto buildPartial() {
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto result = new org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.eventType_ = eventType_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.hiveQueryId_ = hiveQueryId_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.timestamp_ = timestamp_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.executionMode_ = executionMode_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.requestUser_ = requestUser_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
result.queue_ = queue_;
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
result.user_ = user_;
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
result.operationId_ = operationId_;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
tablesWritten_ = new io.prestosql.hive.$internal.com.google.protobuf.UnmodifiableLazyStringList(
tablesWritten_);
bitField0_ = (bitField0_ & ~0x00000100);
}
result.tablesWritten_ = tablesWritten_;
if (((bitField0_ & 0x00000200) == 0x00000200)) {
tablesRead_ = new io.prestosql.hive.$internal.com.google.protobuf.UnmodifiableLazyStringList(
tablesRead_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.tablesRead_ = tablesRead_;
if (otherInfoBuilder_ == null) {
if (((bitField0_ & 0x00000400) == 0x00000400)) {
otherInfo_ = java.util.Collections.unmodifiableList(otherInfo_);
bitField0_ = (bitField0_ & ~0x00000400);
}
result.otherInfo_ = otherInfo_;
} else {
result.otherInfo_ = otherInfoBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.prestosql.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto) {
return mergeFrom((org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto other) {
if (other == org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto.getDefaultInstance()) return this;
if (other.hasEventType()) {
bitField0_ |= 0x00000001;
eventType_ = other.eventType_;
onChanged();
}
if (other.hasHiveQueryId()) {
bitField0_ |= 0x00000002;
hiveQueryId_ = other.hiveQueryId_;
onChanged();
}
if (other.hasTimestamp()) {
setTimestamp(other.getTimestamp());
}
if (other.hasExecutionMode()) {
bitField0_ |= 0x00000008;
executionMode_ = other.executionMode_;
onChanged();
}
if (other.hasRequestUser()) {
bitField0_ |= 0x00000010;
requestUser_ = other.requestUser_;
onChanged();
}
if (other.hasQueue()) {
bitField0_ |= 0x00000020;
queue_ = other.queue_;
onChanged();
}
if (other.hasUser()) {
bitField0_ |= 0x00000040;
user_ = other.user_;
onChanged();
}
if (other.hasOperationId()) {
bitField0_ |= 0x00000080;
operationId_ = other.operationId_;
onChanged();
}
if (!other.tablesWritten_.isEmpty()) {
if (tablesWritten_.isEmpty()) {
tablesWritten_ = other.tablesWritten_;
bitField0_ = (bitField0_ & ~0x00000100);
} else {
ensureTablesWrittenIsMutable();
tablesWritten_.addAll(other.tablesWritten_);
}
onChanged();
}
if (!other.tablesRead_.isEmpty()) {
if (tablesRead_.isEmpty()) {
tablesRead_ = other.tablesRead_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureTablesReadIsMutable();
tablesRead_.addAll(other.tablesRead_);
}
onChanged();
}
if (otherInfoBuilder_ == null) {
if (!other.otherInfo_.isEmpty()) {
if (otherInfo_.isEmpty()) {
otherInfo_ = other.otherInfo_;
bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensureOtherInfoIsMutable();
otherInfo_.addAll(other.otherInfo_);
}
onChanged();
}
} else {
if (!other.otherInfo_.isEmpty()) {
if (otherInfoBuilder_.isEmpty()) {
otherInfoBuilder_.dispose();
otherInfoBuilder_ = null;
otherInfo_ = other.otherInfo_;
bitField0_ = (bitField0_ & ~0x00000400);
otherInfoBuilder_ =
io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getOtherInfoFieldBuilder() : null;
} else {
otherInfoBuilder_.addAllMessages(other.otherInfo_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.prestosql.hive.$internal.com.google.protobuf.CodedInputStream input,
io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.prestosql.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string eventType = 1;
private java.lang.Object eventType_ = "";
/**
* optional string eventType = 1;
*/
public boolean hasEventType() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string eventType = 1;
*/
public java.lang.String getEventType() {
java.lang.Object ref = eventType_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
eventType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string eventType = 1;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getEventTypeBytes() {
java.lang.Object ref = eventType_;
if (ref instanceof String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
eventType_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string eventType = 1;
*/
public Builder setEventType(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
eventType_ = value;
onChanged();
return this;
}
/**
* optional string eventType = 1;
*/
public Builder clearEventType() {
bitField0_ = (bitField0_ & ~0x00000001);
eventType_ = getDefaultInstance().getEventType();
onChanged();
return this;
}
/**
* optional string eventType = 1;
*/
public Builder setEventTypeBytes(
io.prestosql.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
eventType_ = value;
onChanged();
return this;
}
// optional string hiveQueryId = 2;
private java.lang.Object hiveQueryId_ = "";
/**
* optional string hiveQueryId = 2;
*/
public boolean hasHiveQueryId() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string hiveQueryId = 2;
*/
public java.lang.String getHiveQueryId() {
java.lang.Object ref = hiveQueryId_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
hiveQueryId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string hiveQueryId = 2;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getHiveQueryIdBytes() {
java.lang.Object ref = hiveQueryId_;
if (ref instanceof String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
hiveQueryId_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string hiveQueryId = 2;
*/
public Builder setHiveQueryId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
hiveQueryId_ = value;
onChanged();
return this;
}
/**
* optional string hiveQueryId = 2;
*/
public Builder clearHiveQueryId() {
bitField0_ = (bitField0_ & ~0x00000002);
hiveQueryId_ = getDefaultInstance().getHiveQueryId();
onChanged();
return this;
}
/**
* optional string hiveQueryId = 2;
*/
public Builder setHiveQueryIdBytes(
io.prestosql.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
hiveQueryId_ = value;
onChanged();
return this;
}
// optional int64 timestamp = 3;
private long timestamp_ ;
/**
* optional int64 timestamp = 3;
*/
public boolean hasTimestamp() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional int64 timestamp = 3;
*/
public long getTimestamp() {
return timestamp_;
}
/**
* optional int64 timestamp = 3;
*/
public Builder setTimestamp(long value) {
bitField0_ |= 0x00000004;
timestamp_ = value;
onChanged();
return this;
}
/**
* optional int64 timestamp = 3;
*/
public Builder clearTimestamp() {
bitField0_ = (bitField0_ & ~0x00000004);
timestamp_ = 0L;
onChanged();
return this;
}
// optional string executionMode = 4;
private java.lang.Object executionMode_ = "";
/**
* optional string executionMode = 4;
*/
public boolean hasExecutionMode() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional string executionMode = 4;
*/
public java.lang.String getExecutionMode() {
java.lang.Object ref = executionMode_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
executionMode_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string executionMode = 4;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getExecutionModeBytes() {
java.lang.Object ref = executionMode_;
if (ref instanceof String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
executionMode_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string executionMode = 4;
*/
public Builder setExecutionMode(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
executionMode_ = value;
onChanged();
return this;
}
/**
* optional string executionMode = 4;
*/
public Builder clearExecutionMode() {
bitField0_ = (bitField0_ & ~0x00000008);
executionMode_ = getDefaultInstance().getExecutionMode();
onChanged();
return this;
}
/**
* optional string executionMode = 4;
*/
public Builder setExecutionModeBytes(
io.prestosql.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
executionMode_ = value;
onChanged();
return this;
}
// optional string requestUser = 5;
private java.lang.Object requestUser_ = "";
/**
* optional string requestUser = 5;
*/
public boolean hasRequestUser() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional string requestUser = 5;
*/
public java.lang.String getRequestUser() {
java.lang.Object ref = requestUser_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
requestUser_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string requestUser = 5;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getRequestUserBytes() {
java.lang.Object ref = requestUser_;
if (ref instanceof String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestUser_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string requestUser = 5;
*/
public Builder setRequestUser(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
requestUser_ = value;
onChanged();
return this;
}
/**
* optional string requestUser = 5;
*/
public Builder clearRequestUser() {
bitField0_ = (bitField0_ & ~0x00000010);
requestUser_ = getDefaultInstance().getRequestUser();
onChanged();
return this;
}
/**
* optional string requestUser = 5;
*/
public Builder setRequestUserBytes(
io.prestosql.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
requestUser_ = value;
onChanged();
return this;
}
// optional string queue = 6;
private java.lang.Object queue_ = "";
/**
* optional string queue = 6;
*/
public boolean hasQueue() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional string queue = 6;
*/
public java.lang.String getQueue() {
java.lang.Object ref = queue_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
queue_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string queue = 6;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getQueueBytes() {
java.lang.Object ref = queue_;
if (ref instanceof String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
queue_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string queue = 6;
*/
public Builder setQueue(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
queue_ = value;
onChanged();
return this;
}
/**
* optional string queue = 6;
*/
public Builder clearQueue() {
bitField0_ = (bitField0_ & ~0x00000020);
queue_ = getDefaultInstance().getQueue();
onChanged();
return this;
}
/**
* optional string queue = 6;
*/
public Builder setQueueBytes(
io.prestosql.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000020;
queue_ = value;
onChanged();
return this;
}
// optional string user = 7;
private java.lang.Object user_ = "";
/**
* optional string user = 7;
*/
public boolean hasUser() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional string user = 7;
*/
public java.lang.String getUser() {
java.lang.Object ref = user_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
user_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string user = 7;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getUserBytes() {
java.lang.Object ref = user_;
if (ref instanceof String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
user_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string user = 7;
*/
public Builder setUser(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
user_ = value;
onChanged();
return this;
}
/**
* optional string user = 7;
*/
public Builder clearUser() {
bitField0_ = (bitField0_ & ~0x00000040);
user_ = getDefaultInstance().getUser();
onChanged();
return this;
}
/**
* optional string user = 7;
*/
public Builder setUserBytes(
io.prestosql.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000040;
user_ = value;
onChanged();
return this;
}
// optional string operationId = 8;
private java.lang.Object operationId_ = "";
/**
* optional string operationId = 8;
*/
public boolean hasOperationId() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional string operationId = 8;
*/
public java.lang.String getOperationId() {
java.lang.Object ref = operationId_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
operationId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string operationId = 8;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getOperationIdBytes() {
java.lang.Object ref = operationId_;
if (ref instanceof String) {
io.prestosql.hive.$internal.com.google.protobuf.ByteString b =
io.prestosql.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
operationId_ = b;
return b;
} else {
return (io.prestosql.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string operationId = 8;
*/
public Builder setOperationId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
operationId_ = value;
onChanged();
return this;
}
/**
* optional string operationId = 8;
*/
public Builder clearOperationId() {
bitField0_ = (bitField0_ & ~0x00000080);
operationId_ = getDefaultInstance().getOperationId();
onChanged();
return this;
}
/**
* optional string operationId = 8;
*/
public Builder setOperationIdBytes(
io.prestosql.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000080;
operationId_ = value;
onChanged();
return this;
}
// repeated string tablesWritten = 9;
private io.prestosql.hive.$internal.com.google.protobuf.LazyStringList tablesWritten_ = io.prestosql.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTablesWrittenIsMutable() {
if (!((bitField0_ & 0x00000100) == 0x00000100)) {
tablesWritten_ = new io.prestosql.hive.$internal.com.google.protobuf.LazyStringArrayList(tablesWritten_);
bitField0_ |= 0x00000100;
}
}
/**
* repeated string tablesWritten = 9;
*/
public java.util.List
getTablesWrittenList() {
return java.util.Collections.unmodifiableList(tablesWritten_);
}
/**
* repeated string tablesWritten = 9;
*/
public int getTablesWrittenCount() {
return tablesWritten_.size();
}
/**
* repeated string tablesWritten = 9;
*/
public java.lang.String getTablesWritten(int index) {
return tablesWritten_.get(index);
}
/**
* repeated string tablesWritten = 9;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getTablesWrittenBytes(int index) {
return tablesWritten_.getByteString(index);
}
/**
* repeated string tablesWritten = 9;
*/
public Builder setTablesWritten(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesWrittenIsMutable();
tablesWritten_.set(index, value);
onChanged();
return this;
}
/**
* repeated string tablesWritten = 9;
*/
public Builder addTablesWritten(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesWrittenIsMutable();
tablesWritten_.add(value);
onChanged();
return this;
}
/**
* repeated string tablesWritten = 9;
*/
public Builder addAllTablesWritten(
java.lang.Iterable values) {
ensureTablesWrittenIsMutable();
super.addAll(values, tablesWritten_);
onChanged();
return this;
}
/**
* repeated string tablesWritten = 9;
*/
public Builder clearTablesWritten() {
tablesWritten_ = io.prestosql.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* repeated string tablesWritten = 9;
*/
public Builder addTablesWrittenBytes(
io.prestosql.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesWrittenIsMutable();
tablesWritten_.add(value);
onChanged();
return this;
}
// repeated string tablesRead = 10;
private io.prestosql.hive.$internal.com.google.protobuf.LazyStringList tablesRead_ = io.prestosql.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTablesReadIsMutable() {
if (!((bitField0_ & 0x00000200) == 0x00000200)) {
tablesRead_ = new io.prestosql.hive.$internal.com.google.protobuf.LazyStringArrayList(tablesRead_);
bitField0_ |= 0x00000200;
}
}
/**
* repeated string tablesRead = 10;
*/
public java.util.List
getTablesReadList() {
return java.util.Collections.unmodifiableList(tablesRead_);
}
/**
* repeated string tablesRead = 10;
*/
public int getTablesReadCount() {
return tablesRead_.size();
}
/**
* repeated string tablesRead = 10;
*/
public java.lang.String getTablesRead(int index) {
return tablesRead_.get(index);
}
/**
* repeated string tablesRead = 10;
*/
public io.prestosql.hive.$internal.com.google.protobuf.ByteString
getTablesReadBytes(int index) {
return tablesRead_.getByteString(index);
}
/**
* repeated string tablesRead = 10;
*/
public Builder setTablesRead(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesReadIsMutable();
tablesRead_.set(index, value);
onChanged();
return this;
}
/**
* repeated string tablesRead = 10;
*/
public Builder addTablesRead(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesReadIsMutable();
tablesRead_.add(value);
onChanged();
return this;
}
/**
* repeated string tablesRead = 10;
*/
public Builder addAllTablesRead(
java.lang.Iterable values) {
ensureTablesReadIsMutable();
super.addAll(values, tablesRead_);
onChanged();
return this;
}
/**
* repeated string tablesRead = 10;
*/
public Builder clearTablesRead() {
tablesRead_ = io.prestosql.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
* repeated string tablesRead = 10;
*/
public Builder addTablesReadBytes(
io.prestosql.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesReadIsMutable();
tablesRead_.add(value);
onChanged();
return this;
}
// repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
private java.util.List otherInfo_ =
java.util.Collections.emptyList();
private void ensureOtherInfoIsMutable() {
if (!((bitField0_ & 0x00000400) == 0x00000400)) {
otherInfo_ = new java.util.ArrayList(otherInfo_);
bitField0_ |= 0x00000400;
}
}
private io.prestosql.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.Builder, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntryOrBuilder> otherInfoBuilder_;
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public java.util.List getOtherInfoList() {
if (otherInfoBuilder_ == null) {
return java.util.Collections.unmodifiableList(otherInfo_);
} else {
return otherInfoBuilder_.getMessageList();
}
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public int getOtherInfoCount() {
if (otherInfoBuilder_ == null) {
return otherInfo_.size();
} else {
return otherInfoBuilder_.getCount();
}
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry getOtherInfo(int index) {
if (otherInfoBuilder_ == null) {
return otherInfo_.get(index);
} else {
return otherInfoBuilder_.getMessage(index);
}
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public Builder setOtherInfo(
int index, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry value) {
if (otherInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOtherInfoIsMutable();
otherInfo_.set(index, value);
onChanged();
} else {
otherInfoBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public Builder setOtherInfo(
int index, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.Builder builderForValue) {
if (otherInfoBuilder_ == null) {
ensureOtherInfoIsMutable();
otherInfo_.set(index, builderForValue.build());
onChanged();
} else {
otherInfoBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public Builder addOtherInfo(org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry value) {
if (otherInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOtherInfoIsMutable();
otherInfo_.add(value);
onChanged();
} else {
otherInfoBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public Builder addOtherInfo(
int index, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry value) {
if (otherInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureOtherInfoIsMutable();
otherInfo_.add(index, value);
onChanged();
} else {
otherInfoBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public Builder addOtherInfo(
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.Builder builderForValue) {
if (otherInfoBuilder_ == null) {
ensureOtherInfoIsMutable();
otherInfo_.add(builderForValue.build());
onChanged();
} else {
otherInfoBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public Builder addOtherInfo(
int index, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.Builder builderForValue) {
if (otherInfoBuilder_ == null) {
ensureOtherInfoIsMutable();
otherInfo_.add(index, builderForValue.build());
onChanged();
} else {
otherInfoBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public Builder addAllOtherInfo(
java.lang.Iterable extends org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry> values) {
if (otherInfoBuilder_ == null) {
ensureOtherInfoIsMutable();
super.addAll(values, otherInfo_);
onChanged();
} else {
otherInfoBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public Builder clearOtherInfo() {
if (otherInfoBuilder_ == null) {
otherInfo_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
} else {
otherInfoBuilder_.clear();
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public Builder removeOtherInfo(int index) {
if (otherInfoBuilder_ == null) {
ensureOtherInfoIsMutable();
otherInfo_.remove(index);
onChanged();
} else {
otherInfoBuilder_.remove(index);
}
return this;
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.Builder getOtherInfoBuilder(
int index) {
return getOtherInfoFieldBuilder().getBuilder(index);
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntryOrBuilder getOtherInfoOrBuilder(
int index) {
if (otherInfoBuilder_ == null) {
return otherInfo_.get(index); } else {
return otherInfoBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public java.util.List extends org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntryOrBuilder>
getOtherInfoOrBuilderList() {
if (otherInfoBuilder_ != null) {
return otherInfoBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(otherInfo_);
}
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.Builder addOtherInfoBuilder() {
return getOtherInfoFieldBuilder().addBuilder(
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.getDefaultInstance());
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.Builder addOtherInfoBuilder(
int index) {
return getOtherInfoFieldBuilder().addBuilder(
index, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.getDefaultInstance());
}
/**
* repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;
*/
public java.util.List
getOtherInfoBuilderList() {
return getOtherInfoFieldBuilder().getBuilderList();
}
private io.prestosql.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.Builder, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntryOrBuilder>
getOtherInfoFieldBuilder() {
if (otherInfoBuilder_ == null) {
otherInfoBuilder_ = new io.prestosql.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.Builder, org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntryOrBuilder>(
otherInfo_,
((bitField0_ & 0x00000400) == 0x00000400),
getParentForChildren(),
isClean());
otherInfo_ = null;
}
return otherInfoBuilder_;
}
// @@protoc_insertion_point(builder_scope:org.apache.hadoop.hive.ql.hooks.proto.HiveHookEventProto)
}
static {
defaultInstance = new HiveHookEventProto(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:org.apache.hadoop.hive.ql.hooks.proto.HiveHookEventProto)
}
private static io.prestosql.hive.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_org_apache_hadoop_hive_ql_hooks_proto_MapFieldEntry_descriptor;
private static
io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_apache_hadoop_hive_ql_hooks_proto_MapFieldEntry_fieldAccessorTable;
private static io.prestosql.hive.$internal.com.google.protobuf.Descriptors.Descriptor
internal_static_org_apache_hadoop_hive_ql_hooks_proto_HiveHookEventProto_descriptor;
private static
io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_org_apache_hadoop_hive_ql_hooks_proto_HiveHookEventProto_fieldAccessorTable;
public static io.prestosql.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static io.prestosql.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\020HiveEvents.proto\022%org.apache.hadoop.hi" +
"ve.ql.hooks.proto\"+\n\rMapFieldEntry\022\013\n\003ke" +
"y\030\001 \001(\t\022\r\n\005value\030\002 \001(\t\"\241\002\n\022HiveHookEvent" +
"Proto\022\021\n\teventType\030\001 \001(\t\022\023\n\013hiveQueryId\030" +
"\002 \001(\t\022\021\n\ttimestamp\030\003 \001(\003\022\025\n\rexecutionMod" +
"e\030\004 \001(\t\022\023\n\013requestUser\030\005 \001(\t\022\r\n\005queue\030\006 " +
"\001(\t\022\014\n\004user\030\007 \001(\t\022\023\n\013operationId\030\010 \001(\t\022\025" +
"\n\rtablesWritten\030\t \003(\t\022\022\n\ntablesRead\030\n \003(" +
"\t\022G\n\totherInfo\0302 \003(\01324.org.apache.hadoop" +
".hive.ql.hooks.proto.MapFieldEntryB7\n%or",
"g.apache.hadoop.hive.ql.hooks.protoB\016Hiv" +
"eHookEvents"
};
io.prestosql.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new io.prestosql.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() {
public io.prestosql.hive.$internal.com.google.protobuf.ExtensionRegistry assignDescriptors(
io.prestosql.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
internal_static_org_apache_hadoop_hive_ql_hooks_proto_MapFieldEntry_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_org_apache_hadoop_hive_ql_hooks_proto_MapFieldEntry_fieldAccessorTable = new
io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_apache_hadoop_hive_ql_hooks_proto_MapFieldEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
internal_static_org_apache_hadoop_hive_ql_hooks_proto_HiveHookEventProto_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_org_apache_hadoop_hive_ql_hooks_proto_HiveHookEventProto_fieldAccessorTable = new
io.prestosql.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable(
internal_static_org_apache_hadoop_hive_ql_hooks_proto_HiveHookEventProto_descriptor,
new java.lang.String[] { "EventType", "HiveQueryId", "Timestamp", "ExecutionMode", "RequestUser", "Queue", "User", "OperationId", "TablesWritten", "TablesRead", "OtherInfo", });
return null;
}
};
io.prestosql.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new io.prestosql.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor[] {
}, assigner);
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy