http://git-wip-us.apache.org/repos/asf/hive/blob/e08cc6e6/ql/src/gen/protobuf/gen-java/org/apache/hadoop/hive/ql/hooks/proto/HiveHookEvents.java ---------------------------------------------------------------------- diff --git a/ql/src/gen/protobuf/gen-java/org/apache/hadoop/hive/ql/hooks/proto/HiveHookEvents.java b/ql/src/gen/protobuf/gen-java/org/apache/hadoop/hive/ql/hooks/proto/HiveHookEvents.java new file mode 100644 index 0000000..6adda72 --- /dev/null +++ b/ql/src/gen/protobuf/gen-java/org/apache/hadoop/hive/ql/hooks/proto/HiveHookEvents.java @@ -0,0 +1,2917 @@ +// 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( + com.google.protobuf.ExtensionRegistry registry) { + } + public interface MapFieldEntryOrBuilder + extends com.google.protobuf.MessageOrBuilder { + + // optional string key = 1; + /** + * <code>optional string key = 1;</code> + */ + boolean hasKey(); + /** + * <code>optional string key = 1;</code> + */ + java.lang.String getKey(); + /** + * <code>optional string key = 1;</code> + */ + com.google.protobuf.ByteString + getKeyBytes(); + + // optional string value = 2; + /** + * <code>optional string value = 2;</code> + */ + boolean hasValue(); + /** + * <code>optional string value = 2;</code> + */ + java.lang.String getValue(); + /** + * <code>optional string value = 2;</code> + */ + com.google.protobuf.ByteString + getValueBytes(); + } + /** + * Protobuf type {@code org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry} + */ + public static final class MapFieldEntry extends + com.google.protobuf.GeneratedMessage + implements MapFieldEntryOrBuilder { + // Use MapFieldEntry.newBuilder() to construct. + private MapFieldEntry(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private MapFieldEntry(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final MapFieldEntry defaultInstance; + public static MapFieldEntry getDefaultInstance() { + return defaultInstance; + } + + public MapFieldEntry getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private MapFieldEntry( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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 (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final 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 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 com.google.protobuf.Parser<MapFieldEntry> PARSER = + new com.google.protobuf.AbstractParser<MapFieldEntry>() { + public MapFieldEntry parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new MapFieldEntry(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser<MapFieldEntry> getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional string key = 1; + public static final int KEY_FIELD_NUMBER = 1; + private java.lang.Object key_; + /** + * <code>optional string key = 1;</code> + */ + public boolean hasKey() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * <code>optional string key = 1;</code> + */ + public java.lang.String getKey() { + java.lang.Object ref = key_; + 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()) { + key_ = s; + } + return s; + } + } + /** + * <code>optional string key = 1;</code> + */ + public com.google.protobuf.ByteString + getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional string value = 2; + public static final int VALUE_FIELD_NUMBER = 2; + private java.lang.Object value_; + /** + * <code>optional string value = 2;</code> + */ + public boolean hasValue() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * <code>optional string value = 2;</code> + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + 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()) { + value_ = s; + } + return s; + } + } + /** + * <code>optional string value = 2;</code> + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (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(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 += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, getKeyBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += 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( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry 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.ql.hooks.proto.HiveHookEvents.MapFieldEntry parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws 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, + 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, + 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( + 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( + com.google.protobuf.CodedInputStream input, + 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( + 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 + com.google.protobuf.GeneratedMessage.Builder<Builder> + implements org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntryOrBuilder { + public static final 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 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( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (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 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(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( + com.google.protobuf.CodedInputStream input, + 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 (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_ = ""; + /** + * <code>optional string key = 1;</code> + */ + public boolean hasKey() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * <code>optional string key = 1;</code> + */ + public java.lang.String getKey() { + java.lang.Object ref = key_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + key_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>optional string key = 1;</code> + */ + public com.google.protobuf.ByteString + getKeyBytes() { + java.lang.Object ref = key_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + key_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>optional string key = 1;</code> + */ + public Builder setKey( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + key_ = value; + onChanged(); + return this; + } + /** + * <code>optional string key = 1;</code> + */ + public Builder clearKey() { + bitField0_ = (bitField0_ & ~0x00000001); + key_ = getDefaultInstance().getKey(); + onChanged(); + return this; + } + /** + * <code>optional string key = 1;</code> + */ + public Builder setKeyBytes( + 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_ = ""; + /** + * <code>optional string value = 2;</code> + */ + public boolean hasValue() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * <code>optional string value = 2;</code> + */ + public java.lang.String getValue() { + java.lang.Object ref = value_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + value_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>optional string value = 2;</code> + */ + public com.google.protobuf.ByteString + getValueBytes() { + java.lang.Object ref = value_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + value_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>optional string value = 2;</code> + */ + public Builder setValue( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + value_ = value; + onChanged(); + return this; + } + /** + * <code>optional string value = 2;</code> + */ + public Builder clearValue() { + bitField0_ = (bitField0_ & ~0x00000002); + value_ = getDefaultInstance().getValue(); + onChanged(); + return this; + } + /** + * <code>optional string value = 2;</code> + */ + public Builder setValueBytes( + 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 com.google.protobuf.MessageOrBuilder { + + // optional string eventType = 1; + /** + * <code>optional string eventType = 1;</code> + */ + boolean hasEventType(); + /** + * <code>optional string eventType = 1;</code> + */ + java.lang.String getEventType(); + /** + * <code>optional string eventType = 1;</code> + */ + com.google.protobuf.ByteString + getEventTypeBytes(); + + // optional string hiveQueryId = 2; + /** + * <code>optional string hiveQueryId = 2;</code> + */ + boolean hasHiveQueryId(); + /** + * <code>optional string hiveQueryId = 2;</code> + */ + java.lang.String getHiveQueryId(); + /** + * <code>optional string hiveQueryId = 2;</code> + */ + com.google.protobuf.ByteString + getHiveQueryIdBytes(); + + // optional int64 timestamp = 3; + /** + * <code>optional int64 timestamp = 3;</code> + */ + boolean hasTimestamp(); + /** + * <code>optional int64 timestamp = 3;</code> + */ + long getTimestamp(); + + // optional string executionMode = 4; + /** + * <code>optional string executionMode = 4;</code> + */ + boolean hasExecutionMode(); + /** + * <code>optional string executionMode = 4;</code> + */ + java.lang.String getExecutionMode(); + /** + * <code>optional string executionMode = 4;</code> + */ + com.google.protobuf.ByteString + getExecutionModeBytes(); + + // optional string requestUser = 5; + /** + * <code>optional string requestUser = 5;</code> + */ + boolean hasRequestUser(); + /** + * <code>optional string requestUser = 5;</code> + */ + java.lang.String getRequestUser(); + /** + * <code>optional string requestUser = 5;</code> + */ + com.google.protobuf.ByteString + getRequestUserBytes(); + + // optional string queue = 6; + /** + * <code>optional string queue = 6;</code> + */ + boolean hasQueue(); + /** + * <code>optional string queue = 6;</code> + */ + java.lang.String getQueue(); + /** + * <code>optional string queue = 6;</code> + */ + com.google.protobuf.ByteString + getQueueBytes(); + + // optional string user = 7; + /** + * <code>optional string user = 7;</code> + */ + boolean hasUser(); + /** + * <code>optional string user = 7;</code> + */ + java.lang.String getUser(); + /** + * <code>optional string user = 7;</code> + */ + com.google.protobuf.ByteString + getUserBytes(); + + // optional string operationId = 8; + /** + * <code>optional string operationId = 8;</code> + */ + boolean hasOperationId(); + /** + * <code>optional string operationId = 8;</code> + */ + java.lang.String getOperationId(); + /** + * <code>optional string operationId = 8;</code> + */ + com.google.protobuf.ByteString + getOperationIdBytes(); + + // repeated string tablesWritten = 9; + /** + * <code>repeated string tablesWritten = 9;</code> + */ + java.util.List<java.lang.String> + getTablesWrittenList(); + /** + * <code>repeated string tablesWritten = 9;</code> + */ + int getTablesWrittenCount(); + /** + * <code>repeated string tablesWritten = 9;</code> + */ + java.lang.String getTablesWritten(int index); + /** + * <code>repeated string tablesWritten = 9;</code> + */ + com.google.protobuf.ByteString + getTablesWrittenBytes(int index); + + // repeated string tablesRead = 10; + /** + * <code>repeated string tablesRead = 10;</code> + */ + java.util.List<java.lang.String> + getTablesReadList(); + /** + * <code>repeated string tablesRead = 10;</code> + */ + int getTablesReadCount(); + /** + * <code>repeated string tablesRead = 10;</code> + */ + java.lang.String getTablesRead(int index); + /** + * <code>repeated string tablesRead = 10;</code> + */ + com.google.protobuf.ByteString + getTablesReadBytes(int index); + + // repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50; + /** + * <code>repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;</code> + */ + java.util.List<org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry> + getOtherInfoList(); + /** + * <code>repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;</code> + */ + org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry getOtherInfo(int index); + /** + * <code>repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;</code> + */ + int getOtherInfoCount(); + /** + * <code>repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;</code> + */ + java.util.List<? extends org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntryOrBuilder> + getOtherInfoOrBuilderList(); + /** + * <code>repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;</code> + */ + 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 + com.google.protobuf.GeneratedMessage + implements HiveHookEventProtoOrBuilder { + // Use HiveHookEventProto.newBuilder() to construct. + private HiveHookEventProto(com.google.protobuf.GeneratedMessage.Builder<?> builder) { + super(builder); + this.unknownFields = builder.getUnknownFields(); + } + private HiveHookEventProto(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } + + private static final HiveHookEventProto defaultInstance; + public static HiveHookEventProto getDefaultInstance() { + return defaultInstance; + } + + public HiveHookEventProto getDefaultInstanceForType() { + return defaultInstance; + } + + private final com.google.protobuf.UnknownFieldSet unknownFields; + @java.lang.Override + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { + return this.unknownFields; + } + private HiveHookEventProto( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + initFields(); + int mutable_bitField0_ = 0; + com.google.protobuf.UnknownFieldSet.Builder unknownFields = + 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 com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000100; + } + tablesWritten_.add(input.readBytes()); + break; + } + case 82: { + if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + tablesRead_ = new com.google.protobuf.LazyStringArrayList(); + mutable_bitField0_ |= 0x00000200; + } + tablesRead_.add(input.readBytes()); + break; + } + case 402: { + if (!((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + otherInfo_ = new java.util.ArrayList<org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry>(); + mutable_bitField0_ |= 0x00000400; + } + otherInfo_.add(input.readMessage(org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry.PARSER, extensionRegistry)); + break; + } + } + } + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(this); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException( + e.getMessage()).setUnfinishedMessage(this); + } finally { + if (((mutable_bitField0_ & 0x00000100) == 0x00000100)) { + tablesWritten_ = new com.google.protobuf.UnmodifiableLazyStringList(tablesWritten_); + } + if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { + tablesRead_ = new com.google.protobuf.UnmodifiableLazyStringList(tablesRead_); + } + if (((mutable_bitField0_ & 0x00000400) == 0x00000400)) { + otherInfo_ = java.util.Collections.unmodifiableList(otherInfo_); + } + this.unknownFields = unknownFields.build(); + makeExtensionsImmutable(); + } + } + public static final 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 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 com.google.protobuf.Parser<HiveHookEventProto> PARSER = + new com.google.protobuf.AbstractParser<HiveHookEventProto>() { + public HiveHookEventProto parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return new HiveHookEventProto(input, extensionRegistry); + } + }; + + @java.lang.Override + public com.google.protobuf.Parser<HiveHookEventProto> getParserForType() { + return PARSER; + } + + private int bitField0_; + // optional string eventType = 1; + public static final int EVENTTYPE_FIELD_NUMBER = 1; + private java.lang.Object eventType_; + /** + * <code>optional string eventType = 1;</code> + */ + public boolean hasEventType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * <code>optional string eventType = 1;</code> + */ + public java.lang.String getEventType() { + java.lang.Object ref = eventType_; + 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()) { + eventType_ = s; + } + return s; + } + } + /** + * <code>optional string eventType = 1;</code> + */ + public com.google.protobuf.ByteString + getEventTypeBytes() { + java.lang.Object ref = eventType_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional string hiveQueryId = 2; + public static final int HIVEQUERYID_FIELD_NUMBER = 2; + private java.lang.Object hiveQueryId_; + /** + * <code>optional string hiveQueryId = 2;</code> + */ + public boolean hasHiveQueryId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * <code>optional string hiveQueryId = 2;</code> + */ + 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 hiveQueryId = 2;</code> + */ + 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; + } + } + + // optional int64 timestamp = 3; + public static final int TIMESTAMP_FIELD_NUMBER = 3; + private long timestamp_; + /** + * <code>optional int64 timestamp = 3;</code> + */ + public boolean hasTimestamp() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * <code>optional int64 timestamp = 3;</code> + */ + public long getTimestamp() { + return timestamp_; + } + + // optional string executionMode = 4; + public static final int EXECUTIONMODE_FIELD_NUMBER = 4; + private java.lang.Object executionMode_; + /** + * <code>optional string executionMode = 4;</code> + */ + public boolean hasExecutionMode() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * <code>optional string executionMode = 4;</code> + */ + public java.lang.String getExecutionMode() { + java.lang.Object ref = executionMode_; + 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()) { + executionMode_ = s; + } + return s; + } + } + /** + * <code>optional string executionMode = 4;</code> + */ + public com.google.protobuf.ByteString + getExecutionModeBytes() { + java.lang.Object ref = executionMode_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + executionMode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional string requestUser = 5; + public static final int REQUESTUSER_FIELD_NUMBER = 5; + private java.lang.Object requestUser_; + /** + * <code>optional string requestUser = 5;</code> + */ + public boolean hasRequestUser() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * <code>optional string requestUser = 5;</code> + */ + public java.lang.String getRequestUser() { + java.lang.Object ref = requestUser_; + 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()) { + requestUser_ = s; + } + return s; + } + } + /** + * <code>optional string requestUser = 5;</code> + */ + public com.google.protobuf.ByteString + getRequestUserBytes() { + java.lang.Object ref = requestUser_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional string queue = 6; + public static final int QUEUE_FIELD_NUMBER = 6; + private java.lang.Object queue_; + /** + * <code>optional string queue = 6;</code> + */ + public boolean hasQueue() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * <code>optional string queue = 6;</code> + */ + public java.lang.String getQueue() { + java.lang.Object ref = queue_; + 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()) { + queue_ = s; + } + return s; + } + } + /** + * <code>optional string queue = 6;</code> + */ + public com.google.protobuf.ByteString + getQueueBytes() { + java.lang.Object ref = queue_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + queue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // optional string user = 7; + public static final int USER_FIELD_NUMBER = 7; + private java.lang.Object user_; + /** + * <code>optional string user = 7;</code> + */ + public boolean hasUser() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * <code>optional string user = 7;</code> + */ + 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 = 7;</code> + */ + 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; + } + } + + // optional string operationId = 8; + public static final int OPERATIONID_FIELD_NUMBER = 8; + private java.lang.Object operationId_; + /** + * <code>optional string operationId = 8;</code> + */ + public boolean hasOperationId() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * <code>optional string operationId = 8;</code> + */ + public java.lang.String getOperationId() { + java.lang.Object ref = operationId_; + 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()) { + operationId_ = s; + } + return s; + } + } + /** + * <code>optional string operationId = 8;</code> + */ + public com.google.protobuf.ByteString + getOperationIdBytes() { + java.lang.Object ref = operationId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + // repeated string tablesWritten = 9; + public static final int TABLESWRITTEN_FIELD_NUMBER = 9; + private com.google.protobuf.LazyStringList tablesWritten_; + /** + * <code>repeated string tablesWritten = 9;</code> + */ + public java.util.List<java.lang.String> + getTablesWrittenList() { + return tablesWritten_; + } + /** + * <code>repeated string tablesWritten = 9;</code> + */ + public int getTablesWrittenCount() { + return tablesWritten_.size(); + } + /** + * <code>repeated string tablesWritten = 9;</code> + */ + public java.lang.String getTablesWritten(int index) { + return tablesWritten_.get(index); + } + /** + * <code>repeated string tablesWritten = 9;</code> + */ + public com.google.protobuf.ByteString + getTablesWrittenBytes(int index) { + return tablesWritten_.getByteString(index); + } + + // repeated string tablesRead = 10; + public static final int TABLESREAD_FIELD_NUMBER = 10; + private com.google.protobuf.LazyStringList tablesRead_; + /** + * <code>repeated string tablesRead = 10;</code> + */ + public java.util.List<java.lang.String> + getTablesReadList() { + return tablesRead_; + } + /** + * <code>repeated string tablesRead = 10;</code> + */ + public int getTablesReadCount() { + return tablesRead_.size(); + } + /** + * <code>repeated string tablesRead = 10;</code> + */ + public java.lang.String getTablesRead(int index) { + return tablesRead_.get(index); + } + /** + * <code>repeated string tablesRead = 10;</code> + */ + public 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<org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry> otherInfo_; + /** + * <code>repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;</code> + */ + public java.util.List<org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry> getOtherInfoList() { + return otherInfo_; + } + /** + * <code>repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;</code> + */ + public java.util.List<? extends org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntryOrBuilder> + getOtherInfoOrBuilderList() { + return otherInfo_; + } + /** + * <code>repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;</code> + */ + public int getOtherInfoCount() { + return otherInfo_.size(); + } + /** + * <code>repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;</code> + */ + public org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.MapFieldEntry getOtherInfo(int index) { + return otherInfo_.get(index); + } + /** + * <code>repeated .org.apache.hadoop.hive.ql.hooks.proto.MapFieldEntry otherInfo = 50;</code> + */ + 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_ = com.google.protobuf.LazyStringArrayList.EMPTY; + tablesRead_ = 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(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 += com.google.protobuf.CodedOutputStream + .computeBytesSize(1, getEventTypeBytes()); + } + if (((bitField0_ & 0x00000002) == 0x00000002)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(2, getHiveQueryIdBytes()); + } + if (((bitField0_ & 0x00000004) == 0x00000004)) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, timestamp_); + } + if (((bitField0_ & 0x00000008) == 0x00000008)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(4, getExecutionModeBytes()); + } + if (((bitField0_ & 0x00000010) == 0x00000010)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(5, getRequestUserBytes()); + } + if (((bitField0_ & 0x00000020) == 0x00000020)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(6, getQueueBytes()); + } + if (((bitField0_ & 0x00000040) == 0x00000040)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(7, getUserBytes()); + } + if (((bitField0_ & 0x00000080) == 0x00000080)) { + size += com.google.protobuf.CodedOutputStream + .computeBytesSize(8, getOperationIdBytes()); + } + { + int dataSize = 0; + for (int i = 0; i < tablesWritten_.size(); i++) { + dataSize += 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 += com.google.protobuf.CodedOutputStream + .computeBytesSizeNoTag(tablesRead_.getByteString(i)); + } + size += dataSize; + size += 1 * getTablesReadList().size(); + } + for (int i = 0; i < otherInfo_.size(); i++) { + size += 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( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto 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.ql.hooks.proto.HiveHookEvents.HiveHookEventProto parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProto parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws 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, + 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, + 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( + 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( + com.google.protobuf.CodedInputStream input, + 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( + 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 + com.google.protobuf.GeneratedMessage.Builder<Builder> + implements org.apache.hadoop.hive.ql.hooks.proto.HiveHookEvents.HiveHookEventProtoOrBuilder { + public static final 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 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( + com.google.protobuf.GeneratedMessage.BuilderParent parent) { + super(parent); + maybeForceBuilderInitialization(); + } + private void maybeForceBuilderInitialization() { + if (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_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000100); + tablesRead_ = 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 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 com.google.protobuf.UnmodifiableLazyStringList( + tablesWritten_); + bitField0_ = (bitField0_ & ~0x00000100); + } + result.tablesWritten_ = tablesWritten_; + if (((bitField0_ & 0x00000200) == 0x00000200)) { + tablesRead_ = new 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(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_ = + 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( + com.google.protobuf.CodedInputStream input, + 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 (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_ = ""; + /** + * <code>optional string eventType = 1;</code> + */ + public boolean hasEventType() { + return ((bitField0_ & 0x00000001) == 0x00000001); + } + /** + * <code>optional string eventType = 1;</code> + */ + public java.lang.String getEventType() { + java.lang.Object ref = eventType_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + eventType_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>optional string eventType = 1;</code> + */ + public com.google.protobuf.ByteString + getEventTypeBytes() { + java.lang.Object ref = eventType_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + eventType_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>optional string eventType = 1;</code> + */ + public Builder setEventType( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000001; + eventType_ = value; + onChanged(); + return this; + } + /** + * <code>optional string eventType = 1;</code> + */ + public Builder clearEventType() { + bitField0_ = (bitField0_ & ~0x00000001); + eventType_ = getDefaultInstance().getEventType(); + onChanged(); + return this; + } + /** + * <code>optional string eventType = 1;</code> + */ + public Builder setEventTypeBytes( + 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_ = ""; + /** + * <code>optional string hiveQueryId = 2;</code> + */ + public boolean hasHiveQueryId() { + return ((bitField0_ & 0x00000002) == 0x00000002); + } + /** + * <code>optional string hiveQueryId = 2;</code> + */ + public java.lang.String getHiveQueryId() { + java.lang.Object ref = hiveQueryId_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + hiveQueryId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>optional string hiveQueryId = 2;</code> + */ + 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 hiveQueryId = 2;</code> + */ + public Builder setHiveQueryId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + hiveQueryId_ = value; + onChanged(); + return this; + } + /** + * <code>optional string hiveQueryId = 2;</code> + */ + public Builder clearHiveQueryId() { + bitField0_ = (bitField0_ & ~0x00000002); + hiveQueryId_ = getDefaultInstance().getHiveQueryId(); + onChanged(); + return this; + } + /** + * <code>optional string hiveQueryId = 2;</code> + */ + public Builder setHiveQueryIdBytes( + 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_ ; + /** + * <code>optional int64 timestamp = 3;</code> + */ + public boolean hasTimestamp() { + return ((bitField0_ & 0x00000004) == 0x00000004); + } + /** + * <code>optional int64 timestamp = 3;</code> + */ + public long getTimestamp() { + return timestamp_; + } + /** + * <code>optional int64 timestamp = 3;</code> + */ + public Builder setTimestamp(long value) { + bitField0_ |= 0x00000004; + timestamp_ = value; + onChanged(); + return this; + } + /** + * <code>optional int64 timestamp = 3;</code> + */ + public Builder clearTimestamp() { + bitField0_ = (bitField0_ & ~0x00000004); + timestamp_ = 0L; + onChanged(); + return this; + } + + // optional string executionMode = 4; + private java.lang.Object executionMode_ = ""; + /** + * <code>optional string executionMode = 4;</code> + */ + public boolean hasExecutionMode() { + return ((bitField0_ & 0x00000008) == 0x00000008); + } + /** + * <code>optional string executionMode = 4;</code> + */ + public java.lang.String getExecutionMode() { + java.lang.Object ref = executionMode_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + executionMode_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>optional string executionMode = 4;</code> + */ + public com.google.protobuf.ByteString + getExecutionModeBytes() { + java.lang.Object ref = executionMode_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + executionMode_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>optional string executionMode = 4;</code> + */ + public Builder setExecutionMode( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + executionMode_ = value; + onChanged(); + return this; + } + /** + * <code>optional string executionMode = 4;</code> + */ + public Builder clearExecutionMode() { + bitField0_ = (bitField0_ & ~0x00000008); + executionMode_ = getDefaultInstance().getExecutionMode(); + onChanged(); + return this; + } + /** + * <code>optional string executionMode = 4;</code> + */ + public Builder setExecutionModeBytes( + 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_ = ""; + /** + * <code>optional string requestUser = 5;</code> + */ + public boolean hasRequestUser() { + return ((bitField0_ & 0x00000010) == 0x00000010); + } + /** + * <code>optional string requestUser = 5;</code> + */ + public java.lang.String getRequestUser() { + java.lang.Object ref = requestUser_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + requestUser_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>optional string requestUser = 5;</code> + */ + public com.google.protobuf.ByteString + getRequestUserBytes() { + java.lang.Object ref = requestUser_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + requestUser_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>optional string requestUser = 5;</code> + */ + public Builder setRequestUser( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + requestUser_ = value; + onChanged(); + return this; + } + /** + * <code>optional string requestUser = 5;</code> + */ + public Builder clearRequestUser() { + bitField0_ = (bitField0_ & ~0x00000010); + requestUser_ = getDefaultInstance().getRequestUser(); + onChanged(); + return this; + } + /** + * <code>optional string requestUser = 5;</code> + */ + public Builder setRequestUserBytes( + 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_ = ""; + /** + * <code>optional string queue = 6;</code> + */ + public boolean hasQueue() { + return ((bitField0_ & 0x00000020) == 0x00000020); + } + /** + * <code>optional string queue = 6;</code> + */ + public java.lang.String getQueue() { + java.lang.Object ref = queue_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + queue_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>optional string queue = 6;</code> + */ + public com.google.protobuf.ByteString + getQueueBytes() { + java.lang.Object ref = queue_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + queue_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>optional string queue = 6;</code> + */ + public Builder setQueue( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000020; + queue_ = value; + onChanged(); + return this; + } + /** + * <code>optional string queue = 6;</code> + */ + public Builder clearQueue() { + bitField0_ = (bitField0_ & ~0x00000020); + queue_ = getDefaultInstance().getQueue(); + onChanged(); + return this; + } + /** + * <code>optional string queue = 6;</code> + */ + public Builder setQueueBytes( + 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_ = ""; + /** + * <code>optional string user = 7;</code> + */ + public boolean hasUser() { + return ((bitField0_ & 0x00000040) == 0x00000040); + } + /** + * <code>optional string user = 7;</code> + */ + public java.lang.String getUser() { + java.lang.Object ref = user_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + user_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>optional string user = 7;</code> + */ + 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 = 7;</code> + */ + public Builder setUser( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000040; + user_ = value; + onChanged(); + return this; + } + /** + * <code>optional string user = 7;</code> + */ + public Builder clearUser() { + bitField0_ = (bitField0_ & ~0x00000040); + user_ = getDefaultInstance().getUser(); + onChanged(); + return this; + } + /** + * <code>optional string user = 7;</code> + */ + public Builder setUserBytes( + 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_ = ""; + /** + * <code>optional string operationId = 8;</code> + */ + public boolean hasOperationId() { + return ((bitField0_ & 0x00000080) == 0x00000080); + } + /** + * <code>optional string operationId = 8;</code> + */ + public java.lang.String getOperationId() { + java.lang.Object ref = operationId_; + if (!(ref instanceof java.lang.String)) { + java.lang.String s = ((com.google.protobuf.ByteString) ref) + .toStringUtf8(); + operationId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + * <code>optional string operationId = 8;</code> + */ + public com.google.protobuf.ByteString + getOperationIdBytes() { + java.lang.Object ref = operationId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + operationId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + * <code>optional string operationId = 8;</code> + */ + public Builder setOperationId( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; + operationId_ = value; + onChanged(); + return this; + } + /** + * <code>optional string operationId = 8;</code> + */ + public Builder clearOperationId() { + bitField0_ = (bitField0_ & ~0x00000080); + operationId_ = getDefaultInstance().getOperationId(); + onChanged(); + return this; + } + /** + * <code>optional string operationId = 8;</code> + */ + public Builder setOperationIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000080; + operationId_ = value; + onChanged(); + return this; + } + + // repeated string tablesWritten = 9; + private com.google.protobuf.LazyStringList tablesWritten_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTablesWrittenIsMutable() { + if (!((bitField0_ & 0x00000100) == 0x00000100)) { + tablesWritten_ = new com.google.protobuf.LazyStringArrayList(tablesWritten_); + bitField0_ |= 0x00000100; + } + } + /** + * <code>repeated string tablesWritten = 9;</code> + */ + public java.util.List<java.lang.String> + getTablesWrittenList() { + return java.util.Collections.unmodifiableList(tablesWritten_); + } + /** + * <code>repeated string tablesWritten = 9;</code> + */ + public int getTablesWrittenCount() { + return tablesWritten_.size(); + } + /** + * <code>repeated string tablesWritten = 9;</code> + */ + public java.lang.String getTablesWritten(int index) { + return tablesWritten_.get(index); + } + /** + * <code>repeated string tablesWritten = 9;</code> + */ + public com.google.protobuf.ByteString + getTablesWrittenBytes(int index) { + return tablesWritten_.getByteString(index); + } + /** + * <code>repeated string tablesWritten = 9;</code> + */ + public Builder setTablesWritten( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTablesWrittenIsMutable(); + tablesWritten_.set(index, value); + onChanged(); + return this; + } + /** + * <code>repeated string tablesWritten = 9;</code> + */ + public Builder addTablesWritten( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTablesWrittenIsMutable(); + tablesWritten_.add(value); + onChanged(); + return this; + } + /** + * <code>repeated string tablesWritten = 9;</code> + */ + public Builder addAllTablesWritten( + java.lang.Iterable<java.lang.String> values) { + ensureTablesWrittenIsMutable(); + super.addAll(values, tablesWritten_); + onChanged(); + return this; + } + /** + * <code>repeated string tablesWritten = 9;</code> + */ + public Builder clearTablesWritten() { + tablesWritten_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + * <code>repeated string tablesWritten = 9;</code> + */ + public Builder addTablesWrittenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTablesWrittenIsMutable(); + tablesWritten_.add(value); + onChanged(); + return this; + } + + // repeated string tablesRead = 10; + private com.google.protobuf.LazyStringList tablesRead_ = com.google.protobuf.LazyStringArrayList.EMPTY; + private void ensureTablesReadIsMutable() { + if (!((bitField0_ & 0x00000200) == 0x00000200)) { + tablesRead_ = new com.google.protobuf.LazyStringArrayList(tablesRead_); + bitField0_ |= 0x00000200; + } + } + /** + * <code>repeated string tablesRead = 10;</code> + */ + public java.util.List<java.lang.String> + getTablesReadList() { + return java.util.Collections.unmodifiableList(tablesRead_); + } + /** + * <code>repeated string tablesRead = 10;</code> + */ + public int getTablesReadCount() { + return tablesRead_.size(); + } + /** + * <code>repeated string tablesRead = 10;</code> + */ + public java.lang.String getTablesRead(int index) { + return tablesRead_.get(index); + } + /** + * <code>repeated string tablesRead = 10;</code> + */ + public com.google.protobuf.ByteString + getTablesReadBytes(int index) { + return tablesRead_.getByteString(index); + } + /** + * <code>repeated string tablesRead = 10;</code> + */ + public Builder setTablesRead( + int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTablesReadIsMutable(); + tablesRead_.set(index, value); + onChanged(); + return this; + } + /** + * <code>repeated string tablesRead = 10;</code> + */ + public Builder addTablesRead( + java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } + ensureTablesReadIsMutable(); + tablesRead_.add(value); + onChanged(); + return this; + } + /** + * <code>repeated string tablesRead = 10;</code> + */ + public Builder addAllTablesRead( + java.lang.Iterable<java.lang.String> values) { + ensureTablesReadIsMutable(); + super.addAll(values, tablesRead_); + onChanged(); + return this; + } + /** + * <code>repeated string tablesRead = 10;</code> + */ + public Builder clearTablesRead() { + tablesRead_ = com.google.protobuf.LazyStringArrayList.EMPTY; + bitField0_ = (bitField0_ & ~0x00000200); + onChanged(); + return this; + } + /** + * <code>repeated string tablesRead = 10
<TRUNCATED>