diff --git a/warehouse/core/src/main/java/datawave/edge/protobuf/EdgeData.java b/warehouse/core/src/main/java/datawave/edge/protobuf/EdgeData.java
index c354aa8c834..b38908a3fd2 100644
--- a/warehouse/core/src/main/java/datawave/edge/protobuf/EdgeData.java
+++ b/warehouse/core/src/main/java/datawave/edge/protobuf/EdgeData.java
@@ -6,496 +6,340 @@
public final class EdgeData {
private EdgeData() {}
- public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {}
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
+ }
public interface EdgeValueOrBuilder extends
// @@protoc_insertion_point(interface_extends:datawave.edge.protobuf.EdgeValue)
com.google.protobuf.MessageOrBuilder {
/**
- * optional int64 count = 1;
- *
*
* edge table count ** - * @return if there is a count + *
int64 count = 1;
+ *
+ * @return Whether the count field is set.
*/
boolean hasCount();
/**
- * optional int64 count = 1;
- *
* * edge table count ** - * @return the count + *
int64 count = 1;
+ *
+ * @return The count.
*/
long getCount();
/**
- * repeated int64 hours = 2 [packed = true];
- *
* * hour activity array (length 24) ** - * @return the list of hours + *
repeated int64 hours = 2 [packed = true];
+ *
+ * @return A list containing the hours.
*/
java.util.Listrepeated int64 hours = 2 [packed = true];
- *
* * hour activity array (length 24) ** - * @return the count of hours + *
repeated int64 hours = 2 [packed = true];
+ *
+ * @return The count of hours.
*/
int getHoursCount();
/**
- * repeated int64 hours = 2 [packed = true];
- *
* * hour activity array (length 24) ** - * @param index - * the index + *
repeated int64 hours = 2 [packed = true];
*
- * @return the hours at the specific index
+ * @param index
+ * The index of the element to return.
+ * @return The hours at the given index.
*/
long getHours(int index);
/**
- * repeated int64 duration = 3 [packed = true];
- *
* * protobuf says that repeated order will be preserved * packed means it won't appear in serialized data * that doesn't contain any hours fields. ** - * @return list of durations + *
repeated int64 duration = 3 [packed = true];
+ *
+ * @return A list containing the duration.
*/
java.util.Listrepeated int64 duration = 3 [packed = true];
- *
* * protobuf says that repeated order will be preserved * packed means it won't appear in serialized data * that doesn't contain any hours fields. ** - * @return duration count + *
repeated int64 duration = 3 [packed = true];
+ *
+ * @return The count of duration.
*/
int getDurationCount();
/**
- * repeated int64 duration = 3 [packed = true];
- *
* * protobuf says that repeated order will be preserved * packed means it won't appear in serialized data * that doesn't contain any hours fields. ** - * @param index - * the index + *
repeated int64 duration = 3 [packed = true];
*
- * @return the duration at an index
+ * @param index
+ * The index of the element to return.
+ * @return The duration at the given index.
*/
long getDuration(int index);
/**
- * optional int32 hourBitmask = 4;
- *
* * Bitmask for tracking edge creation by the hour. ** - * @return if there is an hour bitmask + *
int32 hourBitmask = 4;
+ *
+ * @return Whether the hourBitmask field is set.
*/
boolean hasHourBitmask();
/**
- * optional int32 hourBitmask = 4;
- *
* * Bitmask for tracking edge creation by the hour. ** - * @return the hour bitmask + *
int32 hourBitmask = 4;
+ *
+ * @return The hourBitmask.
*/
int getHourBitmask();
/**
- * optional string sourceValue = 5;
+ * string sourceValue = 5;
*
- * @return if the optional sourcevalue is set
+ * @return Whether the sourceValue field is set.
*/
boolean hasSourceValue();
/**
- * optional string sourceValue = 5;
+ * string sourceValue = 5;
*
- * @return the sourcevalue
+ * @return The sourceValue.
*/
java.lang.String getSourceValue();
/**
- * optional string sourceValue = 5;
+ * string sourceValue = 5;
*
- * @return the sourcevalue byte string
+ * @return The bytes for sourceValue.
*/
com.google.protobuf.ByteString getSourceValueBytes();
/**
- * optional string sinkValue = 6;
+ * string sinkValue = 6;
*
- * @return if there is a sinkvalue
+ * @return Whether the sinkValue field is set.
*/
boolean hasSinkValue();
/**
- * optional string sinkValue = 6;
+ * string sinkValue = 6;
*
- * @return the sinkvalue
+ * @return The sinkValue.
*/
java.lang.String getSinkValue();
/**
- * optional string sinkValue = 6;
+ * string sinkValue = 6;
*
- * @return the sinkvalue byte string
+ * @return The bytes for sinkValue.
*/
com.google.protobuf.ByteString getSinkValueBytes();
/**
- * optional string loadDate = 7;
+ * string loadDate = 7;
*
- * @return if there is a loaddate
+ * @return Whether the loadDate field is set.
*/
boolean hasLoadDate();
/**
- * optional string loadDate = 7;
+ * string loadDate = 7;
*
- * @return the loaddate
+ * @return The loadDate.
*/
java.lang.String getLoadDate();
/**
- * optional string loadDate = 7;
+ * string loadDate = 7;
*
- * @return the loaddate bytestring
+ * @return The bytes for loadDate.
*/
com.google.protobuf.ByteString getLoadDateBytes();
/**
- * optional bool badActivity = 8;
+ * bool badActivity = 8;
*
- * @return if there is bad activity
+ * @return Whether the badActivity field is set.
*/
boolean hasBadActivity();
/**
- * optional bool badActivity = 8;
+ * bool badActivity = 8;
*
- * @return back activity value
+ * @return The badActivity.
*/
boolean getBadActivity();
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @return if there is a uuid for the edge value + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
+ *
+ * @return Whether the uuid field is set.
*/
boolean hasUuid();
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @return the uuid + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
+ *
+ * @return The uuid.
*/
datawave.edge.protobuf.EdgeData.EdgeValue.UUID getUuid();
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @return the uuidOrBuilder + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
*/
datawave.edge.protobuf.EdgeData.EdgeValue.UUIDOrBuilder getUuidOrBuilder();
/**
- * optional string uuid_string = 10;
- *
* * a single uuid of an event that contributed to the edge in string format ** - * @return if there is a uuidString + *
string uuid_string = 10;
+ *
+ * @return Whether the uuidString field is set.
*/
boolean hasUuidString();
/**
- * optional string uuid_string = 10;
- *
* * a single uuid of an event that contributed to the edge in string format ** - * @return the uuid string + *
string uuid_string = 10;
+ *
+ * @return The uuidString.
*/
java.lang.String getUuidString();
/**
- * optional string uuid_string = 10;
- *
* * a single uuid of an event that contributed to the edge in string format ** - * @return the uuid bytestring + *
string uuid_string = 10;
+ *
+ * @return The bytes for uuidString.
*/
com.google.protobuf.ByteString getUuidStringBytes();
}
/**
- * Protobuf type {@code datawave.edge.protobuf.EdgeValue}
- *
* * Used for the Accumulo Value bytes for Edge Table and edge Metadata Table entries *+ * + * Protobuf type {@code datawave.edge.protobuf.EdgeValue} */ - public static final class EdgeValue extends com.google.protobuf.GeneratedMessage implements + public static final class EdgeValue extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:datawave.edge.protobuf.EdgeValue) EdgeValueOrBuilder { + private static final long serialVersionUID = 0L; + // Use EdgeValue.newBuilder() to construct. - private EdgeValue(com.google.protobuf.GeneratedMessage.Builder> builder) { + private EdgeValue(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); - this.unknownFields = builder.getUnknownFields(); - } - - private EdgeValue(boolean noInit) { - this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } - private static final EdgeValue defaultInstance; - - public static EdgeValue getDefaultInstance() { - return defaultInstance; + private EdgeValue() { + hours_ = emptyLongList(); + duration_ = emptyLongList(); + sourceValue_ = ""; + sinkValue_ = ""; + loadDate_ = ""; + uuidString_ = ""; } - public EdgeValue getDefaultInstanceForType() { - return defaultInstance; + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + return new EdgeValue(); } - private final com.google.protobuf.UnknownFieldSet unknownFields; - @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } - private EdgeValue(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 8: { - bitField0_ |= 0x00000001; - count_ = input.readInt64(); - break; - } - case 16: { - if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { - hours_ = new java.util.ArrayList
required sint64 least_significant_bits = 1;
+ * sint64 least_significant_bits = 1;
*
- * @return if it has least significant bits
- */
- boolean hasLeastSignificantBits();
-
- /**
- * required sint64 least_significant_bits = 1;
- *
- * @return the least significant bits
+ * @return The leastSignificantBits.
*/
long getLeastSignificantBits();
/**
- * required sint64 most_significant_bits = 2;
- *
- * @return if it has most significant bits
- */
- boolean hasMostSignificantBits();
-
- /**
- * required sint64 most_significant_bits = 2;
+ * sint64 most_significant_bits = 2;
*
- * @return most significant bits
+ * @return The mostSignificantBits.
*/
long getMostSignificantBits();
}
@@ -503,116 +347,48 @@ public interface UUIDOrBuilder extends
/**
* Protobuf type {@code datawave.edge.protobuf.EdgeValue.UUID}
*/
- public static final class UUID extends com.google.protobuf.GeneratedMessage implements
+ public static final class UUID extends com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:datawave.edge.protobuf.EdgeValue.UUID)
UUIDOrBuilder {
+ private static final long serialVersionUID = 0L;
+
// Use UUID.newBuilder() to construct.
- private UUID(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private UUID(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
-
- private UUID(boolean noInit) {
- this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
- private static final UUID defaultInstance;
-
- public static UUID getDefaultInstance() {
- return defaultInstance;
- }
+ private UUID() {}
- public UUID getDefaultInstanceForType() {
- return defaultInstance;
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UUID();
}
- private final com.google.protobuf.UnknownFieldSet unknownFields;
-
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
- private UUID(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 8: {
- bitField0_ |= 0x00000001;
- leastSignificantBits_ = input.readSInt64();
- break;
- }
- case 16: {
- bitField0_ |= 0x00000002;
- mostSignificantBits_ = input.readSInt64();
- 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 datawave.edge.protobuf.EdgeData.internal_static_datawave_edge_protobuf_EdgeValue_UUID_descriptor;
}
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() {
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return datawave.edge.protobuf.EdgeData.internal_static_datawave_edge_protobuf_EdgeValue_UUID_fieldAccessorTable.ensureFieldAccessorsInitialized(
datawave.edge.protobuf.EdgeData.EdgeValue.UUID.class, datawave.edge.protobuf.EdgeData.EdgeValue.UUID.Builder.class);
}
- public static com.google.protobuf.Parserrequired sint64 least_significant_bits = 1;
+ * sint64 least_significant_bits = 1;
*
- * @return if there are least significant bits
- */
- public boolean hasLeastSignificantBits() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
-
- /**
- * required sint64 least_significant_bits = 1;
- *
- * @return the least significant bits
+ * @return The leastSignificantBits.
*/
+ @java.lang.Override
public long getLeastSignificantBits() {
return leastSignificantBits_;
}
@@ -621,30 +397,18 @@ public long getLeastSignificantBits() {
private long mostSignificantBits_;
/**
- * required sint64 most_significant_bits = 2;
+ * sint64 most_significant_bits = 2;
*
- * @return if there are most significant bits
- */
- public boolean hasMostSignificantBits() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
-
- /**
- * required sint64 most_significant_bits = 2;
- *
- * @return the most significant bits
+ * @return The mostSignificantBits.
*/
+ @java.lang.Override
public long getMostSignificantBits() {
return mostSignificantBits_;
}
- private void initFields() {
- leastSignificantBits_ = 0L;
- mostSignificantBits_ = 0L;
- }
-
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
@@ -652,53 +416,82 @@ public final boolean isInitialized() {
if (isInitialized == 0)
return false;
- if (!hasLeastSignificantBits()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasMostSignificantBits()) {
- memoizedIsInitialized = 0;
- return false;
- }
memoizedIsInitialized = 1;
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (leastSignificantBits_ != 0L) {
output.writeSInt64(1, leastSignificantBits_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (mostSignificantBits_ != 0L) {
output.writeSInt64(2, mostSignificantBits_);
}
getUnknownFields().writeTo(output);
}
- private int memoizedSerializedSize = -1;
-
+ @java.lang.Override
public int getSerializedSize() {
- int size = memoizedSerializedSize;
+ int size = memoizedSize;
if (size != -1)
return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (leastSignificantBits_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeSInt64Size(1, leastSignificantBits_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (mostSignificantBits_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeSInt64Size(2, mostSignificantBits_);
}
size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
+ memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.edge.protobuf.EdgeData.EdgeValue.UUID)) {
+ return super.equals(obj);
+ }
+ datawave.edge.protobuf.EdgeData.EdgeValue.UUID other = (datawave.edge.protobuf.EdgeData.EdgeValue.UUID) obj;
+
+ if (getLeastSignificantBits() != other.getLeastSignificantBits())
+ return false;
+ if (getMostSignificantBits() != other.getMostSignificantBits())
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
@java.lang.Override
- protected java.lang.Object writeReplace() throws java.io.ObjectStreamException {
- return super.writeReplace();
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + LEAST_SIGNIFICANT_BITS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLeastSignificantBits());
+ hash = (37 * hash) + MOST_SIGNIFICANT_BITS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getMostSignificantBits());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.edge.protobuf.EdgeData.EdgeValue.UUID parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.edge.protobuf.EdgeData.EdgeValue.UUID parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static datawave.edge.protobuf.EdgeData.EdgeValue.UUID parseFrom(com.google.protobuf.ByteString data)
@@ -721,50 +514,52 @@ public static datawave.edge.protobuf.EdgeData.EdgeValue.UUID parseFrom(byte[] da
}
public static datawave.edge.protobuf.EdgeData.EdgeValue.UUID parseFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.edge.protobuf.EdgeData.EdgeValue.UUID parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.edge.protobuf.EdgeData.EdgeValue.UUID parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static datawave.edge.protobuf.EdgeData.EdgeValue.UUID parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.edge.protobuf.EdgeData.EdgeValue.UUID parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.edge.protobuf.EdgeData.EdgeValue.UUID 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();
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
public static Builder newBuilder(datawave.edge.protobuf.EdgeData.EdgeValue.UUID prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
- return newBuilder(this);
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -772,14 +567,15 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
/**
* Protobuf type {@code datawave.edge.protobuf.EdgeValue.UUID}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessage.Builderrequired sint64 least_significant_bits = 1;
+ * sint64 least_significant_bits = 1;
*
- * @return if it has least significant bits
- */
- public boolean hasLeastSignificantBits() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
-
- /**
- * required sint64 least_significant_bits = 1;
- *
- * @return the least significant bits
+ * @return The leastSignificantBits.
*/
+ @java.lang.Override
public long getLeastSignificantBits() {
return leastSignificantBits_;
}
/**
- * required sint64 least_significant_bits = 1;
+ * sint64 least_significant_bits = 1;
*
* @param value
- * the value
- *
- * @return builder to set least significant bits
+ * The leastSignificantBits to set.
+ * @return This builder for chaining.
*/
public Builder setLeastSignificantBits(long value) {
- bitField0_ |= 0x00000001;
+
leastSignificantBits_ = value;
onChanged();
return this;
}
/**
- * required sint64 least_significant_bits = 1;
+ * sint64 least_significant_bits = 1;
*
- * @return builder to clear least significant bits
+ * @return This builder for chaining.
*/
public Builder clearLeastSignificantBits() {
- bitField0_ = (bitField0_ & ~0x00000001);
+
leastSignificantBits_ = 0L;
onChanged();
return this;
@@ -951,59 +769,96 @@ public Builder clearLeastSignificantBits() {
private long mostSignificantBits_;
/**
- * required sint64 most_significant_bits = 2;
- *
- * @return if it has most significant bits
- */
- public boolean hasMostSignificantBits() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
-
- /**
- * required sint64 most_significant_bits = 2;
+ * sint64 most_significant_bits = 2;
*
- * @return the most significant bits
+ * @return The mostSignificantBits.
*/
+ @java.lang.Override
public long getMostSignificantBits() {
return mostSignificantBits_;
}
/**
- * required sint64 most_significant_bits = 2;
+ * sint64 most_significant_bits = 2;
*
* @param value
- * the value
- *
- * @return builder to set most significant bits
+ * The mostSignificantBits to set.
+ * @return This builder for chaining.
*/
public Builder setMostSignificantBits(long value) {
- bitField0_ |= 0x00000002;
+
mostSignificantBits_ = value;
onChanged();
return this;
}
/**
- * required sint64 most_significant_bits = 2;
+ * sint64 most_significant_bits = 2;
*
- * @return builder to clear the most significant bits
+ * @return This builder for chaining.
*/
public Builder clearMostSignificantBits() {
- bitField0_ = (bitField0_ & ~0x00000002);
+
mostSignificantBits_ = 0L;
onChanged();
return this;
}
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
// @@protoc_insertion_point(builder_scope:datawave.edge.protobuf.EdgeValue.UUID)
}
+ // @@protoc_insertion_point(class_scope:datawave.edge.protobuf.EdgeValue.UUID)
+ private static final datawave.edge.protobuf.EdgeData.EdgeValue.UUID DEFAULT_INSTANCE;
static {
- defaultInstance = new UUID(true);
- defaultInstance.initFields();
+ DEFAULT_INSTANCE = new datawave.edge.protobuf.EdgeData.EdgeValue.UUID();
+ }
+
+ public static datawave.edge.protobuf.EdgeData.EdgeValue.UUID getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parseroptional int64 count = 1;
- *
* * edge table count ** - * @return if it has a count + *
int64 count = 1;
+ *
+ * @return Whether the count field is set.
*/
+ @java.lang.Override
public boolean hasCount() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * optional int64 count = 1;
- *
* * edge table count ** - * @return the count + *
int64 count = 1;
+ *
+ * @return The count.
*/
+ @java.lang.Override
public long getCount() {
return count_;
}
public static final int HOURS_FIELD_NUMBER = 2;
- private java.util.Listrepeated int64 hours = 2 [packed = true];
- *
* * hour activity array (length 24) ** - * @return the hours list + *
repeated int64 hours = 2 [packed = true];
+ *
+ * @return A list containing the hours.
*/
+ @java.lang.Override
public java.util.Listrepeated int64 hours = 2 [packed = true];
- *
* * hour activity array (length 24) ** - * @return the size of the hours list + *
repeated int64 hours = 2 [packed = true];
+ *
+ * @return The count of hours.
*/
public int getHoursCount() {
return hours_.size();
}
/**
- * repeated int64 hours = 2 [packed = true];
- *
* * hour activity array (length 24) ** - * @param index - * the index + *
repeated int64 hours = 2 [packed = true];
*
- * @return the hours at the index
+ * @param index
+ * The index of the element to return.
+ * @return The hours at the given index.
*/
public long getHours(int index) {
- return hours_.get(index);
+ return hours_.getLong(index);
}
private int hoursMemoizedSerializedSize = -1;
public static final int DURATION_FIELD_NUMBER = 3;
- private java.util.Listrepeated int64 duration = 3 [packed = true];
- *
* * protobuf says that repeated order will be preserved * packed means it won't appear in serialized data * that doesn't contain any hours fields. ** - * @return the duration list + *
repeated int64 duration = 3 [packed = true];
+ *
+ * @return A list containing the duration.
*/
+ @java.lang.Override
public java.util.Listrepeated int64 duration = 3 [packed = true];
- *
* * protobuf says that repeated order will be preserved * packed means it won't appear in serialized data * that doesn't contain any hours fields. ** - * @return the duration count + *
repeated int64 duration = 3 [packed = true];
+ *
+ * @return The count of duration.
*/
public int getDurationCount() {
return duration_.size();
}
/**
- * repeated int64 duration = 3 [packed = true];
- *
* * protobuf says that repeated order will be preserved * packed means it won't appear in serialized data * that doesn't contain any hours fields. ** - * @param index - * the index + *
repeated int64 duration = 3 [packed = true];
*
- * @return the duration at the index
+ * @param index
+ * The index of the element to return.
+ * @return The duration at the given index.
*/
public long getDuration(int index) {
- return duration_.get(index);
+ return duration_.getLong(index);
}
private int durationMemoizedSerializedSize = -1;
@@ -1140,48 +997,52 @@ public long getDuration(int index) {
private int hourBitmask_;
/**
- * optional int32 hourBitmask = 4;
- *
* * Bitmask for tracking edge creation by the hour. ** - * @return if there is an hour bitmask + *
int32 hourBitmask = 4;
+ *
+ * @return Whether the hourBitmask field is set.
*/
+ @java.lang.Override
public boolean hasHourBitmask() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
- * optional int32 hourBitmask = 4;
- *
* * Bitmask for tracking edge creation by the hour. ** - * @return the hour bitmask + *
int32 hourBitmask = 4;
+ *
+ * @return The hourBitmask.
*/
+ @java.lang.Override
public int getHourBitmask() {
return hourBitmask_;
}
public static final int SOURCEVALUE_FIELD_NUMBER = 5;
- private java.lang.Object sourceValue_;
+ private volatile java.lang.Object sourceValue_;
/**
- * optional string sourceValue = 5;
+ * string sourceValue = 5;
*
- * @return if there is a source value
+ * @return Whether the sourceValue field is set.
*/
+ @java.lang.Override
public boolean hasSourceValue() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
- * optional string sourceValue = 5;
+ * string sourceValue = 5;
*
- * @return the source value
+ * @return The sourceValue.
*/
+ @java.lang.Override
public java.lang.String getSourceValue() {
java.lang.Object ref = sourceValue_;
if (ref instanceof java.lang.String) {
@@ -1189,18 +1050,17 @@ public java.lang.String getSourceValue() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- sourceValue_ = s;
- }
+ sourceValue_ = s;
return s;
}
}
/**
- * optional string sourceValue = 5;
+ * string sourceValue = 5;
*
- * @return the source value byte string
+ * @return The bytes for sourceValue.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getSourceValueBytes() {
java.lang.Object ref = sourceValue_;
if (ref instanceof java.lang.String) {
@@ -1213,22 +1073,24 @@ public com.google.protobuf.ByteString getSourceValueBytes() {
}
public static final int SINKVALUE_FIELD_NUMBER = 6;
- private java.lang.Object sinkValue_;
+ private volatile java.lang.Object sinkValue_;
/**
- * optional string sinkValue = 6;
+ * string sinkValue = 6;
*
- * @return if it has sink value
+ * @return Whether the sinkValue field is set.
*/
+ @java.lang.Override
public boolean hasSinkValue() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
- * optional string sinkValue = 6;
+ * string sinkValue = 6;
*
- * @return the sink value
+ * @return The sinkValue.
*/
+ @java.lang.Override
public java.lang.String getSinkValue() {
java.lang.Object ref = sinkValue_;
if (ref instanceof java.lang.String) {
@@ -1236,18 +1098,17 @@ public java.lang.String getSinkValue() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- sinkValue_ = s;
- }
+ sinkValue_ = s;
return s;
}
}
/**
- * optional string sinkValue = 6;
+ * string sinkValue = 6;
*
- * @return the sink value byte string
+ * @return The bytes for sinkValue.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getSinkValueBytes() {
java.lang.Object ref = sinkValue_;
if (ref instanceof java.lang.String) {
@@ -1260,22 +1121,24 @@ public com.google.protobuf.ByteString getSinkValueBytes() {
}
public static final int LOADDATE_FIELD_NUMBER = 7;
- private java.lang.Object loadDate_;
+ private volatile java.lang.Object loadDate_;
/**
- * optional string loadDate = 7;
+ * string loadDate = 7;
*
- * @return if there is a load date
+ * @return Whether the loadDate field is set.
*/
+ @java.lang.Override
public boolean hasLoadDate() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
- * optional string loadDate = 7;
+ * string loadDate = 7;
*
- * @return the load date
+ * @return The loadDate.
*/
+ @java.lang.Override
public java.lang.String getLoadDate() {
java.lang.Object ref = loadDate_;
if (ref instanceof java.lang.String) {
@@ -1283,18 +1146,17 @@ public java.lang.String getLoadDate() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- loadDate_ = s;
- }
+ loadDate_ = s;
return s;
}
}
/**
- * optional string loadDate = 7;
+ * string loadDate = 7;
*
- * @return the load date byte string
+ * @return The bytes for loadDate.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getLoadDateBytes() {
java.lang.Object ref = loadDate_;
if (ref instanceof java.lang.String) {
@@ -1310,19 +1172,21 @@ public com.google.protobuf.ByteString getLoadDateBytes() {
private boolean badActivity_;
/**
- * optional bool badActivity = 8;
+ * bool badActivity = 8;
*
- * @return if there is bad activity
+ * @return Whether the badActivity field is set.
*/
+ @java.lang.Override
public boolean hasBadActivity() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
- * optional bool badActivity = 8;
+ * bool badActivity = 8;
*
- * @return bad activity
+ * @return The badActivity.
*/
+ @java.lang.Override
public boolean getBadActivity() {
return badActivity_;
}
@@ -1331,69 +1195,72 @@ public boolean getBadActivity() {
private datawave.edge.protobuf.EdgeData.EdgeValue.UUID uuid_;
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @return if it has uuid + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
+ *
+ * @return Whether the uuid field is set.
*/
+ @java.lang.Override
public boolean hasUuid() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @return the uuid + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
+ *
+ * @return The uuid.
*/
+ @java.lang.Override
public datawave.edge.protobuf.EdgeData.EdgeValue.UUID getUuid() {
- return uuid_;
+ return uuid_ == null ? datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance() : uuid_;
}
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @return the uuid or builder + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
*/
+ @java.lang.Override
public datawave.edge.protobuf.EdgeData.EdgeValue.UUIDOrBuilder getUuidOrBuilder() {
- return uuid_;
+ return uuid_ == null ? datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance() : uuid_;
}
public static final int UUID_STRING_FIELD_NUMBER = 10;
- private java.lang.Object uuidString_;
+ private volatile java.lang.Object uuidString_;
/**
- * optional string uuid_string = 10;
- *
* * a single uuid of an event that contributed to the edge in string format ** - * @return if there is uuid + *
string uuid_string = 10;
+ *
+ * @return Whether the uuidString field is set.
*/
+ @java.lang.Override
public boolean hasUuidString() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
- * optional string uuid_string = 10;
- *
* * a single uuid of an event that contributed to the edge in string format ** - * @return the uuid string + *
string uuid_string = 10;
+ *
+ * @return The uuidString.
*/
+ @java.lang.Override
public java.lang.String getUuidString() {
java.lang.Object ref = uuidString_;
if (ref instanceof java.lang.String) {
@@ -1401,22 +1268,21 @@ public java.lang.String getUuidString() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- uuidString_ = s;
- }
+ uuidString_ = s;
return s;
}
}
/**
- * optional string uuid_string = 10;
- *
* * a single uuid of an event that contributed to the edge in string format ** - * @return uuid byte string + *
string uuid_string = 10;
+ *
+ * @return The bytes for uuidString.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getUuidStringBytes() {
java.lang.Object ref = uuidString_;
if (ref instanceof java.lang.String) {
@@ -1428,21 +1294,9 @@ public com.google.protobuf.ByteString getUuidStringBytes() {
}
}
- private void initFields() {
- count_ = 0L;
- hours_ = java.util.Collections.emptyList();
- duration_ = java.util.Collections.emptyList();
- hourBitmask_ = 0;
- sourceValue_ = "";
- sinkValue_ = "";
- loadDate_ = "";
- badActivity_ = false;
- uuid_ = datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance();
- uuidString_ = "";
- }
-
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
@@ -1450,74 +1304,68 @@ public final boolean isInitialized() {
if (isInitialized == 0)
return false;
- if (hasUuid()) {
- if (!getUuid().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
memoizedIsInitialized = 1;
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(1, count_);
}
if (getHoursList().size() > 0) {
- output.writeRawVarint32(18);
- output.writeRawVarint32(hoursMemoizedSerializedSize);
+ output.writeUInt32NoTag(18);
+ output.writeUInt32NoTag(hoursMemoizedSerializedSize);
}
for (int i = 0; i < hours_.size(); i++) {
- output.writeInt64NoTag(hours_.get(i));
+ output.writeInt64NoTag(hours_.getLong(i));
}
if (getDurationList().size() > 0) {
- output.writeRawVarint32(26);
- output.writeRawVarint32(durationMemoizedSerializedSize);
+ output.writeUInt32NoTag(26);
+ output.writeUInt32NoTag(durationMemoizedSerializedSize);
}
for (int i = 0; i < duration_.size(); i++) {
- output.writeInt64NoTag(duration_.get(i));
+ output.writeInt64NoTag(duration_.getLong(i));
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt32(4, hourBitmask_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(5, getSourceValueBytes());
+ if (((bitField0_ & 0x00000004) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, sourceValue_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeBytes(6, getSinkValueBytes());
+ if (((bitField0_ & 0x00000008) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, sinkValue_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeBytes(7, getLoadDateBytes());
+ if (((bitField0_ & 0x00000010) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 7, loadDate_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
output.writeBool(8, badActivity_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- output.writeMessage(9, uuid_);
+ if (((bitField0_ & 0x00000040) != 0)) {
+ output.writeMessage(9, getUuid());
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- output.writeBytes(10, getUuidStringBytes());
+ if (((bitField0_ & 0x00000080) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 10, uuidString_);
}
getUnknownFields().writeTo(output);
}
- private int memoizedSerializedSize = -1;
-
+ @java.lang.Override
public int getSerializedSize() {
- int size = memoizedSerializedSize;
+ int size = memoizedSize;
if (size != -1)
return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, count_);
}
{
int dataSize = 0;
for (int i = 0; i < hours_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(hours_.get(i));
+ dataSize += com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(hours_.getLong(i));
}
size += dataSize;
if (!getHoursList().isEmpty()) {
@@ -1529,7 +1377,7 @@ public int getSerializedSize() {
{
int dataSize = 0;
for (int i = 0; i < duration_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(duration_.get(i));
+ dataSize += com.google.protobuf.CodedOutputStream.computeInt64SizeNoTag(duration_.getLong(i));
}
size += dataSize;
if (!getDurationList().isEmpty()) {
@@ -1538,37 +1386,158 @@ public int getSerializedSize() {
}
durationMemoizedSerializedSize = dataSize;
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, hourBitmask_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, getSourceValueBytes());
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, sourceValue_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, getSinkValueBytes());
+ if (((bitField0_ & 0x00000008) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, sinkValue_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(7, getLoadDateBytes());
+ if (((bitField0_ & 0x00000010) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, loadDate_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, badActivity_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, uuid_);
+ if (((bitField0_ & 0x00000040) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, getUuid());
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(10, getUuidStringBytes());
+ if (((bitField0_ & 0x00000080) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, uuidString_);
}
size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
+ memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.edge.protobuf.EdgeData.EdgeValue)) {
+ return super.equals(obj);
+ }
+ datawave.edge.protobuf.EdgeData.EdgeValue other = (datawave.edge.protobuf.EdgeData.EdgeValue) obj;
+
+ if (hasCount() != other.hasCount())
+ return false;
+ if (hasCount()) {
+ if (getCount() != other.getCount())
+ return false;
+ }
+ if (!getHoursList().equals(other.getHoursList()))
+ return false;
+ if (!getDurationList().equals(other.getDurationList()))
+ return false;
+ if (hasHourBitmask() != other.hasHourBitmask())
+ return false;
+ if (hasHourBitmask()) {
+ if (getHourBitmask() != other.getHourBitmask())
+ return false;
+ }
+ if (hasSourceValue() != other.hasSourceValue())
+ return false;
+ if (hasSourceValue()) {
+ if (!getSourceValue().equals(other.getSourceValue()))
+ return false;
+ }
+ if (hasSinkValue() != other.hasSinkValue())
+ return false;
+ if (hasSinkValue()) {
+ if (!getSinkValue().equals(other.getSinkValue()))
+ return false;
+ }
+ if (hasLoadDate() != other.hasLoadDate())
+ return false;
+ if (hasLoadDate()) {
+ if (!getLoadDate().equals(other.getLoadDate()))
+ return false;
+ }
+ if (hasBadActivity() != other.hasBadActivity())
+ return false;
+ if (hasBadActivity()) {
+ if (getBadActivity() != other.getBadActivity())
+ return false;
+ }
+ if (hasUuid() != other.hasUuid())
+ return false;
+ if (hasUuid()) {
+ if (!getUuid().equals(other.getUuid()))
+ return false;
+ }
+ if (hasUuidString() != other.hasUuidString())
+ return false;
+ if (hasUuidString()) {
+ if (!getUuidString().equals(other.getUuidString()))
+ return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasCount()) {
+ hash = (37 * hash) + COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCount());
+ }
+ if (getHoursCount() > 0) {
+ hash = (37 * hash) + HOURS_FIELD_NUMBER;
+ hash = (53 * hash) + getHoursList().hashCode();
+ }
+ if (getDurationCount() > 0) {
+ hash = (37 * hash) + DURATION_FIELD_NUMBER;
+ hash = (53 * hash) + getDurationList().hashCode();
+ }
+ if (hasHourBitmask()) {
+ hash = (37 * hash) + HOURBITMASK_FIELD_NUMBER;
+ hash = (53 * hash) + getHourBitmask();
+ }
+ if (hasSourceValue()) {
+ hash = (37 * hash) + SOURCEVALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getSourceValue().hashCode();
+ }
+ if (hasSinkValue()) {
+ hash = (37 * hash) + SINKVALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getSinkValue().hashCode();
+ }
+ if (hasLoadDate()) {
+ hash = (37 * hash) + LOADDATE_FIELD_NUMBER;
+ hash = (53 * hash) + getLoadDate().hashCode();
+ }
+ if (hasBadActivity()) {
+ hash = (37 * hash) + BADACTIVITY_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getBadActivity());
+ }
+ if (hasUuid()) {
+ hash = (37 * hash) + UUID_FIELD_NUMBER;
+ hash = (53 * hash) + getUuid().hashCode();
+ }
+ if (hasUuidString()) {
+ hash = (37 * hash) + UUID_STRING_FIELD_NUMBER;
+ hash = (53 * hash) + getUuidString().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.edge.protobuf.EdgeData.EdgeValue parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
- @java.lang.Override
- protected java.lang.Object writeReplace() throws java.io.ObjectStreamException {
- return super.writeReplace();
+ public static datawave.edge.protobuf.EdgeData.EdgeValue parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static datawave.edge.protobuf.EdgeData.EdgeValue parseFrom(com.google.protobuf.ByteString data)
@@ -1591,69 +1560,72 @@ public static datawave.edge.protobuf.EdgeData.EdgeValue parseFrom(byte[] data, c
}
public static datawave.edge.protobuf.EdgeData.EdgeValue parseFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.edge.protobuf.EdgeData.EdgeValue parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.edge.protobuf.EdgeData.EdgeValue parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static datawave.edge.protobuf.EdgeData.EdgeValue parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.edge.protobuf.EdgeData.EdgeValue parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.edge.protobuf.EdgeData.EdgeValue 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();
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
public static Builder newBuilder(datawave.edge.protobuf.EdgeData.EdgeValue prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
- return newBuilder(this);
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
- * Protobuf type {@code datawave.edge.protobuf.EdgeValue}
- *
* * Used for the Accumulo Value bytes for Edge Table and edge Metadata Table entries *+ * + * Protobuf type {@code datawave.edge.protobuf.EdgeValue} */ - public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
optional int64 count = 1;
- *
* * edge table count ** - * @return if it has a count + *
int64 count = 1;
+ *
+ * @return Whether the count field is set.
*/
+ @java.lang.Override
public boolean hasCount() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * optional int64 count = 1;
- *
* * edge table count ** - * @return the count + *
int64 count = 1;
+ *
+ * @return The count.
*/
+ @java.lang.Override
public long getCount() {
return count_;
}
/**
- * optional int64 count = 1;
- *
* * edge table count ** - * @param value - * the count + *
int64 count = 1;
*
- * @return a builder to set the count
+ * @param value
+ * The count to set.
+ * @return This builder for chaining.
*/
public Builder setCount(long value) {
bitField0_ |= 0x00000001;
@@ -1926,13 +2009,13 @@ public Builder setCount(long value) {
}
/**
- * optional int64 count = 1;
- *
* * edge table count ** - * @return a builder to clear the count + *
int64 count = 1;
+ *
+ * @return This builder for chaining.
*/
public Builder clearCount() {
bitField0_ = (bitField0_ & ~0x00000001);
@@ -1941,108 +2024,104 @@ public Builder clearCount() {
return this;
}
- private java.util.Listrepeated int64 hours = 2 [packed = true];
- *
* * hour activity array (length 24) ** - * @return the hours list + *
repeated int64 hours = 2 [packed = true];
+ *
+ * @return A list containing the hours.
*/
public java.util.Listrepeated int64 hours = 2 [packed = true];
- *
* * hour activity array (length 24) ** - * @return the size of the hours list + *
repeated int64 hours = 2 [packed = true];
+ *
+ * @return The count of hours.
*/
public int getHoursCount() {
return hours_.size();
}
/**
- * repeated int64 hours = 2 [packed = true];
- *
* * hour activity array (length 24) ** - * @param index - * the index + *
repeated int64 hours = 2 [packed = true];
*
- * @return the hours at the index
+ * @param index
+ * The index of the element to return.
+ * @return The hours at the given index.
*/
public long getHours(int index) {
- return hours_.get(index);
+ return hours_.getLong(index);
}
/**
- * repeated int64 hours = 2 [packed = true];
- *
* * hour activity array (length 24) ** + *
repeated int64 hours = 2 [packed = true];
+ *
* @param index
- * the index
+ * The index to set the value at.
* @param value
- * the value
- *
- * @return builder to set the hours a the provided index to the value provided
+ * The hours to set.
+ * @return This builder for chaining.
*/
public Builder setHours(int index, long value) {
ensureHoursIsMutable();
- hours_.set(index, value);
+ hours_.setLong(index, value);
onChanged();
return this;
}
/**
- * repeated int64 hours = 2 [packed = true];
- *
* * hour activity array (length 24) ** - * @param value - * the hours to add to the list + *
repeated int64 hours = 2 [packed = true];
*
- * @return builder to add the hours to the list
+ * @param value
+ * The hours to add.
+ * @return This builder for chaining.
*/
public Builder addHours(long value) {
ensureHoursIsMutable();
- hours_.add(value);
+ hours_.addLong(value);
onChanged();
return this;
}
/**
- * repeated int64 hours = 2 [packed = true];
- *
* * hour activity array (length 24) ** - * @param values - * the values to add + *
repeated int64 hours = 2 [packed = true];
*
- * @return builder to add all the hours from the values parameter
+ * @param values
+ * The hours to add.
+ * @return This builder for chaining.
*/
public Builder addAllHours(java.lang.Iterable extends java.lang.Long> values) {
ensureHoursIsMutable();
@@ -2052,135 +2131,131 @@ public Builder addAllHours(java.lang.Iterable extends java.lang.Long> values)
}
/**
- * repeated int64 hours = 2 [packed = true];
- *
* * hour activity array (length 24) ** - * @return builder to clear hours + *
repeated int64 hours = 2 [packed = true];
+ *
+ * @return This builder for chaining.
*/
public Builder clearHours() {
- hours_ = java.util.Collections.emptyList();
+ hours_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
- private java.util.Listrepeated int64 duration = 3 [packed = true];
- *
* * protobuf says that repeated order will be preserved * packed means it won't appear in serialized data * that doesn't contain any hours fields. ** - * @return the duration list + *
repeated int64 duration = 3 [packed = true];
+ *
+ * @return A list containing the duration.
*/
public java.util.Listrepeated int64 duration = 3 [packed = true];
- *
* * protobuf says that repeated order will be preserved * packed means it won't appear in serialized data * that doesn't contain any hours fields. ** - * @return the duration list size + *
repeated int64 duration = 3 [packed = true];
+ *
+ * @return The count of duration.
*/
public int getDurationCount() {
return duration_.size();
}
/**
- * repeated int64 duration = 3 [packed = true];
- *
* * protobuf says that repeated order will be preserved * packed means it won't appear in serialized data * that doesn't contain any hours fields. ** - * @param index - * the index + *
repeated int64 duration = 3 [packed = true];
*
- * @return the duration at the index provided
+ * @param index
+ * The index of the element to return.
+ * @return The duration at the given index.
*/
public long getDuration(int index) {
- return duration_.get(index);
+ return duration_.getLong(index);
}
/**
- * repeated int64 duration = 3 [packed = true];
- *
* * protobuf says that repeated order will be preserved * packed means it won't appear in serialized data * that doesn't contain any hours fields. ** + *
repeated int64 duration = 3 [packed = true];
+ *
* @param index
- * the index
+ * The index to set the value at.
* @param value
- * the value
- *
- * @return builder to set the duration to a value for provided index
+ * The duration to set.
+ * @return This builder for chaining.
*/
public Builder setDuration(int index, long value) {
ensureDurationIsMutable();
- duration_.set(index, value);
+ duration_.setLong(index, value);
onChanged();
return this;
}
/**
- * repeated int64 duration = 3 [packed = true];
- *
* * protobuf says that repeated order will be preserved * packed means it won't appear in serialized data * that doesn't contain any hours fields. ** - * @param value - * the value + *
repeated int64 duration = 3 [packed = true];
*
- * @return builder to add a duration to the list
+ * @param value
+ * The duration to add.
+ * @return This builder for chaining.
*/
public Builder addDuration(long value) {
ensureDurationIsMutable();
- duration_.add(value);
+ duration_.addLong(value);
onChanged();
return this;
}
/**
- * repeated int64 duration = 3 [packed = true];
- *
* * protobuf says that repeated order will be preserved * packed means it won't appear in serialized data * that doesn't contain any hours fields. ** - * @param values - * iterator of duration values to add + *
repeated int64 duration = 3 [packed = true];
*
- * @return builder to add durations from values passed in
+ * @param values
+ * The duration to add.
+ * @return This builder for chaining.
*/
public Builder addAllDuration(java.lang.Iterable extends java.lang.Long> values) {
ensureDurationIsMutable();
@@ -2190,18 +2265,18 @@ public Builder addAllDuration(java.lang.Iterable extends java.lang.Long> value
}
/**
- * repeated int64 duration = 3 [packed = true];
- *
* * protobuf says that repeated order will be preserved * packed means it won't appear in serialized data * that doesn't contain any hours fields. ** - * @return builder to clear durations + *
repeated int64 duration = 3 [packed = true];
+ *
+ * @return This builder for chaining.
*/
public Builder clearDuration() {
- duration_ = java.util.Collections.emptyList();
+ duration_ = emptyLongList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
@@ -2210,42 +2285,43 @@ public Builder clearDuration() {
private int hourBitmask_;
/**
- * optional int32 hourBitmask = 4;
- *
* * Bitmask for tracking edge creation by the hour. ** - * @return if it has hour bitmask + *
int32 hourBitmask = 4;
+ *
+ * @return Whether the hourBitmask field is set.
*/
+ @java.lang.Override
public boolean hasHourBitmask() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
- * optional int32 hourBitmask = 4;
- *
* * Bitmask for tracking edge creation by the hour. ** - * @return the hour bitmask + *
int32 hourBitmask = 4;
+ *
+ * @return The hourBitmask.
*/
+ @java.lang.Override
public int getHourBitmask() {
return hourBitmask_;
}
/**
- * optional int32 hourBitmask = 4;
- *
* * Bitmask for tracking edge creation by the hour. ** - * @param value - * the value + *
int32 hourBitmask = 4;
*
- * @return builder to set hour bitmask
+ * @param value
+ * The hourBitmask to set.
+ * @return This builder for chaining.
*/
public Builder setHourBitmask(int value) {
bitField0_ |= 0x00000008;
@@ -2255,13 +2331,13 @@ public Builder setHourBitmask(int value) {
}
/**
- * optional int32 hourBitmask = 4;
- *
* * Bitmask for tracking edge creation by the hour. ** - * @return builder to clear hour bitmask + *
int32 hourBitmask = 4;
+ *
+ * @return This builder for chaining.
*/
public Builder clearHourBitmask() {
bitField0_ = (bitField0_ & ~0x00000008);
@@ -2273,27 +2349,25 @@ public Builder clearHourBitmask() {
private java.lang.Object sourceValue_ = "";
/**
- * optional string sourceValue = 5;
+ * string sourceValue = 5;
*
- * @return if it has source value
+ * @return Whether the sourceValue field is set.
*/
public boolean hasSourceValue() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
- * optional string sourceValue = 5;
+ * string sourceValue = 5;
*
- * @return the source value
+ * @return The sourceValue.
*/
public java.lang.String getSourceValue() {
java.lang.Object ref = sourceValue_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- sourceValue_ = s;
- }
+ sourceValue_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -2301,9 +2375,9 @@ public java.lang.String getSourceValue() {
}
/**
- * optional string sourceValue = 5;
+ * string sourceValue = 5;
*
- * @return source value byte string
+ * @return The bytes for sourceValue.
*/
public com.google.protobuf.ByteString getSourceValueBytes() {
java.lang.Object ref = sourceValue_;
@@ -2317,12 +2391,11 @@ public com.google.protobuf.ByteString getSourceValueBytes() {
}
/**
- * optional string sourceValue = 5;
+ * string sourceValue = 5;
*
* @param value
- * the new source value
- *
- * @return builder to set the source value
+ * The sourceValue to set.
+ * @return This builder for chaining.
*/
public Builder setSourceValue(java.lang.String value) {
if (value == null) {
@@ -2335,9 +2408,9 @@ public Builder setSourceValue(java.lang.String value) {
}
/**
- * optional string sourceValue = 5;
+ * string sourceValue = 5;
*
- * @return builder to clear source value
+ * @return This builder for chaining.
*/
public Builder clearSourceValue() {
bitField0_ = (bitField0_ & ~0x00000010);
@@ -2347,17 +2420,17 @@ public Builder clearSourceValue() {
}
/**
- * optional string sourceValue = 5;
+ * string sourceValue = 5;
*
* @param value
- * to set source value to
- *
- * @return builder to set source value to parameter passed in
+ * The bytes for sourceValue to set.
+ * @return This builder for chaining.
*/
public Builder setSourceValueBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
+ checkByteStringIsUtf8(value);
bitField0_ |= 0x00000010;
sourceValue_ = value;
onChanged();
@@ -2367,27 +2440,25 @@ public Builder setSourceValueBytes(com.google.protobuf.ByteString value) {
private java.lang.Object sinkValue_ = "";
/**
- * optional string sinkValue = 6;
+ * string sinkValue = 6;
*
- * @return if there is a sink value
+ * @return Whether the sinkValue field is set.
*/
public boolean hasSinkValue() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
- * optional string sinkValue = 6;
+ * string sinkValue = 6;
*
- * @return the sink value
+ * @return The sinkValue.
*/
public java.lang.String getSinkValue() {
java.lang.Object ref = sinkValue_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- sinkValue_ = s;
- }
+ sinkValue_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -2395,9 +2466,9 @@ public java.lang.String getSinkValue() {
}
/**
- * optional string sinkValue = 6;
+ * string sinkValue = 6;
*
- * @return the sink value byte string
+ * @return The bytes for sinkValue.
*/
public com.google.protobuf.ByteString getSinkValueBytes() {
java.lang.Object ref = sinkValue_;
@@ -2411,12 +2482,11 @@ public com.google.protobuf.ByteString getSinkValueBytes() {
}
/**
- * optional string sinkValue = 6;
+ * string sinkValue = 6;
*
* @param value
- * the new sink value
- *
- * @return builder to set sink value
+ * The sinkValue to set.
+ * @return This builder for chaining.
*/
public Builder setSinkValue(java.lang.String value) {
if (value == null) {
@@ -2429,9 +2499,9 @@ public Builder setSinkValue(java.lang.String value) {
}
/**
- * optional string sinkValue = 6;
+ * string sinkValue = 6;
*
- * @return builder to clear sink value
+ * @return This builder for chaining.
*/
public Builder clearSinkValue() {
bitField0_ = (bitField0_ & ~0x00000020);
@@ -2441,17 +2511,17 @@ public Builder clearSinkValue() {
}
/**
- * optional string sinkValue = 6;
+ * string sinkValue = 6;
*
* @param value
- * new sink value
- *
- * @return builder to set sink value to passed in parameter
+ * The bytes for sinkValue to set.
+ * @return This builder for chaining.
*/
public Builder setSinkValueBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
+ checkByteStringIsUtf8(value);
bitField0_ |= 0x00000020;
sinkValue_ = value;
onChanged();
@@ -2461,27 +2531,25 @@ public Builder setSinkValueBytes(com.google.protobuf.ByteString value) {
private java.lang.Object loadDate_ = "";
/**
- * optional string loadDate = 7;
+ * string loadDate = 7;
*
- * @return if it has load date
+ * @return Whether the loadDate field is set.
*/
public boolean hasLoadDate() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
- * optional string loadDate = 7;
+ * string loadDate = 7;
*
- * @return load date
+ * @return The loadDate.
*/
public java.lang.String getLoadDate() {
java.lang.Object ref = loadDate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- loadDate_ = s;
- }
+ loadDate_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -2489,9 +2557,9 @@ public java.lang.String getLoadDate() {
}
/**
- * optional string loadDate = 7;
+ * string loadDate = 7;
*
- * @return load date byte string
+ * @return The bytes for loadDate.
*/
public com.google.protobuf.ByteString getLoadDateBytes() {
java.lang.Object ref = loadDate_;
@@ -2505,12 +2573,11 @@ public com.google.protobuf.ByteString getLoadDateBytes() {
}
/**
- * optional string loadDate = 7;
+ * string loadDate = 7;
*
* @param value
- * the new load date
- *
- * @return builder to set load date to passed in parameter
+ * The loadDate to set.
+ * @return This builder for chaining.
*/
public Builder setLoadDate(java.lang.String value) {
if (value == null) {
@@ -2523,9 +2590,9 @@ public Builder setLoadDate(java.lang.String value) {
}
/**
- * optional string loadDate = 7;
+ * string loadDate = 7;
*
- * @return builder to clear the load date
+ * @return This builder for chaining.
*/
public Builder clearLoadDate() {
bitField0_ = (bitField0_ & ~0x00000040);
@@ -2535,17 +2602,17 @@ public Builder clearLoadDate() {
}
/**
- * optional string loadDate = 7;
+ * string loadDate = 7;
*
* @param value
- * the new load date value
- *
- * @return builder to set the load date to the passed in parameter
+ * The bytes for loadDate to set.
+ * @return This builder for chaining.
*/
public Builder setLoadDateBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
+ checkByteStringIsUtf8(value);
bitField0_ |= 0x00000040;
loadDate_ = value;
onChanged();
@@ -2555,30 +2622,31 @@ public Builder setLoadDateBytes(com.google.protobuf.ByteString value) {
private boolean badActivity_;
/**
- * optional bool badActivity = 8;
+ * bool badActivity = 8;
*
- * @return if it has bad activity
+ * @return Whether the badActivity field is set.
*/
+ @java.lang.Override
public boolean hasBadActivity() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
- * optional bool badActivity = 8;
+ * bool badActivity = 8;
*
- * @return bad activity indicator
+ * @return The badActivity.
*/
+ @java.lang.Override
public boolean getBadActivity() {
return badActivity_;
}
/**
- * optional bool badActivity = 8;
+ * bool badActivity = 8;
*
* @param value
- * bad activity flag
- *
- * @return builder to set bad activity to passed in paramter
+ * The badActivity to set.
+ * @return This builder for chaining.
*/
public Builder setBadActivity(boolean value) {
bitField0_ |= 0x00000080;
@@ -2588,9 +2656,9 @@ public Builder setBadActivity(boolean value) {
}
/**
- * optional bool badActivity = 8;
+ * bool badActivity = 8;
*
- * @return builder to clear bad activity indicator
+ * @return This builder for chaining.
*/
public Builder clearBadActivity() {
bitField0_ = (bitField0_ & ~0x00000080);
@@ -2599,50 +2667,45 @@ public Builder clearBadActivity() {
return this;
}
- private datawave.edge.protobuf.EdgeData.EdgeValue.UUID uuid_ = datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance();
- private com.google.protobuf.SingleFieldBuilderoptional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @return if it has uuid + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
+ *
+ * @return Whether the uuid field is set.
*/
public boolean hasUuid() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000100) != 0);
}
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @return the uuid + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
+ *
+ * @return The uuid.
*/
public datawave.edge.protobuf.EdgeData.EdgeValue.UUID getUuid() {
if (uuidBuilder_ == null) {
- return uuid_;
+ return uuid_ == null ? datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance() : uuid_;
} else {
return uuidBuilder_.getMessage();
}
}
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @param value - * the new uuid - * - * @return builder to set the new uuid + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
*/
public Builder setUuid(datawave.edge.protobuf.EdgeData.EdgeValue.UUID value) {
if (uuidBuilder_ == null) {
@@ -2659,16 +2722,11 @@ public Builder setUuid(datawave.edge.protobuf.EdgeData.EdgeValue.UUID value) {
}
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @param builderForValue - * the new uuid - * - * @return builder to set uuid to new value + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
*/
public Builder setUuid(datawave.edge.protobuf.EdgeData.EdgeValue.UUID.Builder builderForValue) {
if (uuidBuilder_ == null) {
@@ -2682,20 +2740,15 @@ public Builder setUuid(datawave.edge.protobuf.EdgeData.EdgeValue.UUID.Builder bu
}
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @param value - * uuid to merge in - * - * @return builder to merge in new uuid + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
*/
public Builder mergeUuid(datawave.edge.protobuf.EdgeData.EdgeValue.UUID value) {
if (uuidBuilder_ == null) {
- if (((bitField0_ & 0x00000100) == 0x00000100) && uuid_ != datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance()) {
+ if (((bitField0_ & 0x00000100) != 0) && uuid_ != null && uuid_ != datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance()) {
uuid_ = datawave.edge.protobuf.EdgeData.EdgeValue.UUID.newBuilder(uuid_).mergeFrom(value).buildPartial();
} else {
uuid_ = value;
@@ -2709,17 +2762,15 @@ public Builder mergeUuid(datawave.edge.protobuf.EdgeData.EdgeValue.UUID value) {
}
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @return builder to clear uuid + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
*/
public Builder clearUuid() {
if (uuidBuilder_ == null) {
- uuid_ = datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance();
+ uuid_ = null;
onChanged();
} else {
uuidBuilder_.clear();
@@ -2729,13 +2780,11 @@ public Builder clearUuid() {
}
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @return builder to build uuid + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
*/
public datawave.edge.protobuf.EdgeData.EdgeValue.UUID.Builder getUuidBuilder() {
bitField0_ |= 0x00000100;
@@ -2744,34 +2793,30 @@ public datawave.edge.protobuf.EdgeData.EdgeValue.UUID.Builder getUuidBuilder() {
}
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @return uuidorbuilder + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
*/
public datawave.edge.protobuf.EdgeData.EdgeValue.UUIDOrBuilder getUuidOrBuilder() {
if (uuidBuilder_ != null) {
return uuidBuilder_.getMessageOrBuilder();
} else {
- return uuid_;
+ return uuid_ == null ? datawave.edge.protobuf.EdgeData.EdgeValue.UUID.getDefaultInstance() : uuid_;
}
}
/**
- * optional .datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
- *
* - * a single uuid of an event that contributed to the edge + *a single uuid of an event that contributed to the edge ** - * @return uuidfieldbuilder + *
.datawave.edge.protobuf.EdgeValue.UUID uuid = 9;
*/
- private com.google.protobuf.SingleFieldBuilder* a single uuid of an event that contributed to the edge in string format ** - * @return if it has uuid + *
string uuid_string = 10;
+ *
+ * @return Whether the uuidString field is set.
*/
public boolean hasUuidString() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000200) != 0);
}
/**
- * optional string uuid_string = 10;
- *
* * a single uuid of an event that contributed to the edge in string format ** - * @return uuid + *
string uuid_string = 10;
+ *
+ * @return The uuidString.
*/
public java.lang.String getUuidString() {
java.lang.Object ref = uuidString_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- uuidString_ = s;
- }
+ uuidString_ = s;
return s;
} else {
return (java.lang.String) ref;
@@ -2817,13 +2860,13 @@ public java.lang.String getUuidString() {
}
/**
- * optional string uuid_string = 10;
- *
* * a single uuid of an event that contributed to the edge in string format ** - * @return uuid byte string + *
string uuid_string = 10;
+ *
+ * @return The bytes for uuidString.
*/
public com.google.protobuf.ByteString getUuidStringBytes() {
java.lang.Object ref = uuidString_;
@@ -2837,16 +2880,15 @@ public com.google.protobuf.ByteString getUuidStringBytes() {
}
/**
- * optional string uuid_string = 10;
- *
* * a single uuid of an event that contributed to the edge in string format ** - * @param value - * new uuid + *
string uuid_string = 10;
*
- * @return builder to set uuid to passed in value
+ * @param value
+ * The uuidString to set.
+ * @return This builder for chaining.
*/
public Builder setUuidString(java.lang.String value) {
if (value == null) {
@@ -2859,13 +2901,13 @@ public Builder setUuidString(java.lang.String value) {
}
/**
- * optional string uuid_string = 10;
- *
* * a single uuid of an event that contributed to the edge in string format ** - * @return builder to clear uuid + *
string uuid_string = 10;
+ *
+ * @return This builder for chaining.
*/
public Builder clearUuidString() {
bitField0_ = (bitField0_ & ~0x00000200);
@@ -2875,42 +2917,88 @@ public Builder clearUuidString() {
}
/**
- * optional string uuid_string = 10;
- *
* * a single uuid of an event that contributed to the edge in string format ** - * @param value - * new uuid + *
string uuid_string = 10;
*
- * @return builder to set the uuid
+ * @param value
+ * The bytes for uuidString to set.
+ * @return This builder for chaining.
*/
public Builder setUuidStringBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
+ checkByteStringIsUtf8(value);
bitField0_ |= 0x00000200;
uuidString_ = value;
onChanged();
return this;
}
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
// @@protoc_insertion_point(builder_scope:datawave.edge.protobuf.EdgeValue)
}
+ // @@protoc_insertion_point(class_scope:datawave.edge.protobuf.EdgeValue)
+ private static final datawave.edge.protobuf.EdgeData.EdgeValue DEFAULT_INSTANCE;
static {
- defaultInstance = new EdgeValue(true);
- defaultInstance.initFields();
+ DEFAULT_INSTANCE = new datawave.edge.protobuf.EdgeData.EdgeValue();
+ }
+
+ public static datawave.edge.protobuf.EdgeData.EdgeValue getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserrepeated uint32 termOffset = 3;
*
- * @return list of term offsets
+ * @return A list containing the termOffset.
*/
java.util.Listrepeated uint32 termOffset = 3;
*
- * @return the number of term offsets in the list
+ * @return The count of termOffset.
*/
int getTermOffsetCount();
@@ -29,24 +34,22 @@ public interface InfoOrBuilder extends com.google.protobuf.MessageOrBuilder {
* repeated uint32 termOffset = 3;
*
* @param index
- * the index
- *
- * @return the term offset at the provided index
+ * The index of the element to return.
+ * @return The termOffset at the given index.
*/
int getTermOffset(int index);
- // repeated uint32 prevSkips = 4;
/**
* repeated uint32 prevSkips = 4;
*
- * @return list of previous skips
+ * @return A list containing the prevSkips.
*/
java.util.Listrepeated uint32 prevSkips = 4;
*
- * @return the prev skips count
+ * @return The count of prevSkips.
*/
int getPrevSkipsCount();
@@ -54,24 +57,22 @@ public interface InfoOrBuilder extends com.google.protobuf.MessageOrBuilder {
* repeated uint32 prevSkips = 4;
*
* @param index
- * the index
- *
- * @return the prev skip at the provided index
+ * The index of the element to return.
+ * @return The prevSkips at the given index.
*/
int getPrevSkips(int index);
- // repeated uint32 score = 5;
/**
* repeated uint32 score = 5;
*
- * @return list of scores
+ * @return A list containing the score.
*/
java.util.Listrepeated uint32 score = 5;
*
- * @return the number of scores in the list
+ * @return The count of score.
*/
int getScoreCount();
@@ -79,24 +80,22 @@ public interface InfoOrBuilder extends com.google.protobuf.MessageOrBuilder {
* repeated uint32 score = 5;
*
* @param index
- * the index
- *
- * @return the score at the provided index
+ * The index of the element to return.
+ * @return The score at the given index.
*/
int getScore(int index);
- // optional bool zeroOffsetMatch = 6 [default = true];
/**
- * optional bool zeroOffsetMatch = 6 [default = true];
+ * bool zeroOffsetMatch = 6;
*
- * @return if it has a zero offset
+ * @return Whether the zeroOffsetMatch field is set.
*/
boolean hasZeroOffsetMatch();
/**
- * optional bool zeroOffsetMatch = 6 [default = true];
+ * bool zeroOffsetMatch = 6;
*
- * @return the zero offset match
+ * @return The zeroOffsetMatch.
*/
boolean getZeroOffsetMatch();
}
@@ -104,173 +103,53 @@ public interface InfoOrBuilder extends com.google.protobuf.MessageOrBuilder {
/**
* Protobuf type {@code datawave.ingest.protobuf.Info}
*/
- public static final class Info extends com.google.protobuf.GeneratedMessage implements InfoOrBuilder {
+ public static final class Info extends com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:datawave.ingest.protobuf.Info)
+ InfoOrBuilder {
+ private static final long serialVersionUID = 0L;
+
// Use Info.newBuilder() to construct.
- private Info(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private Info(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
- this.unknownFields = builder.getUnknownFields();
}
- private Info(boolean noInit) {
- this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance();
- }
-
- private static final Info defaultInstance;
-
- public static Info getDefaultInstance() {
- return defaultInstance;
+ private Info() {
+ termOffset_ = emptyIntList();
+ prevSkips_ = emptyIntList();
+ score_ = emptyIntList();
}
- public Info getDefaultInstanceForType() {
- return defaultInstance;
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Info();
}
- private final com.google.protobuf.UnknownFieldSet unknownFields;
-
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
- private Info(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 24: {
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
- termOffset_ = new java.util.ArrayList<>();
- mutable_bitField0_ |= 0x00000001;
- }
- termOffset_.add(input.readUInt32());
- break;
- }
- case 26: {
- int length = input.readRawVarint32();
- int limit = input.pushLimit(length);
- if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
- termOffset_ = new java.util.ArrayList<>();
- mutable_bitField0_ |= 0x00000001;
- }
- while (input.getBytesUntilLimit() > 0) {
- termOffset_.add(input.readUInt32());
- }
- input.popLimit(limit);
- break;
- }
- case 32: {
- if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
- prevSkips_ = new java.util.ArrayList<>();
- mutable_bitField0_ |= 0x00000002;
- }
- prevSkips_.add(input.readUInt32());
- break;
- }
- case 34: {
- int length = input.readRawVarint32();
- int limit = input.pushLimit(length);
- if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) {
- prevSkips_ = new java.util.ArrayList<>();
- mutable_bitField0_ |= 0x00000002;
- }
- while (input.getBytesUntilLimit() > 0) {
- prevSkips_.add(input.readUInt32());
- }
- input.popLimit(limit);
- break;
- }
- case 40: {
- if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
- score_ = new java.util.ArrayList<>();
- mutable_bitField0_ |= 0x00000004;
- }
- score_.add(input.readUInt32());
- break;
- }
- case 42: {
- int length = input.readRawVarint32();
- int limit = input.pushLimit(length);
- if (!((mutable_bitField0_ & 0x00000004) == 0x00000004) && input.getBytesUntilLimit() > 0) {
- score_ = new java.util.ArrayList<>();
- mutable_bitField0_ |= 0x00000004;
- }
- while (input.getBytesUntilLimit() > 0) {
- score_.add(input.readUInt32());
- }
- input.popLimit(limit);
- break;
- }
- case 48: {
- bitField0_ |= 0x00000001;
- zeroOffsetMatch_ = input.readBool();
- 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_ & 0x00000001) == 0x00000001)) {
- termOffset_ = java.util.Collections.unmodifiableList(termOffset_);
- }
- if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
- prevSkips_ = java.util.Collections.unmodifiableList(prevSkips_);
- }
- if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
- score_ = java.util.Collections.unmodifiableList(score_);
- }
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return datawave.ingest.protobuf.TermWeight.internal_static_datawave_ingest_protobuf_Info_descriptor;
}
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() {
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return datawave.ingest.protobuf.TermWeight.internal_static_datawave_ingest_protobuf_Info_fieldAccessorTable.ensureFieldAccessorsInitialized(
datawave.ingest.protobuf.TermWeight.Info.class, datawave.ingest.protobuf.TermWeight.Info.Builder.class);
}
- public static com.google.protobuf.Parserrepeated uint32 termOffset = 3;
*
- * @return list of term offsets
+ * @return A list containing the termOffset.
*/
+ @java.lang.Override
public java.util.Listrepeated uint32 termOffset = 3;
*
- * @return the term offset count
+ * @return The count of termOffset.
*/
public int getTermOffsetCount() {
return termOffset_.size();
@@ -288,23 +167,24 @@ public int getTermOffsetCount() {
* repeated uint32 termOffset = 3;
*
* @param index
- * the index
- *
- * @return the term offset at the provided index
+ * The index of the element to return.
+ * @return The termOffset at the given index.
*/
public int getTermOffset(int index) {
- return termOffset_.get(index);
+ return termOffset_.getInt(index);
}
- // repeated uint32 prevSkips = 4;
+ private int termOffsetMemoizedSerializedSize = -1;
+
public static final int PREVSKIPS_FIELD_NUMBER = 4;
- private java.util.Listrepeated uint32 prevSkips = 4;
*
- * @return the prev skips list
+ * @return A list containing the prevSkips.
*/
+ @java.lang.Override
public java.util.Listrepeated uint32 prevSkips = 4;
*
- * @return the prev scips count
+ * @return The count of prevSkips.
*/
public int getPrevSkipsCount() {
return prevSkips_.size();
@@ -322,21 +202,24 @@ public int getPrevSkipsCount() {
* repeated uint32 prevSkips = 4;
*
* @param index
- * the index
- *
- * @return the prev skip at the provided index
+ * The index of the element to return.
+ * @return The prevSkips at the given index.
*/
public int getPrevSkips(int index) {
- return prevSkips_.get(index);
+ return prevSkips_.getInt(index);
}
- // repeated uint32 score = 5;
+ private int prevSkipsMemoizedSerializedSize = -1;
+
public static final int SCORE_FIELD_NUMBER = 5;
- private java.util.Listrepeated uint32 score = 5;
+ *
+ * @return A list containing the score.
*/
+ @java.lang.Override
public java.util.Listrepeated uint32 score = 5;
*
- * @return the size of the score list
+ * @return The count of score.
*/
public int getScoreCount() {
return score_.size();
@@ -354,75 +237,85 @@ public int getScoreCount() {
* repeated uint32 score = 5;
*
* @param index
- * the index
- *
- * @return the score at the provided index
+ * The index of the element to return.
+ * @return The score at the given index.
*/
public int getScore(int index) {
- return score_.get(index);
+ return score_.getInt(index);
}
- // optional bool zeroOffsetMatch = 6 [default = true];
+ private int scoreMemoizedSerializedSize = -1;
+
public static final int ZEROOFFSETMATCH_FIELD_NUMBER = 6;
private boolean zeroOffsetMatch_;
/**
- * optional bool zeroOffsetMatch = 6 [default = true];
+ * bool zeroOffsetMatch = 6;
*
- * @return if it has a zero offset
+ * @return Whether the zeroOffsetMatch field is set.
*/
+ @java.lang.Override
public boolean hasZeroOffsetMatch() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * optional bool zeroOffsetMatch = 6 [default = true];
+ * bool zeroOffsetMatch = 6;
*
- * @return the zero offset match
+ * @return The zeroOffsetMatch.
*/
+ @java.lang.Override
public boolean getZeroOffsetMatch() {
return zeroOffsetMatch_;
}
- private void initFields() {
- termOffset_ = java.util.Collections.emptyList();
- prevSkips_ = java.util.Collections.emptyList();
- score_ = java.util.Collections.emptyList();
- zeroOffsetMatch_ = true;
- }
-
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1)
- return isInitialized == 1;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
+ return false;
memoizedIsInitialized = 1;
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
getSerializedSize();
+ if (getTermOffsetList().size() > 0) {
+ output.writeUInt32NoTag(26);
+ output.writeUInt32NoTag(termOffsetMemoizedSerializedSize);
+ }
for (int i = 0; i < termOffset_.size(); i++) {
- output.writeUInt32(3, termOffset_.get(i));
+ output.writeUInt32NoTag(termOffset_.getInt(i));
+ }
+ if (getPrevSkipsList().size() > 0) {
+ output.writeUInt32NoTag(34);
+ output.writeUInt32NoTag(prevSkipsMemoizedSerializedSize);
}
for (int i = 0; i < prevSkips_.size(); i++) {
- output.writeUInt32(4, prevSkips_.get(i));
+ output.writeUInt32NoTag(prevSkips_.getInt(i));
+ }
+ if (getScoreList().size() > 0) {
+ output.writeUInt32NoTag(42);
+ output.writeUInt32NoTag(scoreMemoizedSerializedSize);
}
for (int i = 0; i < score_.size(); i++) {
- output.writeUInt32(5, score_.get(i));
+ output.writeUInt32NoTag(score_.getInt(i));
}
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeBool(6, zeroOffsetMatch_);
}
getUnknownFields().writeTo(output);
}
- private int memoizedSerializedSize = -1;
-
+ @java.lang.Override
public int getSerializedSize() {
- int size = memoizedSerializedSize;
+ int size = memoizedSize;
if (size != -1)
return size;
@@ -430,40 +323,109 @@ public int getSerializedSize() {
{
int dataSize = 0;
for (int i = 0; i < termOffset_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(termOffset_.get(i));
+ dataSize += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(termOffset_.getInt(i));
}
size += dataSize;
- size += 1 * getTermOffsetList().size();
+ if (!getTermOffsetList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
+ }
+ termOffsetMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < prevSkips_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(prevSkips_.get(i));
+ dataSize += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(prevSkips_.getInt(i));
}
size += dataSize;
- size += 1 * getPrevSkipsList().size();
+ if (!getPrevSkipsList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
+ }
+ prevSkipsMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < score_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(score_.get(i));
+ dataSize += com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(score_.getInt(i));
}
size += dataSize;
- size += 1 * getScoreList().size();
+ if (!getScoreList().isEmpty()) {
+ size += 1;
+ size += com.google.protobuf.CodedOutputStream.computeInt32SizeNoTag(dataSize);
+ }
+ scoreMemoizedSerializedSize = dataSize;
}
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, zeroOffsetMatch_);
}
size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
+ memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.ingest.protobuf.TermWeight.Info)) {
+ return super.equals(obj);
+ }
+ datawave.ingest.protobuf.TermWeight.Info other = (datawave.ingest.protobuf.TermWeight.Info) obj;
+
+ if (!getTermOffsetList().equals(other.getTermOffsetList()))
+ return false;
+ if (!getPrevSkipsList().equals(other.getPrevSkipsList()))
+ return false;
+ if (!getScoreList().equals(other.getScoreList()))
+ return false;
+ if (hasZeroOffsetMatch() != other.hasZeroOffsetMatch())
+ return false;
+ if (hasZeroOffsetMatch()) {
+ if (getZeroOffsetMatch() != other.getZeroOffsetMatch())
+ return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
@java.lang.Override
- protected java.lang.Object writeReplace() throws java.io.ObjectStreamException {
- return super.writeReplace();
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getTermOffsetCount() > 0) {
+ hash = (37 * hash) + TERMOFFSET_FIELD_NUMBER;
+ hash = (53 * hash) + getTermOffsetList().hashCode();
+ }
+ if (getPrevSkipsCount() > 0) {
+ hash = (37 * hash) + PREVSKIPS_FIELD_NUMBER;
+ hash = (53 * hash) + getPrevSkipsList().hashCode();
+ }
+ if (getScoreCount() > 0) {
+ hash = (37 * hash) + SCORE_FIELD_NUMBER;
+ hash = (53 * hash) + getScoreList().hashCode();
+ }
+ if (hasZeroOffsetMatch()) {
+ hash = (37 * hash) + ZEROOFFSETMATCH_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getZeroOffsetMatch());
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.ingest.protobuf.TermWeight.Info parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.ingest.protobuf.TermWeight.Info parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static datawave.ingest.protobuf.TermWeight.Info parseFrom(com.google.protobuf.ByteString data)
@@ -486,110 +448,107 @@ public static datawave.ingest.protobuf.TermWeight.Info parseFrom(byte[] data, co
}
public static datawave.ingest.protobuf.TermWeight.Info parseFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.ingest.protobuf.TermWeight.Info parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.ingest.protobuf.TermWeight.Info parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static datawave.ingest.protobuf.TermWeight.Info parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.ingest.protobuf.TermWeight.Info parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.ingest.protobuf.TermWeight.Info 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();
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
public static Builder newBuilder(datawave.ingest.protobuf.TermWeight.Info prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
- return newBuilder(this);
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
- return new Builder(parent);
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
}
/**
* Protobuf type {@code datawave.ingest.protobuf.Info}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessage.Builderrepeated uint32 termOffset = 3;
*
- * @return list of term offsets
+ * @return A list containing the termOffset.
*/
public java.util.Listrepeated uint32 termOffset = 3;
*
- * @return the number of term offsets in the least
+ * @return The count of termOffset.
*/
public int getTermOffsetCount() {
return termOffset_.size();
@@ -729,27 +788,25 @@ public int getTermOffsetCount() {
* repeated uint32 termOffset = 3;
*
* @param index
- * the index
- *
- * @return the term offset at the provided index
+ * The index of the element to return.
+ * @return The termOffset at the given index.
*/
public int getTermOffset(int index) {
- return termOffset_.get(index);
+ return termOffset_.getInt(index);
}
/**
* repeated uint32 termOffset = 3;
*
* @param index
- * the index
+ * The index to set the value at.
* @param value
- * the new term offset
- *
- * @return builder to set term offset at provided index
+ * The termOffset to set.
+ * @return This builder for chaining.
*/
public Builder setTermOffset(int index, int value) {
ensureTermOffsetIsMutable();
- termOffset_.set(index, value);
+ termOffset_.setInt(index, value);
onChanged();
return this;
}
@@ -758,13 +815,12 @@ public Builder setTermOffset(int index, int value) {
* repeated uint32 termOffset = 3;
*
* @param value
- * the new term offset
- *
- * @return builder to add new term offset provided
+ * The termOffset to add.
+ * @return This builder for chaining.
*/
public Builder addTermOffset(int value) {
ensureTermOffsetIsMutable();
- termOffset_.add(value);
+ termOffset_.addInt(value);
onChanged();
return this;
}
@@ -773,13 +829,12 @@ public Builder addTermOffset(int value) {
* repeated uint32 termOffset = 3;
*
* @param values
- * iterable of term offsets to add to the list
- *
- * @return builder to add term offsets provided
+ * The termOffset to add.
+ * @return This builder for chaining.
*/
public Builder addAllTermOffset(java.lang.Iterable extends java.lang.Integer> values) {
ensureTermOffsetIsMutable();
- super.addAll(values, termOffset_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, termOffset_);
onChanged();
return this;
}
@@ -787,21 +842,20 @@ public Builder addAllTermOffset(java.lang.Iterable extends java.lang.Integer>
/**
* repeated uint32 termOffset = 3;
*
- * @return builder to clear term offsets
+ * @return This builder for chaining.
*/
public Builder clearTermOffset() {
- termOffset_ = java.util.Collections.emptyList();
+ termOffset_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
- // repeated uint32 prevSkips = 4;
- private java.util.Listrepeated uint32 prevSkips = 4;
*
- * @return the prev skip list
+ * @return A list containing the prevSkips.
*/
public java.util.Listrepeated uint32 prevSkips = 4;
*
- * @return the number of items in the prev skip list
+ * @return The count of prevSkips.
*/
public int getPrevSkipsCount() {
return prevSkips_.size();
@@ -828,27 +882,25 @@ public int getPrevSkipsCount() {
* repeated uint32 prevSkips = 4;
*
* @param index
- * the index
- *
- * @return the prev skip at the provided index
+ * The index of the element to return.
+ * @return The prevSkips at the given index.
*/
public int getPrevSkips(int index) {
- return prevSkips_.get(index);
+ return prevSkips_.getInt(index);
}
/**
* repeated uint32 prevSkips = 4;
*
* @param index
- * the index
+ * The index to set the value at.
* @param value
- * new prev skip value
- *
- * @return builder to set the prev skips value at the provided index
+ * The prevSkips to set.
+ * @return This builder for chaining.
*/
public Builder setPrevSkips(int index, int value) {
ensurePrevSkipsIsMutable();
- prevSkips_.set(index, value);
+ prevSkips_.setInt(index, value);
onChanged();
return this;
}
@@ -857,13 +909,12 @@ public Builder setPrevSkips(int index, int value) {
* repeated uint32 prevSkips = 4;
*
* @param value
- * new prev skips value to add
- *
- * @return builder to add a prev skips value
+ * The prevSkips to add.
+ * @return This builder for chaining.
*/
public Builder addPrevSkips(int value) {
ensurePrevSkipsIsMutable();
- prevSkips_.add(value);
+ prevSkips_.addInt(value);
onChanged();
return this;
}
@@ -872,13 +923,12 @@ public Builder addPrevSkips(int value) {
* repeated uint32 prevSkips = 4;
*
* @param values
- * iterable of perv skips to add
- *
- * @return builder to add iterable of values
+ * The prevSkips to add.
+ * @return This builder for chaining.
*/
public Builder addAllPrevSkips(java.lang.Iterable extends java.lang.Integer> values) {
ensurePrevSkipsIsMutable();
- super.addAll(values, prevSkips_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, prevSkips_);
onChanged();
return this;
}
@@ -886,21 +936,20 @@ public Builder addAllPrevSkips(java.lang.Iterable extends java.lang.Integer> v
/**
* repeated uint32 prevSkips = 4;
*
- * @return builder to clear prev skips
+ * @return This builder for chaining.
*/
public Builder clearPrevSkips() {
- prevSkips_ = java.util.Collections.emptyList();
+ prevSkips_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
- // repeated uint32 score = 5;
- private java.util.Listrepeated uint32 score = 5;
*
- * @return list of scores
+ * @return A list containing the score.
*/
public java.util.Listrepeated uint32 score = 5;
+ *
+ * @return The count of score.
*/
public int getScoreCount() {
return score_.size();
@@ -925,27 +976,25 @@ public int getScoreCount() {
* repeated uint32 score = 5;
*
* @param index
- * the index
- *
- * @return the score at the provided index
+ * The index of the element to return.
+ * @return The score at the given index.
*/
public int getScore(int index) {
- return score_.get(index);
+ return score_.getInt(index);
}
/**
* repeated uint32 score = 5;
*
* @param index
- * the index
+ * The index to set the value at.
* @param value
- * the new score value
- *
- * @return builder to set the score at the provided index
+ * The score to set.
+ * @return This builder for chaining.
*/
public Builder setScore(int index, int value) {
ensureScoreIsMutable();
- score_.set(index, value);
+ score_.setInt(index, value);
onChanged();
return this;
}
@@ -954,13 +1003,12 @@ public Builder setScore(int index, int value) {
* repeated uint32 score = 5;
*
* @param value
- * the score to add
- *
- * @return return a builder to add the provided score
+ * The score to add.
+ * @return This builder for chaining.
*/
public Builder addScore(int value) {
ensureScoreIsMutable();
- score_.add(value);
+ score_.addInt(value);
onChanged();
return this;
}
@@ -969,13 +1017,12 @@ public Builder addScore(int value) {
* repeated uint32 score = 5;
*
* @param values
- * iterable of scores to add
- *
- * @return builder to add the iterable of scores provided
+ * The score to add.
+ * @return This builder for chaining.
*/
public Builder addAllScore(java.lang.Iterable extends java.lang.Integer> values) {
ensureScoreIsMutable();
- super.addAll(values, score_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, score_);
onChanged();
return this;
}
@@ -983,43 +1030,43 @@ public Builder addAllScore(java.lang.Iterable extends java.lang.Integer> value
/**
* repeated uint32 score = 5;
*
- * @return builder to clear the scores
+ * @return This builder for chaining.
*/
public Builder clearScore() {
- score_ = java.util.Collections.emptyList();
+ score_ = emptyIntList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
- // optional bool zeroOffsetMatch = 6 [default = true];
- private boolean zeroOffsetMatch_ = true;
+ private boolean zeroOffsetMatch_;
/**
- * optional bool zeroOffsetMatch = 6 [default = true];
+ * bool zeroOffsetMatch = 6;
*
- * @return if it has zero offset match
+ * @return Whether the zeroOffsetMatch field is set.
*/
+ @java.lang.Override
public boolean hasZeroOffsetMatch() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
- * optional bool zeroOffsetMatch = 6 [default = true];
+ * bool zeroOffsetMatch = 6;
*
- * @return the zero offset match
+ * @return The zeroOffsetMatch.
*/
+ @java.lang.Override
public boolean getZeroOffsetMatch() {
return zeroOffsetMatch_;
}
/**
- * optional bool zeroOffsetMatch = 6 [default = true];
+ * bool zeroOffsetMatch = 6;
*
* @param value
- * zero offset match value
- *
- * @return builder to set the zero offset match
+ * The zeroOffsetMatch to set.
+ * @return This builder for chaining.
*/
public Builder setZeroOffsetMatch(boolean value) {
bitField0_ |= 0x00000008;
@@ -1029,30 +1076,76 @@ public Builder setZeroOffsetMatch(boolean value) {
}
/**
- * optional bool zeroOffsetMatch = 6 [default = true];
+ * bool zeroOffsetMatch = 6;
*
- * @return builder to clear zero offset match
+ * @return This builder for chaining.
*/
public Builder clearZeroOffsetMatch() {
bitField0_ = (bitField0_ & ~0x00000008);
- zeroOffsetMatch_ = true;
+ zeroOffsetMatch_ = false;
onChanged();
return this;
}
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
// @@protoc_insertion_point(builder_scope:datawave.ingest.protobuf.Info)
}
+ // @@protoc_insertion_point(class_scope:datawave.ingest.protobuf.Info)
+ private static final datawave.ingest.protobuf.TermWeight.Info DEFAULT_INSTANCE;
static {
- defaultInstance = new Info(true);
- defaultInstance.initFields();
+ DEFAULT_INSTANCE = new datawave.ingest.protobuf.TermWeight.Info();
+ }
+
+ public static datawave.ingest.protobuf.TermWeight.Info getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserrequired bool IGNORE = 1;
- *
- * @return if it has IGNORE
- */
- boolean hasIGNORE();
+ public interface ListOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:datawave.ingest.protobuf.List)
+ com.google.protobuf.MessageOrBuilder {
/**
- * required bool IGNORE = 1;
+ * bool IGNORE = 1;
*
- * @return IGNORE flag
+ * @return The iGNORE.
*/
boolean getIGNORE();
- // required uint64 COUNT = 2;
/**
- * required uint64 COUNT = 2;
+ * uint64 COUNT = 2;
*
- * @return if it has COUNT
- */
- boolean hasCOUNT();
-
- /**
- * required uint64 COUNT = 2;
- *
- * @return the COUNT
+ * @return The cOUNT.
*/
long getCOUNT();
- // repeated string UID = 3;
/**
* repeated string UID = 3;
*
- * @return list of UIDs
+ * @return A list containing the uID.
*/
java.util.Listrepeated string UID = 3;
*
- * @return the number of UIDs in the list
+ * @return The count of uID.
*/
int getUIDCount();
@@ -59,9 +48,8 @@ public interface ListOrBuilder extends com.google.protobuf.MessageOrBuilder {
* repeated string UID = 3;
*
* @param index
- * the index
- *
- * @return the UID at the provided index
+ * The index of the element to return.
+ * @return The uID at the given index.
*/
java.lang.String getUID(int index);
@@ -69,24 +57,22 @@ public interface ListOrBuilder extends com.google.protobuf.MessageOrBuilder {
* repeated string UID = 3;
*
* @param index
- * the index
- *
- * @return uid byte string
+ * The index of the value to return.
+ * @return The bytes of the uID at the given index.
*/
com.google.protobuf.ByteString getUIDBytes(int index);
- // repeated string REMOVEDUID = 4;
/**
* repeated string REMOVEDUID = 4;
*
- * @return list of removed uids
+ * @return A list containing the rEMOVEDUID.
*/
java.util.Listrepeated string REMOVEDUID = 4;
*
- * @return number of removed uids in the list
+ * @return The count of rEMOVEDUID.
*/
int getREMOVEDUIDCount();
@@ -94,9 +80,8 @@ public interface ListOrBuilder extends com.google.protobuf.MessageOrBuilder {
* repeated string REMOVEDUID = 4;
*
* @param index
- * the index
- *
- * @return the removed uid at the provided index
+ * The index of the element to return.
+ * @return The rEMOVEDUID at the given index.
*/
java.lang.String getREMOVEDUID(int index);
@@ -104,9 +89,8 @@ public interface ListOrBuilder extends com.google.protobuf.MessageOrBuilder {
* repeated string REMOVEDUID = 4;
*
* @param index
- * the index
- *
- * @return removed uid byte string at the provided index
+ * The index of the value to return.
+ * @return The bytes of the rEMOVEDUID at the given index.
*/
com.google.protobuf.ByteString getREMOVEDUIDBytes(int index);
}
@@ -114,180 +98,84 @@ public interface ListOrBuilder extends com.google.protobuf.MessageOrBuilder {
/**
* Protobuf type {@code datawave.ingest.protobuf.List}
*/
- public static final class List extends com.google.protobuf.GeneratedMessage implements ListOrBuilder {
+ public static final class List extends com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:datawave.ingest.protobuf.List)
+ ListOrBuilder {
+ private static final long serialVersionUID = 0L;
+
// Use List.newBuilder() to construct.
- private List(com.google.protobuf.GeneratedMessage.Builder> builder) {
+ private List(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
- this.unknownFields = builder.getUnknownFields();
- }
-
- private List(boolean noInit) {
- this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance();
}
- private static final List defaultInstance;
-
- public static List getDefaultInstance() {
- return defaultInstance;
+ private List() {
+ uID_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ rEMOVEDUID_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
- public List getDefaultInstanceForType() {
- return defaultInstance;
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new List();
}
- private final com.google.protobuf.UnknownFieldSet unknownFields;
-
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
- private List(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 8: {
- bitField0_ |= 0x00000001;
- iGNORE_ = input.readBool();
- break;
- }
- case 16: {
- bitField0_ |= 0x00000002;
- cOUNT_ = input.readUInt64();
- break;
- }
- case 26: {
- if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
- uID_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000004;
- }
- uID_.add(input.readBytes());
- break;
- }
- case 34: {
- if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
- rEMOVEDUID_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000008;
- }
- rEMOVEDUID_.add(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 {
- if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
- uID_ = new com.google.protobuf.UnmodifiableLazyStringList(uID_);
- }
- if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
- rEMOVEDUID_ = new com.google.protobuf.UnmodifiableLazyStringList(rEMOVEDUID_);
- }
- this.unknownFields = unknownFields.build();
- makeExtensionsImmutable();
- }
- }
-
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return datawave.ingest.protobuf.Uid.internal_static_datawave_ingest_protobuf_List_descriptor;
}
- protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() {
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return datawave.ingest.protobuf.Uid.internal_static_datawave_ingest_protobuf_List_fieldAccessorTable
.ensureFieldAccessorsInitialized(datawave.ingest.protobuf.Uid.List.class, datawave.ingest.protobuf.Uid.List.Builder.class);
}
- public static com.google.protobuf.Parserrequired bool IGNORE = 1;
- *
- * @return if it has IGNORE
- */
- public boolean hasIGNORE() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
-
- /**
- * required bool IGNORE = 1;
+ * bool IGNORE = 1;
*
- * @return IGNORE flag
+ * @return The iGNORE.
*/
+ @java.lang.Override
public boolean getIGNORE() {
return iGNORE_;
}
- // required uint64 COUNT = 2;
public static final int COUNT_FIELD_NUMBER = 2;
private long cOUNT_;
/**
- * required uint64 COUNT = 2;
+ * uint64 COUNT = 2;
*
- * @return if it has COUNT
- */
- public boolean hasCOUNT() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
-
- /**
- * required uint64 COUNT = 2;
- *
- * @return the COUNT
+ * @return The cOUNT.
*/
+ @java.lang.Override
public long getCOUNT() {
return cOUNT_;
}
- // repeated string UID = 3;
public static final int UID_FIELD_NUMBER = 3;
private com.google.protobuf.LazyStringList uID_;
/**
* repeated string UID = 3;
*
- * @return the uid list
+ * @return A list containing the uID.
*/
- public java.util.Listrepeated string UID = 3;
*
- * @return the uid count
+ * @return The count of uID.
*/
public int getUIDCount() {
return uID_.size();
@@ -297,9 +185,8 @@ public int getUIDCount() {
* repeated string UID = 3;
*
* @param index
- * the index
- *
- * @return the uid at the provided index
+ * The index of the element to return.
+ * @return The uID at the given index.
*/
public java.lang.String getUID(int index) {
return uID_.get(index);
@@ -309,31 +196,29 @@ public java.lang.String getUID(int index) {
* repeated string UID = 3;
*
* @param index
- * the index
- *
- * @return the uid byte string at the provided index
+ * The index of the value to return.
+ * @return The bytes of the uID at the given index.
*/
public com.google.protobuf.ByteString getUIDBytes(int index) {
return uID_.getByteString(index);
}
- // repeated string REMOVEDUID = 4;
public static final int REMOVEDUID_FIELD_NUMBER = 4;
private com.google.protobuf.LazyStringList rEMOVEDUID_;
/**
* repeated string REMOVEDUID = 4;
*
- * @return list of removed uids
+ * @return A list containing the rEMOVEDUID.
*/
- public java.util.Listrepeated string REMOVEDUID = 4;
*
- * @return the size of the removed uid list
+ * @return The count of rEMOVEDUID.
*/
public int getREMOVEDUIDCount() {
return rEMOVEDUID_.size();
@@ -343,9 +228,8 @@ public int getREMOVEDUIDCount() {
* repeated string REMOVEDUID = 4;
*
* @param index
- * the index
- *
- * @return removed uid at the provided index
+ * The index of the element to return.
+ * @return The rEMOVEDUID at the given index.
*/
public java.lang.String getREMOVEDUID(int index) {
return rEMOVEDUID_.get(index);
@@ -355,75 +239,61 @@ public java.lang.String getREMOVEDUID(int index) {
* repeated string REMOVEDUID = 4;
*
* @param index
- * the index
- *
- * @return removed uid byte string at provided index
+ * The index of the value to return.
+ * @return The bytes of the rEMOVEDUID at the given index.
*/
public com.google.protobuf.ByteString getREMOVEDUIDBytes(int index) {
return rEMOVEDUID_.getByteString(index);
}
- private void initFields() {
- iGNORE_ = false;
- cOUNT_ = 0L;
- uID_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- rEMOVEDUID_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- }
-
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1)
- return isInitialized == 1;
-
- if (!hasIGNORE()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasCOUNT()) {
- memoizedIsInitialized = 0;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
return false;
- }
+
memoizedIsInitialized = 1;
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (iGNORE_ != false) {
output.writeBool(1, iGNORE_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (cOUNT_ != 0L) {
output.writeUInt64(2, cOUNT_);
}
for (int i = 0; i < uID_.size(); i++) {
- output.writeBytes(3, uID_.getByteString(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, uID_.getRaw(i));
}
for (int i = 0; i < rEMOVEDUID_.size(); i++) {
- output.writeBytes(4, rEMOVEDUID_.getByteString(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, rEMOVEDUID_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
- private int memoizedSerializedSize = -1;
-
+ @java.lang.Override
public int getSerializedSize() {
- int size = memoizedSerializedSize;
+ int size = memoizedSize;
if (size != -1)
return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (iGNORE_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(1, iGNORE_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (cOUNT_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(2, cOUNT_);
}
{
int dataSize = 0;
for (int i = 0; i < uID_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream.computeBytesSizeNoTag(uID_.getByteString(i));
+ dataSize += computeStringSizeNoTag(uID_.getRaw(i));
}
size += dataSize;
size += 1 * getUIDList().size();
@@ -431,21 +301,70 @@ public int getSerializedSize() {
{
int dataSize = 0;
for (int i = 0; i < rEMOVEDUID_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream.computeBytesSizeNoTag(rEMOVEDUID_.getByteString(i));
+ dataSize += computeStringSizeNoTag(rEMOVEDUID_.getRaw(i));
}
size += dataSize;
size += 1 * getREMOVEDUIDList().size();
}
size += getUnknownFields().getSerializedSize();
- memoizedSerializedSize = size;
+ memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.ingest.protobuf.Uid.List)) {
+ return super.equals(obj);
+ }
+ datawave.ingest.protobuf.Uid.List other = (datawave.ingest.protobuf.Uid.List) obj;
+
+ if (getIGNORE() != other.getIGNORE())
+ return false;
+ if (getCOUNT() != other.getCOUNT())
+ return false;
+ if (!getUIDList().equals(other.getUIDList()))
+ return false;
+ if (!getREMOVEDUIDList().equals(other.getREMOVEDUIDList()))
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
@java.lang.Override
- protected java.lang.Object writeReplace() throws java.io.ObjectStreamException {
- return super.writeReplace();
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + IGNORE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIGNORE());
+ hash = (37 * hash) + COUNT_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCOUNT());
+ if (getUIDCount() > 0) {
+ hash = (37 * hash) + UID_FIELD_NUMBER;
+ hash = (53 * hash) + getUIDList().hashCode();
+ }
+ if (getREMOVEDUIDCount() > 0) {
+ hash = (37 * hash) + REMOVEDUID_FIELD_NUMBER;
+ hash = (53 * hash) + getREMOVEDUIDList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.ingest.protobuf.Uid.List parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.ingest.protobuf.Uid.List parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static datawave.ingest.protobuf.Uid.List parseFrom(com.google.protobuf.ByteString data)
@@ -468,50 +387,52 @@ public static datawave.ingest.protobuf.Uid.List parseFrom(byte[] data, com.googl
}
public static datawave.ingest.protobuf.Uid.List parseFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.ingest.protobuf.Uid.List parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.ingest.protobuf.Uid.List parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static datawave.ingest.protobuf.Uid.List parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.ingest.protobuf.Uid.List parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.ingest.protobuf.Uid.List 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();
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
public static Builder newBuilder(datawave.ingest.protobuf.Uid.List prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
- return newBuilder(this);
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
- protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
@@ -519,59 +440,54 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.Builder
/**
* Protobuf type {@code datawave.ingest.protobuf.List}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessage.Builderrequired bool IGNORE = 1;
- *
- * @return if it has INGORE flag
- */
- public boolean hasIGNORE() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
-
- /**
- * required bool IGNORE = 1;
+ * bool IGNORE = 1;
*
- * @return the IGNORE flag
+ * @return The iGNORE.
*/
+ @java.lang.Override
public boolean getIGNORE() {
return iGNORE_;
}
/**
- * required bool IGNORE = 1;
+ * bool IGNORE = 1;
*
* @param value
- * the IGNORE value
- *
- * @return builder to set IGNORE flag to provided value
+ * The iGNORE to set.
+ * @return This builder for chaining.
*/
public Builder setIGNORE(boolean value) {
- bitField0_ |= 0x00000001;
+
iGNORE_ = value;
onChanged();
return this;
}
/**
- * required bool IGNORE = 1;
+ * bool IGNORE = 1;
*
- * @return builder to clear IGNORE flag
+ * @return This builder for chaining.
*/
public Builder clearIGNORE() {
- bitField0_ = (bitField0_ & ~0x00000001);
+
iGNORE_ = false;
onChanged();
return this;
}
- // required uint64 COUNT = 2;
private long cOUNT_;
/**
- * required uint64 COUNT = 2;
- *
- * @return if it has COUNT set
- */
- public boolean hasCOUNT() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
-
- /**
- * required uint64 COUNT = 2;
+ * uint64 COUNT = 2;
*
- * @return the COUNT
+ * @return The cOUNT.
*/
+ @java.lang.Override
public long getCOUNT() {
return cOUNT_;
}
/**
- * required uint64 COUNT = 2;
+ * uint64 COUNT = 2;
*
* @param value
- * the new COUNT value
- *
- * @return builder to set COUNT to provided value
+ * The cOUNT to set.
+ * @return This builder for chaining.
*/
public Builder setCOUNT(long value) {
- bitField0_ |= 0x00000002;
+
cOUNT_ = value;
onChanged();
return this;
}
/**
- * required uint64 COUNT = 2;
+ * uint64 COUNT = 2;
*
- * @return builder to clear the COUNT
+ * @return This builder for chaining.
*/
public Builder clearCOUNT() {
- bitField0_ = (bitField0_ & ~0x00000002);
+
cOUNT_ = 0L;
onChanged();
return this;
}
- // repeated string UID = 3;
private com.google.protobuf.LazyStringList uID_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureUIDIsMutable() {
- if (!((bitField0_ & 0x00000004) == 0x00000004)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
uID_ = new com.google.protobuf.LazyStringArrayList(uID_);
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
}
}
/**
* repeated string UID = 3;
*
- * @return the uid list
+ * @return A list containing the uID.
*/
- public java.util.Listrepeated string UID = 3;
*
- * @return the uid list size
+ * @return The count of uID.
*/
public int getUIDCount() {
return uID_.size();
@@ -807,9 +756,8 @@ public int getUIDCount() {
* repeated string UID = 3;
*
* @param index
- * the index
- *
- * @return the uid at the provided index
+ * The index of the element to return.
+ * @return The uID at the given index.
*/
public java.lang.String getUID(int index) {
return uID_.get(index);
@@ -819,9 +767,8 @@ public java.lang.String getUID(int index) {
* repeated string UID = 3;
*
* @param index
- * the index
- *
- * @return uid byte string at the provided index
+ * The index of the value to return.
+ * @return The bytes of the uID at the given index.
*/
public com.google.protobuf.ByteString getUIDBytes(int index) {
return uID_.getByteString(index);
@@ -831,11 +778,10 @@ public com.google.protobuf.ByteString getUIDBytes(int index) {
* repeated string UID = 3;
*
* @param index
- * the index
+ * The index to set the value at.
* @param value
- * the new uid value
- *
- * @return builder to set the uid at the proved index
+ * The uID to set.
+ * @return This builder for chaining.
*/
public Builder setUID(int index, java.lang.String value) {
if (value == null) {
@@ -851,9 +797,8 @@ public Builder setUID(int index, java.lang.String value) {
* repeated string UID = 3;
*
* @param value
- * the new uid to add to the list
- *
- * @return builder to add the provided uid
+ * The uID to add.
+ * @return This builder for chaining.
*/
public Builder addUID(java.lang.String value) {
if (value == null) {
@@ -869,13 +814,12 @@ public Builder addUID(java.lang.String value) {
* repeated string UID = 3;
*
* @param values
- * iterable of uids to add to the list
- *
- * @return builder to add the new uid values
+ * The uID to add.
+ * @return This builder for chaining.
*/
public Builder addAllUID(java.lang.Iterablerepeated string UID = 3;
*
- * @return builder to clear uid list
+ * @return This builder for chaining.
*/
public Builder clearUID() {
uID_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
@@ -896,43 +840,42 @@ public Builder clearUID() {
* repeated string UID = 3;
*
* @param value
- * the uid byte string
- *
- * @return builder to add uid byte string provided
+ * The bytes of the uID to add.
+ * @return This builder for chaining.
*/
public Builder addUIDBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
+ checkByteStringIsUtf8(value);
ensureUIDIsMutable();
uID_.add(value);
onChanged();
return this;
}
- // repeated string REMOVEDUID = 4;
private com.google.protobuf.LazyStringList rEMOVEDUID_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureREMOVEDUIDIsMutable() {
- if (!((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (!((bitField0_ & 0x00000002) != 0)) {
rEMOVEDUID_ = new com.google.protobuf.LazyStringArrayList(rEMOVEDUID_);
- bitField0_ |= 0x00000008;
+ bitField0_ |= 0x00000002;
}
}
/**
* repeated string REMOVEDUID = 4;
*
- * @return the removed uid list
+ * @return A list containing the rEMOVEDUID.
*/
- public java.util.Listrepeated string REMOVEDUID = 4;
*
- * @return the size of the removed uid list
+ * @return The count of rEMOVEDUID.
*/
public int getREMOVEDUIDCount() {
return rEMOVEDUID_.size();
@@ -942,9 +885,8 @@ public int getREMOVEDUIDCount() {
* repeated string REMOVEDUID = 4;
*
* @param index
- * the index
- *
- * @return get the removed uid at the provided index
+ * The index of the element to return.
+ * @return The rEMOVEDUID at the given index.
*/
public java.lang.String getREMOVEDUID(int index) {
return rEMOVEDUID_.get(index);
@@ -954,9 +896,8 @@ public java.lang.String getREMOVEDUID(int index) {
* repeated string REMOVEDUID = 4;
*
* @param index
- * the index
- *
- * @return byte string ofremoved uid at the provided index
+ * The index of the value to return.
+ * @return The bytes of the rEMOVEDUID at the given index.
*/
public com.google.protobuf.ByteString getREMOVEDUIDBytes(int index) {
return rEMOVEDUID_.getByteString(index);
@@ -966,11 +907,10 @@ public com.google.protobuf.ByteString getREMOVEDUIDBytes(int index) {
* repeated string REMOVEDUID = 4;
*
* @param index
- * the index
+ * The index to set the value at.
* @param value
- * the new removed uid value
- *
- * @return builder to set the removed uid at the provided index
+ * The rEMOVEDUID to set.
+ * @return This builder for chaining.
*/
public Builder setREMOVEDUID(int index, java.lang.String value) {
if (value == null) {
@@ -986,9 +926,8 @@ public Builder setREMOVEDUID(int index, java.lang.String value) {
* repeated string REMOVEDUID = 4;
*
* @param value
- * the removed uid value to add to the list
- *
- * @return builder to add removed uid provided
+ * The rEMOVEDUID to add.
+ * @return This builder for chaining.
*/
public Builder addREMOVEDUID(java.lang.String value) {
if (value == null) {
@@ -1004,13 +943,12 @@ public Builder addREMOVEDUID(java.lang.String value) {
* repeated string REMOVEDUID = 4;
*
* @param values
- * iterator of uids to add to removed uid list
- *
- * @return builder to add all values to removed uid list
+ * The rEMOVEDUID to add.
+ * @return This builder for chaining.
*/
public Builder addAllREMOVEDUID(java.lang.Iterablerepeated string REMOVEDUID = 4;
*
- * @return builder to clear removed uid list
+ * @return This builder for chaining.
*/
public Builder clearREMOVEDUID() {
rEMOVEDUID_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000008);
+ bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
@@ -1031,33 +969,79 @@ public Builder clearREMOVEDUID() {
* repeated string REMOVEDUID = 4;
*
* @param value
- * byte string value
- *
- * @return builder to add removed uid byte string value
+ * The bytes of the rEMOVEDUID to add.
+ * @return This builder for chaining.
*/
public Builder addREMOVEDUIDBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
+ checkByteStringIsUtf8(value);
ensureREMOVEDUIDIsMutable();
rEMOVEDUID_.add(value);
onChanged();
return this;
}
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
// @@protoc_insertion_point(builder_scope:datawave.ingest.protobuf.List)
}
+ // @@protoc_insertion_point(class_scope:datawave.ingest.protobuf.List)
+ private static final datawave.ingest.protobuf.Uid.List DEFAULT_INSTANCE;
static {
- defaultInstance = new List(true);
- defaultInstance.initFields();
+ DEFAULT_INSTANCE = new datawave.ingest.protobuf.Uid.List();
+ }
+
+ public static datawave.ingest.protobuf.Uid.List getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserrepeated string auths = 1;
+ *
+ * @return A list containing the auths.
+ */
+ java.util.Listrepeated string auths = 1;
+ *
+ * @return The count of auths.
+ */
+ int getAuthsCount();
+
+ /**
+ * repeated string auths = 1;
+ *
+ * @param index
+ * The index of the element to return.
+ * @return The auths at the given index.
+ */
+ java.lang.String getAuths(int index);
+
+ /**
+ * repeated string auths = 1;
+ *
+ * @param index
+ * The index of the value to return.
+ * @return The bytes of the auths at the given index.
+ */
+ com.google.protobuf.ByteString getAuthsBytes(int index);
+ }
+
+ /**
+ * Protobuf type {@code datawave.user.UserAuthorizations}
+ */
+ public static final class UserAuthorizations extends com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:datawave.user.UserAuthorizations)
+ UserAuthorizationsOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ // Use UserAuthorizations.newBuilder() to construct.
+ private UserAuthorizations(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private UserAuthorizations() {
+ auths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new UserAuthorizations();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return datawave.user.UserMessages.internal_static_datawave_user_UserAuthorizations_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return datawave.user.UserMessages.internal_static_datawave_user_UserAuthorizations_fieldAccessorTable.ensureFieldAccessorsInitialized(
+ datawave.user.UserMessages.UserAuthorizations.class, datawave.user.UserMessages.UserAuthorizations.Builder.class);
+ }
+
+ public static final int AUTHS_FIELD_NUMBER = 1;
+ private com.google.protobuf.LazyStringList auths_;
+
+ /**
+ * repeated string auths = 1;
+ *
+ * @return A list containing the auths.
+ */
+ public com.google.protobuf.ProtocolStringList getAuthsList() {
+ return auths_;
+ }
+
+ /**
+ * repeated string auths = 1;
+ *
+ * @return The count of auths.
+ */
+ public int getAuthsCount() {
+ return auths_.size();
+ }
+
+ /**
+ * repeated string auths = 1;
+ *
+ * @param index
+ * The index of the element to return.
+ * @return The auths at the given index.
+ */
+ public java.lang.String getAuths(int index) {
+ return auths_.get(index);
+ }
+
+ /**
+ * repeated string auths = 1;
+ *
+ * @param index
+ * The index of the value to return.
+ * @return The bytes of the auths at the given index.
+ */
+ public com.google.protobuf.ByteString getAuthsBytes(int index) {
+ return auths_.getByteString(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
+ return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ for (int i = 0; i < auths_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, auths_.getRaw(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1)
+ return size;
+
+ size = 0;
+ {
+ int dataSize = 0;
+ for (int i = 0; i < auths_.size(); i++) {
+ dataSize += computeStringSizeNoTag(auths_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getAuthsList().size();
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.user.UserMessages.UserAuthorizations)) {
+ return super.equals(obj);
+ }
+ datawave.user.UserMessages.UserAuthorizations other = (datawave.user.UserMessages.UserAuthorizations) obj;
+
+ if (!getAuthsList().equals(other.getAuthsList()))
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (getAuthsCount() > 0) {
+ hash = (37 * hash) + AUTHS_FIELD_NUMBER;
+ hash = (53 * hash) + getAuthsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.user.UserMessages.UserAuthorizations parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.user.UserMessages.UserAuthorizations parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static datawave.user.UserMessages.UserAuthorizations parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.user.UserMessages.UserAuthorizations parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static datawave.user.UserMessages.UserAuthorizations parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.user.UserMessages.UserAuthorizations parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static datawave.user.UserMessages.UserAuthorizations parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static datawave.user.UserMessages.UserAuthorizations parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static datawave.user.UserMessages.UserAuthorizations parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static datawave.user.UserMessages.UserAuthorizations parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static datawave.user.UserMessages.UserAuthorizations parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static datawave.user.UserMessages.UserAuthorizations parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(datawave.user.UserMessages.UserAuthorizations prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ * Protobuf type {@code datawave.user.UserAuthorizations}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builderrepeated string auths = 1;
+ *
+ * @return A list containing the auths.
+ */
+ public com.google.protobuf.ProtocolStringList getAuthsList() {
+ return auths_.getUnmodifiableView();
+ }
+
+ /**
+ * repeated string auths = 1;
+ *
+ * @return The count of auths.
+ */
+ public int getAuthsCount() {
+ return auths_.size();
+ }
+
+ /**
+ * repeated string auths = 1;
+ *
+ * @param index
+ * The index of the element to return.
+ * @return The auths at the given index.
+ */
+ public java.lang.String getAuths(int index) {
+ return auths_.get(index);
+ }
+
+ /**
+ * repeated string auths = 1;
+ *
+ * @param index
+ * The index of the value to return.
+ * @return The bytes of the auths at the given index.
+ */
+ public com.google.protobuf.ByteString getAuthsBytes(int index) {
+ return auths_.getByteString(index);
+ }
+
+ /**
+ * repeated string auths = 1;
+ *
+ * @param index
+ * The index to set the value at.
+ * @param value
+ * The auths to set.
+ * @return This builder for chaining.
+ */
+ public Builder setAuths(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAuthsIsMutable();
+ auths_.set(index, value);
+ onChanged();
+ return this;
+ }
+
+ /**
+ * repeated string auths = 1;
+ *
+ * @param value
+ * The auths to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAuths(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureAuthsIsMutable();
+ auths_.add(value);
+ onChanged();
+ return this;
+ }
+
+ /**
+ * repeated string auths = 1;
+ *
+ * @param values
+ * The auths to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllAuths(java.lang.Iterablerepeated string auths = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearAuths() {
+ auths_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ * repeated string auths = 1;
+ *
+ * @param value
+ * The bytes of the auths to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAuthsBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureAuthsIsMutable();
+ auths_.add(value);
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:datawave.user.UserAuthorizations)
+ }
+
+ // @@protoc_insertion_point(class_scope:datawave.user.UserAuthorizations)
+ private static final datawave.user.UserMessages.UserAuthorizations DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new datawave.user.UserMessages.UserAuthorizations();
+ }
+
+ public static datawave.user.UserMessages.UserAuthorizations getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserrequired string query_logic_name = 1;
- *
- * @return if it has query logic name
- */
- boolean hasQueryLogicName();
+ public interface QueryImplOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:datawave.webservice.query.QueryImpl)
+ com.google.protobuf.MessageOrBuilder {
/**
- * required string query_logic_name = 1;
+ * string query_logic_name = 1;
*
- * @return query logic name
+ * @return The queryLogicName.
*/
java.lang.String getQueryLogicName();
/**
- * required string query_logic_name = 1;
+ * string query_logic_name = 1;
*
- * @return query logic name byte string
+ * @return The bytes for queryLogicName.
*/
com.google.protobuf.ByteString getQueryLogicNameBytes();
- // required string id = 2;
- /**
- * required string id = 2;
- *
- * @return if it has id
- */
- boolean hasId();
-
/**
- * required string id = 2;
+ * string id = 2;
*
- * @return the id
+ * @return The id.
*/
java.lang.String getId();
/**
- * required string id = 2;
+ * string id = 2;
*
- * @return id byte string
+ * @return The bytes for id.
*/
com.google.protobuf.ByteString getIdBytes();
- // optional string query_name = 3;
/**
- * optional string query_name = 3;
+ * string query_name = 3;
*
- * @return if it has query name
+ * @return Whether the queryName field is set.
*/
boolean hasQueryName();
/**
- * optional string query_name = 3;
+ * string query_name = 3;
*
- * @return query name
+ * @return The queryName.
*/
java.lang.String getQueryName();
/**
- * optional string query_name = 3;
+ * string query_name = 3;
*
- * @return query name byte string
+ * @return The bytes for queryName.
*/
com.google.protobuf.ByteString getQueryNameBytes();
- // required string user_DN = 4;
/**
- * required string user_DN = 4;
+ * string user_DN = 4;
*
- * @return if it has user dn
- */
- boolean hasUserDN();
-
- /**
- * required string user_DN = 4;
- *
- * @return user dn
+ * @return The userDN.
*/
java.lang.String getUserDN();
/**
- * required string user_DN = 4;
+ * string user_DN = 4;
*
- * @return user dn byte string
+ * @return The bytes for userDN.
*/
com.google.protobuf.ByteString getUserDNBytes();
- // required string query = 5;
- /**
- * required string query = 5;
- *
- * @return if it has a query
- */
- boolean hasQuery();
-
/**
- * required string query = 5;
+ * string query = 5;
*
- * @return the query
+ * @return The query.
*/
java.lang.String getQuery();
/**
- * required string query = 5;
+ * string query = 5;
*
- * @return query byte string
+ * @return The bytes for query.
*/
com.google.protobuf.ByteString getQueryBytes();
- // required string query_visibility = 6;
/**
- * required string query_visibility = 6;
+ * string query_visibility = 6;
*
- * @return if it has query visibility
- */
- boolean hasQueryVisibility();
-
- /**
- * required string query_visibility = 6;
- *
- * @return the query visibility
+ * @return The queryVisibility.
*/
java.lang.String getQueryVisibility();
/**
- * required string query_visibility = 6;
+ * string query_visibility = 6;
*
- * @return query visibility byte string
+ * @return The bytes for queryVisibility.
*/
com.google.protobuf.ByteString getQueryVisibilityBytes();
- // optional int64 begin_date = 7;
/**
- * optional int64 begin_date = 7;
+ * int64 begin_date = 7;
*
- * @return if it has a begin date
+ * @return Whether the beginDate field is set.
*/
boolean hasBeginDate();
/**
- * optional int64 begin_date = 7;
+ * int64 begin_date = 7;
*
- * @return begin date
+ * @return The beginDate.
*/
long getBeginDate();
- // optional int64 end_date = 8;
/**
- * optional int64 end_date = 8;
+ * int64 end_date = 8;
*
- * @return if it has end date
+ * @return Whether the endDate field is set.
*/
boolean hasEndDate();
/**
- * optional int64 end_date = 8;
+ * int64 end_date = 8;
*
- * @return end date
+ * @return The endDate.
*/
long getEndDate();
- // required string query_authorizations = 9;
- /**
- * required string query_authorizations = 9;
- *
- * @return if it has query authorizations
- */
- boolean hasQueryAuthorizations();
-
/**
- * required string query_authorizations = 9;
+ * string query_authorizations = 9;
*
- * @return query authorizations
+ * @return The queryAuthorizations.
*/
java.lang.String getQueryAuthorizations();
/**
- * required string query_authorizations = 9;
+ * string query_authorizations = 9;
*
- * @return query authorization
+ * @return The bytes for queryAuthorizations.
*/
com.google.protobuf.ByteString getQueryAuthorizationsBytes();
- // required int64 expiration_date = 10;
/**
- * required int64 expiration_date = 10;
+ * int64 expiration_date = 10;
*
- * @return if it has an expiration date
+ * @return The expirationDate.
*/
- boolean hasExpirationDate();
+ long getExpirationDate();
/**
- * required int64 expiration_date = 10;
+ * uint32 pagesize = 11;
*
- * @return the expiration date
+ * @return The pagesize.
*/
- long getExpirationDate();
+ int getPagesize();
- // required uint32 pagesize = 11 [default = 0];
/**
- * required uint32 pagesize = 11 [default = 0];
- *
- * @return if it has page size
+ * repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
*/
- boolean hasPagesize();
+ java.util.Listrequired uint32 pagesize = 11 [default = 0];
- *
- * @return the page size
+ * repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
*/
- int getPagesize();
+ datawave.webservice.query.QueryMessages.QueryImpl.Parameter getParameters(int index);
- // repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @return the parameters list
*/
- java.util.Listrepeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @param index
- * the index
- *
- * @return the parameter at the index provided
*/
- datawave.webservice.query.QueryMessages.QueryImpl.Parameter getParameters(int index);
+ java.util.List extends datawave.webservice.query.QueryMessages.QueryImpl.ParameterOrBuilder> getParametersOrBuilderList();
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @return the number of parameters
*/
- int getParametersCount();
+ datawave.webservice.query.QueryMessages.QueryImpl.ParameterOrBuilder getParametersOrBuilder(int index);
}
/**
* Protobuf type {@code datawave.webservice.query.QueryImpl}
*/
- public static final class QueryImpl extends com.google.protobuf.GeneratedMessageLite implements QueryImplOrBuilder {
+ public static final class QueryImpl extends com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:datawave.webservice.query.QueryImpl)
+ QueryImplOrBuilder {
+ private static final long serialVersionUID = 0L;
+
// Use QueryImpl.newBuilder() to construct.
- private QueryImpl(com.google.protobuf.GeneratedMessageLite.Builder builder) {
+ private QueryImpl(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
-
}
- private QueryImpl(boolean noInit) {}
-
- private static final QueryImpl defaultInstance;
-
- public static QueryImpl getDefaultInstance() {
- return defaultInstance;
+ private QueryImpl() {
+ queryLogicName_ = "";
+ id_ = "";
+ queryName_ = "";
+ userDN_ = "";
+ query_ = "";
+ queryVisibility_ = "";
+ queryAuthorizations_ = "";
+ parameters_ = java.util.Collections.emptyList();
}
- public QueryImpl getDefaultInstanceForType() {
- return defaultInstance;
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new QueryImpl();
}
- private QueryImpl(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 10: {
- bitField0_ |= 0x00000001;
- queryLogicName_ = input.readBytes();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- id_ = input.readBytes();
- break;
- }
- case 26: {
- bitField0_ |= 0x00000004;
- queryName_ = input.readBytes();
- break;
- }
- case 34: {
- bitField0_ |= 0x00000008;
- userDN_ = input.readBytes();
- break;
- }
- case 42: {
- bitField0_ |= 0x00000010;
- query_ = input.readBytes();
- break;
- }
- case 50: {
- bitField0_ |= 0x00000020;
- queryVisibility_ = input.readBytes();
- break;
- }
- case 56: {
- bitField0_ |= 0x00000040;
- beginDate_ = input.readInt64();
- break;
- }
- case 64: {
- bitField0_ |= 0x00000080;
- endDate_ = input.readInt64();
- break;
- }
- case 74: {
- bitField0_ |= 0x00000100;
- queryAuthorizations_ = input.readBytes();
- break;
- }
- case 80: {
- bitField0_ |= 0x00000200;
- expirationDate_ = input.readInt64();
- break;
- }
- case 88: {
- bitField0_ |= 0x00000400;
- pagesize_ = input.readUInt32();
- break;
- }
- case 98: {
- if (!((mutable_bitField0_ & 0x00000800) == 0x00000800)) {
- parameters_ = new java.util.ArrayListrequired string parameter_name = 1;
- *
- * @return if it has parameter name
- */
- boolean hasParameterName();
+ public interface ParameterOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:datawave.webservice.query.QueryImpl.Parameter)
+ com.google.protobuf.MessageOrBuilder {
/**
- * required string parameter_name = 1;
+ * string parameter_name = 1;
*
- * @return parameter name
+ * @return The parameterName.
*/
java.lang.String getParameterName();
/**
- * required string parameter_name = 1;
+ * string parameter_name = 1;
*
- * @return parameter name byte string
+ * @return The bytes for parameterName.
*/
com.google.protobuf.ByteString getParameterNameBytes();
- // required string parameter_value = 2;
- /**
- * required string parameter_value = 2;
- *
- * @return if it has parameter value
- */
- boolean hasParameterValue();
-
/**
- * required string parameter_value = 2;
+ * string parameter_value = 2;
*
- * @return parameter value
+ * @return The parameterValue.
*/
java.lang.String getParameterValue();
/**
- * required string parameter_value = 2;
+ * string parameter_value = 2;
*
- * @return parameter value byte string
+ * @return The bytes for parameterValue.
*/
com.google.protobuf.ByteString getParameterValueBytes();
}
@@ -429,95 +271,52 @@ public interface ParameterOrBuilder extends com.google.protobuf.MessageLiteOrBui
/**
* Protobuf type {@code datawave.webservice.query.QueryImpl.Parameter}
*/
- public static final class Parameter extends com.google.protobuf.GeneratedMessageLite implements ParameterOrBuilder {
+ public static final class Parameter extends com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:datawave.webservice.query.QueryImpl.Parameter)
+ ParameterOrBuilder {
+ private static final long serialVersionUID = 0L;
+
// Use Parameter.newBuilder() to construct.
- private Parameter(com.google.protobuf.GeneratedMessageLite.Builder builder) {
+ private Parameter(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
-
}
- private Parameter(boolean noInit) {}
-
- private static final Parameter defaultInstance;
-
- public static Parameter getDefaultInstance() {
- return defaultInstance;
+ private Parameter() {
+ parameterName_ = "";
+ parameterValue_ = "";
}
- public Parameter getDefaultInstanceForType() {
- return defaultInstance;
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new Parameter();
}
- private Parameter(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 10: {
- bitField0_ |= 0x00000001;
- parameterName_ = input.readBytes();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- parameterValue_ = 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 {
- makeExtensionsImmutable();
- }
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
}
- public static com.google.protobuf.Parserrequired string parameter_name = 1;
- *
- * @return if it has parameter name
- */
- public boolean hasParameterName() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
+ private volatile java.lang.Object parameterName_;
/**
- * required string parameter_name = 1;
+ * string parameter_name = 1;
*
- * @return parameter name
+ * @return The parameterName.
*/
+ @java.lang.Override
public java.lang.String getParameterName() {
java.lang.Object ref = parameterName_;
if (ref instanceof java.lang.String) {
@@ -525,18 +324,17 @@ public java.lang.String getParameterName() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- parameterName_ = s;
- }
+ parameterName_ = s;
return s;
}
}
/**
- * required string parameter_name = 1;
+ * string parameter_name = 1;
*
- * @return parameter name byte string
+ * @return The bytes for parameterName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getParameterNameBytes() {
java.lang.Object ref = parameterName_;
if (ref instanceof java.lang.String) {
@@ -548,24 +346,15 @@ public com.google.protobuf.ByteString getParameterNameBytes() {
}
}
- // required string parameter_value = 2;
public static final int PARAMETER_VALUE_FIELD_NUMBER = 2;
- private java.lang.Object parameterValue_;
-
- /**
- * required string parameter_value = 2;
- *
- * @return if it has parameter value
- */
- public boolean hasParameterValue() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
+ private volatile java.lang.Object parameterValue_;
/**
- * required string parameter_value = 2;
+ * string parameter_value = 2;
*
- * @return parameter value
+ * @return The parameterValue.
*/
+ @java.lang.Override
public java.lang.String getParameterValue() {
java.lang.Object ref = parameterValue_;
if (ref instanceof java.lang.String) {
@@ -573,18 +362,17 @@ public java.lang.String getParameterValue() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- parameterValue_ = s;
- }
+ parameterValue_ = s;
return s;
}
}
/**
- * required string parameter_value = 2;
+ * string parameter_value = 2;
*
- * @return parameter value byte string
+ * @return The bytes for parameterValue.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getParameterValueBytes() {
java.lang.Object ref = parameterValue_;
if (ref instanceof java.lang.String) {
@@ -596,63 +384,92 @@ public com.google.protobuf.ByteString getParameterValueBytes() {
}
}
- private void initFields() {
- parameterName_ = "";
- parameterValue_ = "";
- }
-
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1)
- return isInitialized == 1;
-
- if (!hasParameterName()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasParameterValue()) {
- memoizedIsInitialized = 0;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
return false;
- }
+
memoizedIsInitialized = 1;
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getParameterNameBytes());
+ if (!getParameterNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parameterName_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getParameterValueBytes());
+ if (!getParameterValueBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, parameterValue_);
}
+ getUnknownFields().writeTo(output);
}
- private int memoizedSerializedSize = -1;
-
+ @java.lang.Override
public int getSerializedSize() {
- int size = memoizedSerializedSize;
+ int size = memoizedSize;
if (size != -1)
return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, getParameterNameBytes());
+ if (!getParameterNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parameterName_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, getParameterValueBytes());
+ if (!getParameterValueBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, parameterValue_);
}
- memoizedSerializedSize = size;
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.webservice.query.QueryMessages.QueryImpl.Parameter)) {
+ return super.equals(obj);
+ }
+ datawave.webservice.query.QueryMessages.QueryImpl.Parameter other = (datawave.webservice.query.QueryMessages.QueryImpl.Parameter) obj;
+
+ if (!getParameterName().equals(other.getParameterName()))
+ return false;
+ if (!getParameterValue().equals(other.getParameterValue()))
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
@java.lang.Override
- protected java.lang.Object writeReplace() throws java.io.ObjectStreamException {
- return super.writeReplace();
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PARAMETER_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getParameterName().hashCode();
+ hash = (37 * hash) + PARAMETER_VALUE_FIELD_NUMBER;
+ hash = (53 * hash) + getParameterValue().hashCode();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(com.google.protobuf.ByteString data)
@@ -676,83 +493,105 @@ public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseF
}
public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter parseFrom(com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter 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();
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
public static Builder newBuilder(datawave.webservice.query.QueryMessages.QueryImpl.Parameter prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
- return newBuilder(this);
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
}
/**
* Protobuf type {@code datawave.webservice.query.QueryImpl.Parameter}
*/
- public static final class Builder
- extends com.google.protobuf.GeneratedMessageLite.Builderrequired string parameter_name = 1;
+ * string parameter_name = 1;
*
- * @return if it has parameter name
- */
- public boolean hasParameterName() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
-
- /**
- * required string parameter_name = 1;
- *
- * @return parameter name
+ * @return The parameterName.
*/
public java.lang.String getParameterName() {
java.lang.Object ref = parameterName_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
parameterName_ = s;
return s;
} else {
@@ -852,9 +730,9 @@ public java.lang.String getParameterName() {
}
/**
- * required string parameter_name = 1;
+ * string parameter_name = 1;
*
- * @return parameter name byte string
+ * @return The bytes for parameterName.
*/
public com.google.protobuf.ByteString getParameterNameBytes() {
java.lang.Object ref = parameterName_;
@@ -868,74 +746,64 @@ public com.google.protobuf.ByteString getParameterNameBytes() {
}
/**
- * required string parameter_name = 1;
+ * string parameter_name = 1;
*
* @param value
- * new parameter name
- *
- * @return builder to set parameter name to passed in value
+ * The parameterName to set.
+ * @return This builder for chaining.
*/
public Builder setParameterName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000001;
- parameterName_ = value;
+ parameterName_ = value;
+ onChanged();
return this;
}
/**
- * required string parameter_name = 1;
+ * string parameter_name = 1;
*
- * @return builder to clear the parameter name
+ * @return This builder for chaining.
*/
public Builder clearParameterName() {
- bitField0_ = (bitField0_ & ~0x00000001);
- parameterName_ = getDefaultInstance().getParameterName();
+ parameterName_ = getDefaultInstance().getParameterName();
+ onChanged();
return this;
}
/**
- * required string parameter_name = 1;
+ * string parameter_name = 1;
*
* @param value
- * new parameter name
- *
- * @return builder to set parameter name
+ * The bytes for parameterName to set.
+ * @return This builder for chaining.
*/
public Builder setParameterNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000001;
- parameterName_ = value;
+ checkByteStringIsUtf8(value);
+ parameterName_ = value;
+ onChanged();
return this;
}
- // required string parameter_value = 2;
private java.lang.Object parameterValue_ = "";
/**
- * required string parameter_value = 2;
- *
- * @return if it has parameter value
- */
- public boolean hasParameterValue() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
-
- /**
- * required string parameter_value = 2;
+ * string parameter_value = 2;
*
- * @return parameter value
+ * @return The parameterValue.
*/
public java.lang.String getParameterValue() {
java.lang.Object ref = parameterValue_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
parameterValue_ = s;
return s;
} else {
@@ -944,9 +812,9 @@ public java.lang.String getParameterValue() {
}
/**
- * required string parameter_value = 2;
+ * string parameter_value = 2;
*
- * @return parameter value byte string
+ * @return The bytes for parameterValue.
*/
public com.google.protobuf.ByteString getParameterValueBytes() {
java.lang.Object ref = parameterValue_;
@@ -960,83 +828,119 @@ public com.google.protobuf.ByteString getParameterValueBytes() {
}
/**
- * required string parameter_value = 2;
+ * string parameter_value = 2;
*
* @param value
- * the new parameter value
- *
- * @return builder to set parameter value
+ * The parameterValue to set.
+ * @return This builder for chaining.
*/
public Builder setParameterValue(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000002;
- parameterValue_ = value;
+ parameterValue_ = value;
+ onChanged();
return this;
}
/**
- * required string parameter_value = 2;
+ * string parameter_value = 2;
*
- * @return builder to clear parameter value
+ * @return This builder for chaining.
*/
public Builder clearParameterValue() {
- bitField0_ = (bitField0_ & ~0x00000002);
- parameterValue_ = getDefaultInstance().getParameterValue();
+ parameterValue_ = getDefaultInstance().getParameterValue();
+ onChanged();
return this;
}
/**
- * required string parameter_value = 2;
+ * string parameter_value = 2;
*
* @param value
- * new value
- *
- * @return builder to set parameter value
+ * The bytes for parameterValue to set.
+ * @return This builder for chaining.
*/
public Builder setParameterValueBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000002;
- parameterValue_ = value;
+ checkByteStringIsUtf8(value);
+ parameterValue_ = value;
+ onChanged();
return this;
}
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
// @@protoc_insertion_point(builder_scope:datawave.webservice.query.QueryImpl.Parameter)
}
+ // @@protoc_insertion_point(class_scope:datawave.webservice.query.QueryImpl.Parameter)
+ private static final datawave.webservice.query.QueryMessages.QueryImpl.Parameter DEFAULT_INSTANCE;
static {
- defaultInstance = new Parameter(true);
- defaultInstance.initFields();
+ DEFAULT_INSTANCE = new datawave.webservice.query.QueryMessages.QueryImpl.Parameter();
+ }
+
+ public static datawave.webservice.query.QueryMessages.QueryImpl.Parameter getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserrequired string query_logic_name = 1;
- *
- * @return if it has query logic name
- */
- public boolean hasQueryLogicName() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
+ private volatile java.lang.Object queryLogicName_;
/**
- * required string query_logic_name = 1;
+ * string query_logic_name = 1;
*
- * @return query logic name
+ * @return The queryLogicName.
*/
+ @java.lang.Override
public java.lang.String getQueryLogicName() {
java.lang.Object ref = queryLogicName_;
if (ref instanceof java.lang.String) {
@@ -1044,18 +948,17 @@ public java.lang.String getQueryLogicName() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- queryLogicName_ = s;
- }
+ queryLogicName_ = s;
return s;
}
}
/**
- * required string query_logic_name = 1;
+ * string query_logic_name = 1;
*
- * @return query logic name byte string
+ * @return The bytes for queryLogicName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getQueryLogicNameBytes() {
java.lang.Object ref = queryLogicName_;
if (ref instanceof java.lang.String) {
@@ -1067,24 +970,15 @@ public com.google.protobuf.ByteString getQueryLogicNameBytes() {
}
}
- // required string id = 2;
public static final int ID_FIELD_NUMBER = 2;
- private java.lang.Object id_;
-
- /**
- * required string id = 2;
- *
- * @return if it has id
- */
- public boolean hasId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
+ private volatile java.lang.Object id_;
/**
- * required string id = 2;
+ * string id = 2;
*
- * @return the id
+ * @return The id.
*/
+ @java.lang.Override
public java.lang.String getId() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
@@ -1092,18 +986,17 @@ public java.lang.String getId() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- id_ = s;
- }
+ id_ = s;
return s;
}
}
/**
- * required string id = 2;
+ * string id = 2;
*
- * @return the id byte string
+ * @return The bytes for id.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
if (ref instanceof java.lang.String) {
@@ -1115,24 +1008,25 @@ public com.google.protobuf.ByteString getIdBytes() {
}
}
- // optional string query_name = 3;
public static final int QUERY_NAME_FIELD_NUMBER = 3;
- private java.lang.Object queryName_;
+ private volatile java.lang.Object queryName_;
/**
- * optional string query_name = 3;
+ * string query_name = 3;
*
- * @return if it has query name
+ * @return Whether the queryName field is set.
*/
+ @java.lang.Override
public boolean hasQueryName() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * optional string query_name = 3;
+ * string query_name = 3;
*
- * @return the query name
+ * @return The queryName.
*/
+ @java.lang.Override
public java.lang.String getQueryName() {
java.lang.Object ref = queryName_;
if (ref instanceof java.lang.String) {
@@ -1140,18 +1034,17 @@ public java.lang.String getQueryName() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- queryName_ = s;
- }
+ queryName_ = s;
return s;
}
}
/**
- * optional string query_name = 3;
+ * string query_name = 3;
*
- * @return the query name byte string
+ * @return The bytes for queryName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getQueryNameBytes() {
java.lang.Object ref = queryName_;
if (ref instanceof java.lang.String) {
@@ -1163,24 +1056,15 @@ public com.google.protobuf.ByteString getQueryNameBytes() {
}
}
- // required string user_DN = 4;
public static final int USER_DN_FIELD_NUMBER = 4;
- private java.lang.Object userDN_;
+ private volatile java.lang.Object userDN_;
/**
- * required string user_DN = 4;
+ * string user_DN = 4;
*
- * @return if it has user dn
- */
- public boolean hasUserDN() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
-
- /**
- * required string user_DN = 4;
- *
- * @return the user dn
+ * @return The userDN.
*/
+ @java.lang.Override
public java.lang.String getUserDN() {
java.lang.Object ref = userDN_;
if (ref instanceof java.lang.String) {
@@ -1188,18 +1072,17 @@ public java.lang.String getUserDN() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- userDN_ = s;
- }
+ userDN_ = s;
return s;
}
}
/**
- * required string user_DN = 4;
+ * string user_DN = 4;
*
- * @return the user dn byte string
+ * @return The bytes for userDN.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getUserDNBytes() {
java.lang.Object ref = userDN_;
if (ref instanceof java.lang.String) {
@@ -1211,24 +1094,15 @@ public com.google.protobuf.ByteString getUserDNBytes() {
}
}
- // required string query = 5;
public static final int QUERY_FIELD_NUMBER = 5;
- private java.lang.Object query_;
-
- /**
- * required string query = 5;
- *
- * @return if it has query
- */
- public boolean hasQuery() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
+ private volatile java.lang.Object query_;
/**
- * required string query = 5;
+ * string query = 5;
*
- * @return the query
+ * @return The query.
*/
+ @java.lang.Override
public java.lang.String getQuery() {
java.lang.Object ref = query_;
if (ref instanceof java.lang.String) {
@@ -1236,18 +1110,17 @@ public java.lang.String getQuery() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- query_ = s;
- }
+ query_ = s;
return s;
}
}
/**
- * required string query = 5;
+ * string query = 5;
*
- * @return the query byte string
+ * @return The bytes for query.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getQueryBytes() {
java.lang.Object ref = query_;
if (ref instanceof java.lang.String) {
@@ -1259,24 +1132,15 @@ public com.google.protobuf.ByteString getQueryBytes() {
}
}
- // required string query_visibility = 6;
public static final int QUERY_VISIBILITY_FIELD_NUMBER = 6;
- private java.lang.Object queryVisibility_;
+ private volatile java.lang.Object queryVisibility_;
/**
- * required string query_visibility = 6;
+ * string query_visibility = 6;
*
- * @return if it has query visibility
- */
- public boolean hasQueryVisibility() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
-
- /**
- * required string query_visibility = 6;
- *
- * @return the query visibility
+ * @return The queryVisibility.
*/
+ @java.lang.Override
public java.lang.String getQueryVisibility() {
java.lang.Object ref = queryVisibility_;
if (ref instanceof java.lang.String) {
@@ -1284,18 +1148,17 @@ public java.lang.String getQueryVisibility() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- queryVisibility_ = s;
- }
+ queryVisibility_ = s;
return s;
}
}
/**
- * required string query_visibility = 6;
+ * string query_visibility = 6;
*
- * @return the query visibility byte string
+ * @return The bytes for queryVisibility.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getQueryVisibilityBytes() {
java.lang.Object ref = queryVisibility_;
if (ref instanceof java.lang.String) {
@@ -1307,68 +1170,61 @@ public com.google.protobuf.ByteString getQueryVisibilityBytes() {
}
}
- // optional int64 begin_date = 7;
public static final int BEGIN_DATE_FIELD_NUMBER = 7;
private long beginDate_;
/**
- * optional int64 begin_date = 7;
+ * int64 begin_date = 7;
*
- * @return if it has begin date
+ * @return Whether the beginDate field is set.
*/
+ @java.lang.Override
public boolean hasBeginDate() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
- * optional int64 begin_date = 7;
+ * int64 begin_date = 7;
*
- * @return the begin date
+ * @return The beginDate.
*/
+ @java.lang.Override
public long getBeginDate() {
return beginDate_;
}
- // optional int64 end_date = 8;
public static final int END_DATE_FIELD_NUMBER = 8;
private long endDate_;
/**
- * optional int64 end_date = 8;
+ * int64 end_date = 8;
*
- * @return if it has end date
+ * @return Whether the endDate field is set.
*/
+ @java.lang.Override
public boolean hasEndDate() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
- * optional int64 end_date = 8;
+ * int64 end_date = 8;
*
- * @return the end date
+ * @return The endDate.
*/
+ @java.lang.Override
public long getEndDate() {
return endDate_;
}
- // required string query_authorizations = 9;
public static final int QUERY_AUTHORIZATIONS_FIELD_NUMBER = 9;
- private java.lang.Object queryAuthorizations_;
-
- /**
- * required string query_authorizations = 9;
- *
- * @return if it has query authorizations
- */
- public boolean hasQueryAuthorizations() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
+ private volatile java.lang.Object queryAuthorizations_;
/**
- * required string query_authorizations = 9;
+ * string query_authorizations = 9;
*
- * @return the query authorizations
+ * @return The queryAuthorizations.
*/
+ @java.lang.Override
public java.lang.String getQueryAuthorizations() {
java.lang.Object ref = queryAuthorizations_;
if (ref instanceof java.lang.String) {
@@ -1376,18 +1232,17 @@ public java.lang.String getQueryAuthorizations() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- queryAuthorizations_ = s;
- }
+ queryAuthorizations_ = s;
return s;
}
}
/**
- * required string query_authorizations = 9;
+ * string query_authorizations = 9;
*
- * @return the query authorizations byte string
+ * @return The bytes for queryAuthorizations.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getQueryAuthorizationsBytes() {
java.lang.Object ref = queryAuthorizations_;
if (ref instanceof java.lang.String) {
@@ -1399,262 +1254,281 @@ public com.google.protobuf.ByteString getQueryAuthorizationsBytes() {
}
}
- // required int64 expiration_date = 10;
public static final int EXPIRATION_DATE_FIELD_NUMBER = 10;
private long expirationDate_;
/**
- * required int64 expiration_date = 10;
+ * int64 expiration_date = 10;
*
- * @return if it has expiration date
- */
- public boolean hasExpirationDate() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
-
- /**
- * required int64 expiration_date = 10;
- *
- * @return the expiration date
+ * @return The expirationDate.
*/
+ @java.lang.Override
public long getExpirationDate() {
return expirationDate_;
}
- // required uint32 pagesize = 11 [default = 0];
public static final int PAGESIZE_FIELD_NUMBER = 11;
private int pagesize_;
/**
- * required uint32 pagesize = 11 [default = 0];
- *
- * @return if it has page size
- */
- public boolean hasPagesize() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
-
- /**
- * required uint32 pagesize = 11 [default = 0];
+ * uint32 pagesize = 11;
*
- * @return the page size
+ * @return The pagesize.
*/
+ @java.lang.Override
public int getPagesize() {
return pagesize_;
}
- // repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
public static final int PARAMETERS_FIELD_NUMBER = 12;
private java.util.Listrepeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @return parameters list
*/
+ @java.lang.Override
public java.util.Listrepeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @return parameters list
*/
+ @java.lang.Override
public java.util.List extends datawave.webservice.query.QueryMessages.QueryImpl.ParameterOrBuilder> getParametersOrBuilderList() {
return parameters_;
}
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @return the size of the parameters list
*/
+ @java.lang.Override
public int getParametersCount() {
return parameters_.size();
}
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @param index
- * the index
- *
- * @return the parameter at the given index
*/
+ @java.lang.Override
public datawave.webservice.query.QueryMessages.QueryImpl.Parameter getParameters(int index) {
return parameters_.get(index);
}
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @param index
- * the index
- *
- * @return the parameter at the index
*/
+ @java.lang.Override
public datawave.webservice.query.QueryMessages.QueryImpl.ParameterOrBuilder getParametersOrBuilder(int index) {
return parameters_.get(index);
}
- private void initFields() {
- queryLogicName_ = "";
- id_ = "";
- queryName_ = "";
- userDN_ = "";
- query_ = "";
- queryVisibility_ = "";
- beginDate_ = 0L;
- endDate_ = 0L;
- queryAuthorizations_ = "";
- expirationDate_ = 0L;
- pagesize_ = 0;
- parameters_ = java.util.Collections.emptyList();
- }
-
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1)
- return isInitialized == 1;
-
- if (!hasQueryLogicName()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasId()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasUserDN()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasQuery()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasQueryVisibility()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasQueryAuthorizations()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasExpirationDate()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasPagesize()) {
- memoizedIsInitialized = 0;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
return false;
- }
- for (int i = 0; i < getParametersCount(); i++) {
- if (!getParameters(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
+
memoizedIsInitialized = 1;
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getQueryLogicNameBytes());
+ if (!getQueryLogicNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, queryLogicName_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getIdBytes());
+ if (!getIdBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, id_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(3, getQueryNameBytes());
+ if (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 3, queryName_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- output.writeBytes(4, getUserDNBytes());
+ if (!getUserDNBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, userDN_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- output.writeBytes(5, getQueryBytes());
+ if (!getQueryBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, query_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- output.writeBytes(6, getQueryVisibilityBytes());
+ if (!getQueryVisibilityBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 6, queryVisibility_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(7, beginDate_);
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(8, endDate_);
}
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- output.writeBytes(9, getQueryAuthorizationsBytes());
+ if (!getQueryAuthorizationsBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 9, queryAuthorizations_);
}
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
+ if (expirationDate_ != 0L) {
output.writeInt64(10, expirationDate_);
}
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
+ if (pagesize_ != 0) {
output.writeUInt32(11, pagesize_);
}
for (int i = 0; i < parameters_.size(); i++) {
output.writeMessage(12, parameters_.get(i));
}
+ getUnknownFields().writeTo(output);
}
- private int memoizedSerializedSize = -1;
-
+ @java.lang.Override
public int getSerializedSize() {
- int size = memoizedSerializedSize;
+ int size = memoizedSize;
if (size != -1)
return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, getQueryLogicNameBytes());
+ if (!getQueryLogicNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, queryLogicName_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, getIdBytes());
+ if (!getIdBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, id_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(3, getQueryNameBytes());
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, queryName_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, getUserDNBytes());
+ if (!getUserDNBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, userDN_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, getQueryBytes());
+ if (!getQueryBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, query_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(6, getQueryVisibilityBytes());
+ if (!getQueryVisibilityBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, queryVisibility_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, beginDate_);
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, endDate_);
}
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(9, getQueryAuthorizationsBytes());
+ if (!getQueryAuthorizationsBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, queryAuthorizations_);
}
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
+ if (expirationDate_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeInt64Size(10, expirationDate_);
}
- if (((bitField0_ & 0x00000400) == 0x00000400)) {
+ if (pagesize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(11, pagesize_);
}
for (int i = 0; i < parameters_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, parameters_.get(i));
}
- memoizedSerializedSize = size;
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.webservice.query.QueryMessages.QueryImpl)) {
+ return super.equals(obj);
+ }
+ datawave.webservice.query.QueryMessages.QueryImpl other = (datawave.webservice.query.QueryMessages.QueryImpl) obj;
+
+ if (!getQueryLogicName().equals(other.getQueryLogicName()))
+ return false;
+ if (!getId().equals(other.getId()))
+ return false;
+ if (hasQueryName() != other.hasQueryName())
+ return false;
+ if (hasQueryName()) {
+ if (!getQueryName().equals(other.getQueryName()))
+ return false;
+ }
+ if (!getUserDN().equals(other.getUserDN()))
+ return false;
+ if (!getQuery().equals(other.getQuery()))
+ return false;
+ if (!getQueryVisibility().equals(other.getQueryVisibility()))
+ return false;
+ if (hasBeginDate() != other.hasBeginDate())
+ return false;
+ if (hasBeginDate()) {
+ if (getBeginDate() != other.getBeginDate())
+ return false;
+ }
+ if (hasEndDate() != other.hasEndDate())
+ return false;
+ if (hasEndDate()) {
+ if (getEndDate() != other.getEndDate())
+ return false;
+ }
+ if (!getQueryAuthorizations().equals(other.getQueryAuthorizations()))
+ return false;
+ if (getExpirationDate() != other.getExpirationDate())
+ return false;
+ if (getPagesize() != other.getPagesize())
+ return false;
+ if (!getParametersList().equals(other.getParametersList()))
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
@java.lang.Override
- protected java.lang.Object writeReplace() throws java.io.ObjectStreamException {
- return super.writeReplace();
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + QUERY_LOGIC_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getQueryLogicName().hashCode();
+ hash = (37 * hash) + ID_FIELD_NUMBER;
+ hash = (53 * hash) + getId().hashCode();
+ if (hasQueryName()) {
+ hash = (37 * hash) + QUERY_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getQueryName().hashCode();
+ }
+ hash = (37 * hash) + USER_DN_FIELD_NUMBER;
+ hash = (53 * hash) + getUserDN().hashCode();
+ hash = (37 * hash) + QUERY_FIELD_NUMBER;
+ hash = (53 * hash) + getQuery().hashCode();
+ hash = (37 * hash) + QUERY_VISIBILITY_FIELD_NUMBER;
+ hash = (53 * hash) + getQueryVisibility().hashCode();
+ if (hasBeginDate()) {
+ hash = (37 * hash) + BEGIN_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getBeginDate());
+ }
+ if (hasEndDate()) {
+ hash = (37 * hash) + END_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getEndDate());
+ }
+ hash = (37 * hash) + QUERY_AUTHORIZATIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getQueryAuthorizations().hashCode();
+ hash = (37 * hash) + EXPIRATION_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getExpirationDate());
+ hash = (37 * hash) + PAGESIZE_FIELD_NUMBER;
+ hash = (53 * hash) + getPagesize();
+ if (getParametersCount() > 0) {
+ hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
+ hash = (53 * hash) + getParametersList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(com.google.protobuf.ByteString data)
@@ -1677,101 +1551,129 @@ public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(byte[]
}
public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.webservice.query.QueryMessages.QueryImpl parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static datawave.webservice.query.QueryMessages.QueryImpl parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.webservice.query.QueryMessages.QueryImpl parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.webservice.query.QueryMessages.QueryImpl 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();
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
public static Builder newBuilder(datawave.webservice.query.QueryMessages.QueryImpl prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
- return newBuilder(this);
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
}
/**
* Protobuf type {@code datawave.webservice.query.QueryImpl}
*/
- public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builderrequired string query_logic_name = 1;
- *
- * @return if it has query logic name
- */
- public boolean hasQueryLogicName() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
-
- /**
- * required string query_logic_name = 1;
+ * string query_logic_name = 1;
*
- * @return the query logic name
+ * @return The queryLogicName.
*/
public java.lang.String getQueryLogicName() {
java.lang.Object ref = queryLogicName_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
queryLogicName_ = s;
return s;
} else {
@@ -1989,9 +1957,9 @@ public java.lang.String getQueryLogicName() {
}
/**
- * required string query_logic_name = 1;
+ * string query_logic_name = 1;
*
- * @return the query logic name byte string
+ * @return The bytes for queryLogicName.
*/
public com.google.protobuf.ByteString getQueryLogicNameBytes() {
java.lang.Object ref = queryLogicName_;
@@ -2005,74 +1973,64 @@ public com.google.protobuf.ByteString getQueryLogicNameBytes() {
}
/**
- * required string query_logic_name = 1;
+ * string query_logic_name = 1;
*
* @param value
- * the new query logic name
- *
- * @return builder to set the query logic name to a new value
+ * The queryLogicName to set.
+ * @return This builder for chaining.
*/
public Builder setQueryLogicName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000001;
- queryLogicName_ = value;
+ queryLogicName_ = value;
+ onChanged();
return this;
}
/**
- * required string query_logic_name = 1;
+ * string query_logic_name = 1;
*
- * @return builder to clear the query logic name
+ * @return This builder for chaining.
*/
public Builder clearQueryLogicName() {
- bitField0_ = (bitField0_ & ~0x00000001);
- queryLogicName_ = getDefaultInstance().getQueryLogicName();
+ queryLogicName_ = getDefaultInstance().getQueryLogicName();
+ onChanged();
return this;
}
/**
- * required string query_logic_name = 1;
+ * string query_logic_name = 1;
*
* @param value
- * the value
- *
- * @return builder to set the query logic name byte string
+ * The bytes for queryLogicName to set.
+ * @return This builder for chaining.
*/
public Builder setQueryLogicNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000001;
- queryLogicName_ = value;
+ checkByteStringIsUtf8(value);
+ queryLogicName_ = value;
+ onChanged();
return this;
}
- // required string id = 2;
private java.lang.Object id_ = "";
/**
- * required string id = 2;
+ * string id = 2;
*
- * @return if it has id
- */
- public boolean hasId() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
-
- /**
- * required string id = 2;
- *
- * @return the id
+ * @return The id.
*/
public java.lang.String getId() {
java.lang.Object ref = id_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
id_ = s;
return s;
} else {
@@ -2081,9 +2039,9 @@ public java.lang.String getId() {
}
/**
- * required string id = 2;
+ * string id = 2;
*
- * @return the id byte string
+ * @return The bytes for id.
*/
public com.google.protobuf.ByteString getIdBytes() {
java.lang.Object ref = id_;
@@ -2097,74 +2055,73 @@ public com.google.protobuf.ByteString getIdBytes() {
}
/**
- * required string id = 2;
+ * string id = 2;
*
* @param value
- * the new id value
- *
- * @return builder to set the new id
+ * The id to set.
+ * @return This builder for chaining.
*/
public Builder setId(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000002;
- id_ = value;
+ id_ = value;
+ onChanged();
return this;
}
/**
- * required string id = 2;
+ * string id = 2;
*
- * @return builder to clear the id
+ * @return This builder for chaining.
*/
public Builder clearId() {
- bitField0_ = (bitField0_ & ~0x00000002);
- id_ = getDefaultInstance().getId();
+ id_ = getDefaultInstance().getId();
+ onChanged();
return this;
}
/**
- * required string id = 2;
+ * string id = 2;
*
* @param value
- * byte string for the new id
- *
- * @return builder to set the id
+ * The bytes for id to set.
+ * @return This builder for chaining.
*/
public Builder setIdBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000002;
- id_ = value;
+ checkByteStringIsUtf8(value);
+ id_ = value;
+ onChanged();
return this;
}
- // optional string query_name = 3;
private java.lang.Object queryName_ = "";
/**
- * optional string query_name = 3;
+ * string query_name = 3;
*
- * @return if it has query name
+ * @return Whether the queryName field is set.
*/
public boolean hasQueryName() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * optional string query_name = 3;
+ * string query_name = 3;
*
- * @return the query name
+ * @return The queryName.
*/
public java.lang.String getQueryName() {
java.lang.Object ref = queryName_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
queryName_ = s;
return s;
} else {
@@ -2173,9 +2130,9 @@ public java.lang.String getQueryName() {
}
/**
- * optional string query_name = 3;
+ * string query_name = 3;
*
- * @return the query name byte string
+ * @return The bytes for queryName.
*/
public com.google.protobuf.ByteString getQueryNameBytes() {
java.lang.Object ref = queryName_;
@@ -2189,74 +2146,64 @@ public com.google.protobuf.ByteString getQueryNameBytes() {
}
/**
- * optional string query_name = 3;
+ * string query_name = 3;
*
* @param value
- * the new query name
- *
- * @return builder to set the query name to the new value
+ * The queryName to set.
+ * @return This builder for chaining.
*/
public Builder setQueryName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000004;
+ bitField0_ |= 0x00000001;
queryName_ = value;
-
+ onChanged();
return this;
}
/**
- * optional string query_name = 3;
+ * string query_name = 3;
*
- * @return builder to clear the query name
+ * @return This builder for chaining.
*/
public Builder clearQueryName() {
- bitField0_ = (bitField0_ & ~0x00000004);
+ bitField0_ = (bitField0_ & ~0x00000001);
queryName_ = getDefaultInstance().getQueryName();
-
+ onChanged();
return this;
}
/**
- * optional string query_name = 3;
+ * string query_name = 3;
*
* @param value
- * new query name as byte string
- *
- * @return builder to set the query name to a new value
+ * The bytes for queryName to set.
+ * @return This builder for chaining.
*/
public Builder setQueryNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000004;
+ checkByteStringIsUtf8(value);
+ bitField0_ |= 0x00000001;
queryName_ = value;
-
+ onChanged();
return this;
}
- // required string user_DN = 4;
private java.lang.Object userDN_ = "";
/**
- * required string user_DN = 4;
+ * string user_DN = 4;
*
- * @return if it has user dn
- */
- public boolean hasUserDN() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
- }
-
- /**
- * required string user_DN = 4;
- *
- * @return the user dn
+ * @return The userDN.
*/
public java.lang.String getUserDN() {
java.lang.Object ref = userDN_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
userDN_ = s;
return s;
} else {
@@ -2265,9 +2212,9 @@ public java.lang.String getUserDN() {
}
/**
- * required string user_DN = 4;
+ * string user_DN = 4;
*
- * @return the user dn byte string
+ * @return The bytes for userDN.
*/
public com.google.protobuf.ByteString getUserDNBytes() {
java.lang.Object ref = userDN_;
@@ -2281,74 +2228,64 @@ public com.google.protobuf.ByteString getUserDNBytes() {
}
/**
- * required string user_DN = 4;
+ * string user_DN = 4;
*
* @param value
- * the new user dn
- *
- * @return builder to set the user dn to a new value
+ * The userDN to set.
+ * @return This builder for chaining.
*/
public Builder setUserDN(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000008;
- userDN_ = value;
+ userDN_ = value;
+ onChanged();
return this;
}
/**
- * required string user_DN = 4;
+ * string user_DN = 4;
*
- * @return builder to clear the user dn
+ * @return This builder for chaining.
*/
public Builder clearUserDN() {
- bitField0_ = (bitField0_ & ~0x00000008);
- userDN_ = getDefaultInstance().getUserDN();
+ userDN_ = getDefaultInstance().getUserDN();
+ onChanged();
return this;
}
/**
- * required string user_DN = 4;
+ * string user_DN = 4;
*
* @param value
- * user dn byte string
- *
- * @return builder ot set the user dn to the new byte string
+ * The bytes for userDN to set.
+ * @return This builder for chaining.
*/
public Builder setUserDNBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000008;
- userDN_ = value;
+ checkByteStringIsUtf8(value);
+ userDN_ = value;
+ onChanged();
return this;
}
- // required string query = 5;
private java.lang.Object query_ = "";
/**
- * required string query = 5;
+ * string query = 5;
*
- * @return if it has query
- */
- public boolean hasQuery() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
- }
-
- /**
- * required string query = 5;
- *
- * @return the query
+ * @return The query.
*/
public java.lang.String getQuery() {
java.lang.Object ref = query_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
query_ = s;
return s;
} else {
@@ -2357,9 +2294,9 @@ public java.lang.String getQuery() {
}
/**
- * required string query = 5;
+ * string query = 5;
*
- * @return the query byte string
+ * @return The bytes for query.
*/
public com.google.protobuf.ByteString getQueryBytes() {
java.lang.Object ref = query_;
@@ -2373,74 +2310,64 @@ public com.google.protobuf.ByteString getQueryBytes() {
}
/**
- * required string query = 5;
+ * string query = 5;
*
* @param value
- * the new query value
- *
- * @return builder to set the query to a new value
+ * The query to set.
+ * @return This builder for chaining.
*/
public Builder setQuery(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000010;
- query_ = value;
+ query_ = value;
+ onChanged();
return this;
}
/**
- * required string query = 5;
+ * string query = 5;
*
- * @return builder to clear the query
+ * @return This builder for chaining.
*/
public Builder clearQuery() {
- bitField0_ = (bitField0_ & ~0x00000010);
- query_ = getDefaultInstance().getQuery();
+ query_ = getDefaultInstance().getQuery();
+ onChanged();
return this;
}
/**
- * required string query = 5;
+ * string query = 5;
*
* @param value
- * byte string for the new query value
- *
- * @return builder to set the query to a new value
+ * The bytes for query to set.
+ * @return This builder for chaining.
*/
public Builder setQueryBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000010;
- query_ = value;
+ checkByteStringIsUtf8(value);
+ query_ = value;
+ onChanged();
return this;
}
- // required string query_visibility = 6;
private java.lang.Object queryVisibility_ = "";
/**
- * required string query_visibility = 6;
- *
- * @return if it has query visibility
- */
- public boolean hasQueryVisibility() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
- }
-
- /**
- * required string query_visibility = 6;
+ * string query_visibility = 6;
*
- * @return the query visibility
+ * @return The queryVisibility.
*/
public java.lang.String getQueryVisibility() {
java.lang.Object ref = queryVisibility_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
queryVisibility_ = s;
return s;
} else {
@@ -2449,9 +2376,9 @@ public java.lang.String getQueryVisibility() {
}
/**
- * required string query_visibility = 6;
+ * string query_visibility = 6;
*
- * @return query visibility byte string
+ * @return The bytes for queryVisibility.
*/
public com.google.protobuf.ByteString getQueryVisibilityBytes() {
java.lang.Object ref = queryVisibility_;
@@ -2465,170 +2392,160 @@ public com.google.protobuf.ByteString getQueryVisibilityBytes() {
}
/**
- * required string query_visibility = 6;
+ * string query_visibility = 6;
*
* @param value
- * the new query visibility
- *
- * @return builder to set query visibility
+ * The queryVisibility to set.
+ * @return This builder for chaining.
*/
public Builder setQueryVisibility(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000020;
- queryVisibility_ = value;
+ queryVisibility_ = value;
+ onChanged();
return this;
}
/**
- * required string query_visibility = 6;
+ * string query_visibility = 6;
*
- * @return builder to clear query visibility
+ * @return This builder for chaining.
*/
public Builder clearQueryVisibility() {
- bitField0_ = (bitField0_ & ~0x00000020);
- queryVisibility_ = getDefaultInstance().getQueryVisibility();
+ queryVisibility_ = getDefaultInstance().getQueryVisibility();
+ onChanged();
return this;
}
/**
- * required string query_visibility = 6;
+ * string query_visibility = 6;
*
* @param value
- * query visibility byte string
- *
- * @return builder to set query visibility to new byte string
+ * The bytes for queryVisibility to set.
+ * @return This builder for chaining.
*/
public Builder setQueryVisibilityBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000020;
- queryVisibility_ = value;
+ checkByteStringIsUtf8(value);
+ queryVisibility_ = value;
+ onChanged();
return this;
}
- // optional int64 begin_date = 7;
private long beginDate_;
/**
- * optional int64 begin_date = 7;
+ * int64 begin_date = 7;
*
- * @return if it has begin date
+ * @return Whether the beginDate field is set.
*/
+ @java.lang.Override
public boolean hasBeginDate() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
- * optional int64 begin_date = 7;
+ * int64 begin_date = 7;
*
- * @return begin date
+ * @return The beginDate.
*/
+ @java.lang.Override
public long getBeginDate() {
return beginDate_;
}
/**
- * optional int64 begin_date = 7;
+ * int64 begin_date = 7;
*
* @param value
- * the new begin date
- *
- * @return builder to set the begin date to a new value
+ * The beginDate to set.
+ * @return This builder for chaining.
*/
public Builder setBeginDate(long value) {
- bitField0_ |= 0x00000040;
+ bitField0_ |= 0x00000002;
beginDate_ = value;
-
+ onChanged();
return this;
}
/**
- * optional int64 begin_date = 7;
+ * int64 begin_date = 7;
*
- * @return builder to clear the begin date
+ * @return This builder for chaining.
*/
public Builder clearBeginDate() {
- bitField0_ = (bitField0_ & ~0x00000040);
+ bitField0_ = (bitField0_ & ~0x00000002);
beginDate_ = 0L;
-
+ onChanged();
return this;
}
- // optional int64 end_date = 8;
private long endDate_;
/**
- * optional int64 end_date = 8;
+ * int64 end_date = 8;
*
- * @return if it has end date
+ * @return Whether the endDate field is set.
*/
+ @java.lang.Override
public boolean hasEndDate() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
- * optional int64 end_date = 8;
+ * int64 end_date = 8;
*
- * @return the end date
+ * @return The endDate.
*/
+ @java.lang.Override
public long getEndDate() {
return endDate_;
}
/**
- * optional int64 end_date = 8;
+ * int64 end_date = 8;
*
* @param value
- * the new end date
- *
- * @return builder to set end date to new value
+ * The endDate to set.
+ * @return This builder for chaining.
*/
public Builder setEndDate(long value) {
- bitField0_ |= 0x00000080;
+ bitField0_ |= 0x00000004;
endDate_ = value;
-
+ onChanged();
return this;
}
/**
- * optional int64 end_date = 8;
+ * int64 end_date = 8;
*
- * @return builder to clear the end date
+ * @return This builder for chaining.
*/
public Builder clearEndDate() {
- bitField0_ = (bitField0_ & ~0x00000080);
+ bitField0_ = (bitField0_ & ~0x00000004);
endDate_ = 0L;
-
+ onChanged();
return this;
}
- // required string query_authorizations = 9;
private java.lang.Object queryAuthorizations_ = "";
/**
- * required string query_authorizations = 9;
- *
- * @return if it has query authorizations
- */
- public boolean hasQueryAuthorizations() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
- }
-
- /**
- * required string query_authorizations = 9;
+ * string query_authorizations = 9;
*
- * @return query authorizations
+ * @return The queryAuthorizations.
*/
public java.lang.String getQueryAuthorizations() {
java.lang.Object ref = queryAuthorizations_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
queryAuthorizations_ = s;
return s;
} else {
@@ -2637,9 +2554,9 @@ public java.lang.String getQueryAuthorizations() {
}
/**
- * required string query_authorizations = 9;
+ * string query_authorizations = 9;
*
- * @return query authorizations byte string
+ * @return The bytes for queryAuthorizations.
*/
public com.google.protobuf.ByteString getQueryAuthorizationsBytes() {
java.lang.Object ref = queryAuthorizations_;
@@ -2653,350 +2570,457 @@ public com.google.protobuf.ByteString getQueryAuthorizationsBytes() {
}
/**
- * required string query_authorizations = 9;
+ * string query_authorizations = 9;
*
* @param value
- * the new query authorizations
- *
- * @return builder to set query authorizations to provided value
+ * The queryAuthorizations to set.
+ * @return This builder for chaining.
*/
public Builder setQueryAuthorizations(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000100;
- queryAuthorizations_ = value;
+ queryAuthorizations_ = value;
+ onChanged();
return this;
}
/**
- * required string query_authorizations = 9;
+ * string query_authorizations = 9;
*
- * @return builder to clear query authorizations
+ * @return This builder for chaining.
*/
public Builder clearQueryAuthorizations() {
- bitField0_ = (bitField0_ & ~0x00000100);
- queryAuthorizations_ = getDefaultInstance().getQueryAuthorizations();
+ queryAuthorizations_ = getDefaultInstance().getQueryAuthorizations();
+ onChanged();
return this;
}
/**
- * required string query_authorizations = 9;
+ * string query_authorizations = 9;
*
* @param value
- * query authorization byte string
- *
- * @return builder to set query authorization to new byte string
+ * The bytes for queryAuthorizations to set.
+ * @return This builder for chaining.
*/
public Builder setQueryAuthorizationsBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
- bitField0_ |= 0x00000100;
- queryAuthorizations_ = value;
+ checkByteStringIsUtf8(value);
+ queryAuthorizations_ = value;
+ onChanged();
return this;
}
- // required int64 expiration_date = 10;
private long expirationDate_;
/**
- * required int64 expiration_date = 10;
- *
- * @return if it has expiration date
- */
- public boolean hasExpirationDate() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
- }
-
- /**
- * required int64 expiration_date = 10;
+ * int64 expiration_date = 10;
*
- * @return the expiration date
+ * @return The expirationDate.
*/
+ @java.lang.Override
public long getExpirationDate() {
return expirationDate_;
}
/**
- * required int64 expiration_date = 10;
+ * int64 expiration_date = 10;
*
* @param value
- * the expiration date
- *
- * @return builder to set expiration date to new value
+ * The expirationDate to set.
+ * @return This builder for chaining.
*/
public Builder setExpirationDate(long value) {
- bitField0_ |= 0x00000200;
- expirationDate_ = value;
+ expirationDate_ = value;
+ onChanged();
return this;
}
/**
- * required int64 expiration_date = 10;
+ * int64 expiration_date = 10;
*
- * @return builder to clear expiration date
+ * @return This builder for chaining.
*/
public Builder clearExpirationDate() {
- bitField0_ = (bitField0_ & ~0x00000200);
- expirationDate_ = 0L;
+ expirationDate_ = 0L;
+ onChanged();
return this;
}
- // required uint32 pagesize = 11 [default = 0];
private int pagesize_;
/**
- * required uint32 pagesize = 11 [default = 0];
- *
- * @return if it has page size
- */
- public boolean hasPagesize() {
- return ((bitField0_ & 0x00000400) == 0x00000400);
- }
-
- /**
- * required uint32 pagesize = 11 [default = 0];
+ * uint32 pagesize = 11;
*
- * @return page size
+ * @return The pagesize.
*/
+ @java.lang.Override
public int getPagesize() {
return pagesize_;
}
/**
- * required uint32 pagesize = 11 [default = 0];
+ * uint32 pagesize = 11;
*
* @param value
- * new page size
- *
- * @return builder to set page size to new value
+ * The pagesize to set.
+ * @return This builder for chaining.
*/
public Builder setPagesize(int value) {
- bitField0_ |= 0x00000400;
- pagesize_ = value;
+ pagesize_ = value;
+ onChanged();
return this;
}
/**
- * required uint32 pagesize = 11 [default = 0];
+ * uint32 pagesize = 11;
*
- * @return builder to clear page size
+ * @return This builder for chaining.
*/
public Builder clearPagesize() {
- bitField0_ = (bitField0_ & ~0x00000400);
- pagesize_ = 0;
+ pagesize_ = 0;
+ onChanged();
return this;
}
- // repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
private java.util.Listrepeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @return list of parameters
*/
public java.util.Listrepeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @return the number of parameters in the list
*/
public int getParametersCount() {
- return parameters_.size();
+ if (parametersBuilder_ == null) {
+ return parameters_.size();
+ } else {
+ return parametersBuilder_.getCount();
+ }
}
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @param index
- * the index
- *
- * @return the parameter at the provided index
*/
public datawave.webservice.query.QueryMessages.QueryImpl.Parameter getParameters(int index) {
- return parameters_.get(index);
+ if (parametersBuilder_ == null) {
+ return parameters_.get(index);
+ } else {
+ return parametersBuilder_.getMessage(index);
+ }
}
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @param index
- * the index
- * @param value
- * the new value to be set at the provided index
- *
- * @return builder to set parameter at provided index
*/
public Builder setParameters(int index, datawave.webservice.query.QueryMessages.QueryImpl.Parameter value) {
- if (value == null) {
- throw new NullPointerException();
+ if (parametersBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureParametersIsMutable();
+ parameters_.set(index, value);
+ onChanged();
+ } else {
+ parametersBuilder_.setMessage(index, value);
}
- ensureParametersIsMutable();
- parameters_.set(index, value);
-
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @param index
- * the index
- * @param builderForValue
- * paramater value to be set at provided index
- *
- * @return builder to set parameter at provided index
*/
public Builder setParameters(int index, datawave.webservice.query.QueryMessages.QueryImpl.Parameter.Builder builderForValue) {
- ensureParametersIsMutable();
- parameters_.set(index, builderForValue.build());
-
+ if (parametersBuilder_ == null) {
+ ensureParametersIsMutable();
+ parameters_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ parametersBuilder_.setMessage(index, builderForValue.build());
+ }
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @param value
- * the new parameter to add to the list
- *
- * @return builder to add parameter
*/
public Builder addParameters(datawave.webservice.query.QueryMessages.QueryImpl.Parameter value) {
- if (value == null) {
- throw new NullPointerException();
+ if (parametersBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureParametersIsMutable();
+ parameters_.add(value);
+ onChanged();
+ } else {
+ parametersBuilder_.addMessage(value);
}
- ensureParametersIsMutable();
- parameters_.add(value);
-
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @param index
- * the index
- * @param value
- * the new parameter to add at the index provided
- *
- * @return builder to add parameter
*/
public Builder addParameters(int index, datawave.webservice.query.QueryMessages.QueryImpl.Parameter value) {
- if (value == null) {
- throw new NullPointerException();
+ if (parametersBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureParametersIsMutable();
+ parameters_.add(index, value);
+ onChanged();
+ } else {
+ parametersBuilder_.addMessage(index, value);
}
- ensureParametersIsMutable();
- parameters_.add(index, value);
-
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @param builderForValue
- * parameter to add to the list of parameters
- *
- * @return builder to add parameters
*/
public Builder addParameters(datawave.webservice.query.QueryMessages.QueryImpl.Parameter.Builder builderForValue) {
- ensureParametersIsMutable();
- parameters_.add(builderForValue.build());
-
+ if (parametersBuilder_ == null) {
+ ensureParametersIsMutable();
+ parameters_.add(builderForValue.build());
+ onChanged();
+ } else {
+ parametersBuilder_.addMessage(builderForValue.build());
+ }
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @param index
- * the index
- * @param builderForValue
- * builder to creat the value to add at the provided index
- *
- * @return builder to add parameter at provided index
*/
public Builder addParameters(int index, datawave.webservice.query.QueryMessages.QueryImpl.Parameter.Builder builderForValue) {
- ensureParametersIsMutable();
- parameters_.add(index, builderForValue.build());
-
+ if (parametersBuilder_ == null) {
+ ensureParametersIsMutable();
+ parameters_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ parametersBuilder_.addMessage(index, builderForValue.build());
+ }
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @param values
- * iterator of values to add to the parameter list
- *
- * @return builder to add parameters
*/
public Builder addAllParameters(java.lang.Iterable extends datawave.webservice.query.QueryMessages.QueryImpl.Parameter> values) {
- ensureParametersIsMutable();
- super.addAll(values, parameters_);
-
+ if (parametersBuilder_ == null) {
+ ensureParametersIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_);
+ onChanged();
+ } else {
+ parametersBuilder_.addAllMessages(values);
+ }
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @return builder to clear the parameters list
*/
public Builder clearParameters() {
- parameters_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000800);
-
+ if (parametersBuilder_ == null) {
+ parameters_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000008);
+ onChanged();
+ } else {
+ parametersBuilder_.clear();
+ }
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
- *
- * @param index
- * the index
- *
- * @return builder to remove parameters at the provided index
*/
public Builder removeParameters(int index) {
- ensureParametersIsMutable();
- parameters_.remove(index);
-
+ if (parametersBuilder_ == null) {
+ ensureParametersIsMutable();
+ parameters_.remove(index);
+ onChanged();
+ } else {
+ parametersBuilder_.remove(index);
+ }
return this;
}
+ /**
+ * repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
+ */
+ public datawave.webservice.query.QueryMessages.QueryImpl.Parameter.Builder getParametersBuilder(int index) {
+ return getParametersFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ * repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
+ */
+ public datawave.webservice.query.QueryMessages.QueryImpl.ParameterOrBuilder getParametersOrBuilder(int index) {
+ if (parametersBuilder_ == null) {
+ return parameters_.get(index);
+ } else {
+ return parametersBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
+ */
+ public java.util.List extends datawave.webservice.query.QueryMessages.QueryImpl.ParameterOrBuilder> getParametersOrBuilderList() {
+ if (parametersBuilder_ != null) {
+ return parametersBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(parameters_);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
+ */
+ public datawave.webservice.query.QueryMessages.QueryImpl.Parameter.Builder addParametersBuilder() {
+ return getParametersFieldBuilder().addBuilder(datawave.webservice.query.QueryMessages.QueryImpl.Parameter.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
+ */
+ public datawave.webservice.query.QueryMessages.QueryImpl.Parameter.Builder addParametersBuilder(int index) {
+ return getParametersFieldBuilder().addBuilder(index, datawave.webservice.query.QueryMessages.QueryImpl.Parameter.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.QueryImpl.Parameter parameters = 12;
+ */
+ public java.util.Listoptional string message = 1;
+ * string message = 1;
*
- * @return if it has message
+ * @return Whether the message field is set.
*/
boolean hasMessage();
/**
- * optional string message = 1;
+ * string message = 1;
*
- * @return the message
+ * @return The message.
*/
java.lang.String getMessage();
/**
- * optional string message = 1;
+ * string message = 1;
*
- * @return the message byte string
+ * @return The bytes for message.
*/
com.google.protobuf.ByteString getMessageBytes();
- // optional string cause = 2;
/**
- * optional string cause = 2;
+ * string cause = 2;
*
- * @return if it has cause
+ * @return Whether the cause field is set.
*/
boolean hasCause();
/**
- * optional string cause = 2;
+ * string cause = 2;
*
- * @return the cause
+ * @return The cause.
*/
java.lang.String getCause();
/**
- * optional string cause = 2;
+ * string cause = 2;
*
- * @return the cause byte string
+ * @return The bytes for cause.
*/
com.google.protobuf.ByteString getCauseBytes();
}
@@ -58,95 +62,63 @@ public interface QueryExceptionTypeOrBuilder extends com.google.protobuf.Message
/**
* Protobuf type {@code datawave.webservice.query.exception.QueryExceptionType}
*/
- public static final class QueryExceptionType extends com.google.protobuf.GeneratedMessageLite implements QueryExceptionTypeOrBuilder {
+ public static final class QueryExceptionType extends com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:datawave.webservice.query.exception.QueryExceptionType)
+ QueryExceptionTypeOrBuilder {
+ private static final long serialVersionUID = 0L;
+
// Use QueryExceptionType.newBuilder() to construct.
- private QueryExceptionType(com.google.protobuf.GeneratedMessageLite.Builder builder) {
+ private QueryExceptionType(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
-
}
- private QueryExceptionType(boolean noInit) {}
-
- private static final QueryExceptionType defaultInstance;
-
- public static QueryExceptionType getDefaultInstance() {
- return defaultInstance;
+ private QueryExceptionType() {
+ message_ = "";
+ cause_ = "";
}
- public QueryExceptionType getDefaultInstanceForType() {
- return defaultInstance;
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new QueryExceptionType();
}
- private QueryExceptionType(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 10: {
- bitField0_ |= 0x00000001;
- message_ = input.readBytes();
- break;
- }
- case 18: {
- bitField0_ |= 0x00000002;
- cause_ = 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 {
- makeExtensionsImmutable();
- }
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
}
- public static com.google.protobuf.Parseroptional string message = 1;
+ * string message = 1;
*
- * @return if it has a message
+ * @return Whether the message field is set.
*/
+ @java.lang.Override
public boolean hasMessage() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * optional string message = 1;
+ * string message = 1;
*
- * @return the message
+ * @return The message.
*/
+ @java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
@@ -154,18 +126,17 @@ public java.lang.String getMessage() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- message_ = s;
- }
+ message_ = s;
return s;
}
}
/**
- * optional string message = 1;
+ * string message = 1;
*
- * @return the message byte string
+ * @return The bytes for message.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
@@ -177,24 +148,25 @@ public com.google.protobuf.ByteString getMessageBytes() {
}
}
- // optional string cause = 2;
public static final int CAUSE_FIELD_NUMBER = 2;
- private java.lang.Object cause_;
+ private volatile java.lang.Object cause_;
/**
- * optional string cause = 2;
+ * string cause = 2;
*
- * @return if it has a cause
+ * @return Whether the cause field is set.
*/
+ @java.lang.Override
public boolean hasCause() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
- * optional string cause = 2;
+ * string cause = 2;
*
- * @return the cause
+ * @return The cause.
*/
+ @java.lang.Override
public java.lang.String getCause() {
java.lang.Object ref = cause_;
if (ref instanceof java.lang.String) {
@@ -202,18 +174,17 @@ public java.lang.String getCause() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- cause_ = s;
- }
+ cause_ = s;
return s;
}
}
/**
- * optional string cause = 2;
+ * string cause = 2;
*
- * @return the cause byte string
+ * @return The bytes for cause.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getCauseBytes() {
java.lang.Object ref = cause_;
if (ref instanceof java.lang.String) {
@@ -225,55 +196,104 @@ public com.google.protobuf.ByteString getCauseBytes() {
}
}
- private void initFields() {
- message_ = "";
- cause_ = "";
- }
-
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1)
- return isInitialized == 1;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
+ return false;
memoizedIsInitialized = 1;
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- output.writeBytes(1, getMessageBytes());
+ if (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, message_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(2, getCauseBytes());
+ if (((bitField0_ & 0x00000002) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cause_);
}
+ getUnknownFields().writeTo(output);
}
- private int memoizedSerializedSize = -1;
-
+ @java.lang.Override
public int getSerializedSize() {
- int size = memoizedSerializedSize;
+ int size = memoizedSize;
if (size != -1)
return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(1, getMessageBytes());
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, message_);
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(2, getCauseBytes());
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cause_);
}
- memoizedSerializedSize = size;
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType)) {
+ return super.equals(obj);
+ }
+ datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType other = (datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType) obj;
+
+ if (hasMessage() != other.hasMessage())
+ return false;
+ if (hasMessage()) {
+ if (!getMessage().equals(other.getMessage()))
+ return false;
+ }
+ if (hasCause() != other.hasCause())
+ return false;
+ if (hasCause()) {
+ if (!getCause().equals(other.getCause()))
+ return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
@java.lang.Override
- protected java.lang.Object writeReplace() throws java.io.ObjectStreamException {
- return super.writeReplace();
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasMessage()) {
+ hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
+ hash = (53 * hash) + getMessage().hashCode();
+ }
+ if (hasCause()) {
+ hash = (37 * hash) + CAUSE_FIELD_NUMBER;
+ hash = (53 * hash) + getCause().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType parseFrom(com.google.protobuf.ByteString data)
@@ -297,67 +317,86 @@ public static datawave.webservice.query.exception.ExceptionMessages.QueryExcepti
}
public static datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType parseFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType parseFrom(com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType 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();
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
public static Builder newBuilder(datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
- return newBuilder(this);
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
}
/**
* Protobuf type {@code datawave.webservice.query.exception.QueryExceptionType}
*/
- public static final class Builder extends
- com.google.protobuf.GeneratedMessageLite.Builderoptional string message = 1;
+ * string message = 1;
*
- * @return if it has a message
+ * @return Whether the message field is set.
*/
public boolean hasMessage() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * optional string message = 1;
+ * string message = 1;
*
- * @return the message
+ * @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
@@ -467,9 +578,9 @@ public java.lang.String getMessage() {
}
/**
- * optional string message = 1;
+ * string message = 1;
*
- * @return the message byte string
+ * @return The bytes for message.
*/
public com.google.protobuf.ByteString getMessageBytes() {
java.lang.Object ref = message_;
@@ -483,12 +594,11 @@ public com.google.protobuf.ByteString getMessageBytes() {
}
/**
- * optional string message = 1;
+ * string message = 1;
*
* @param value
- * the message
- *
- * @return builder to set the message
+ * The message to set.
+ * @return This builder for chaining.
*/
public Builder setMessage(java.lang.String value) {
if (value == null) {
@@ -496,61 +606,61 @@ public Builder setMessage(java.lang.String value) {
}
bitField0_ |= 0x00000001;
message_ = value;
-
+ onChanged();
return this;
}
/**
- * optional string message = 1;
+ * string message = 1;
*
- * @return builder to clear the message
+ * @return This builder for chaining.
*/
public Builder clearMessage() {
bitField0_ = (bitField0_ & ~0x00000001);
message_ = getDefaultInstance().getMessage();
-
+ onChanged();
return this;
}
/**
- * optional string message = 1;
+ * string message = 1;
*
* @param value
- * the value byte string
- *
- * @return builder to set the message to provided byte string
+ * The bytes for message to set.
+ * @return This builder for chaining.
*/
public Builder setMessageBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
+ checkByteStringIsUtf8(value);
bitField0_ |= 0x00000001;
message_ = value;
-
+ onChanged();
return this;
}
- // optional string cause = 2;
private java.lang.Object cause_ = "";
/**
- * optional string cause = 2;
+ * string cause = 2;
*
- * @return if it has a cause
+ * @return Whether the cause field is set.
*/
public boolean hasCause() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
- * optional string cause = 2;
+ * string cause = 2;
*
- * @return the cause
+ * @return The cause.
*/
public java.lang.String getCause() {
java.lang.Object ref = cause_;
if (!(ref instanceof java.lang.String)) {
- java.lang.String s = ((com.google.protobuf.ByteString) ref).toStringUtf8();
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
cause_ = s;
return s;
} else {
@@ -559,9 +669,9 @@ public java.lang.String getCause() {
}
/**
- * optional string cause = 2;
+ * string cause = 2;
*
- * @return the cause byte string
+ * @return The bytes for cause.
*/
public com.google.protobuf.ByteString getCauseBytes() {
java.lang.Object ref = cause_;
@@ -575,12 +685,11 @@ public com.google.protobuf.ByteString getCauseBytes() {
}
/**
- * optional string cause = 2;
+ * string cause = 2;
*
* @param value
- * the cause
- *
- * @return builder to set the cause to the provided value
+ * The cause to set.
+ * @return This builder for chaining.
*/
public Builder setCause(java.lang.String value) {
if (value == null) {
@@ -588,52 +697,116 @@ public Builder setCause(java.lang.String value) {
}
bitField0_ |= 0x00000002;
cause_ = value;
-
+ onChanged();
return this;
}
/**
- * optional string cause = 2;
+ * string cause = 2;
*
- * @return builder to clear the cause
+ * @return This builder for chaining.
*/
public Builder clearCause() {
bitField0_ = (bitField0_ & ~0x00000002);
cause_ = getDefaultInstance().getCause();
-
+ onChanged();
return this;
}
/**
- * optional string cause = 2;
+ * string cause = 2;
*
* @param value
- * new cause value as byte string
- *
- * @return builder to set cause to byte string
+ * The bytes for cause to set.
+ * @return This builder for chaining.
*/
public Builder setCauseBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
+ checkByteStringIsUtf8(value);
bitField0_ |= 0x00000002;
cause_ = value;
-
+ onChanged();
return this;
}
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
// @@protoc_insertion_point(builder_scope:datawave.webservice.query.exception.QueryExceptionType)
}
+ // @@protoc_insertion_point(class_scope:datawave.webservice.query.exception.QueryExceptionType)
+ private static final datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType DEFAULT_INSTANCE;
static {
- defaultInstance = new QueryExceptionType(true);
- defaultInstance.initFields();
+ DEFAULT_INSTANCE = new datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType();
+ }
+
+ public static datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parseruint64 pagesize = 1;
+ *
+ * @return The pagesize.
+ */
+ long getPagesize();
+
+ /**
+ * uint64 return_time = 2;
+ *
+ * @return The returnTime.
+ */
+ long getReturnTime();
+ }
+
+ /**
+ * Protobuf type {@code datawave.webservice.query.metric.PageMetric}
+ */
+ public static final class PageMetric extends com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:datawave.webservice.query.metric.PageMetric)
+ PageMetricOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ // Use PageMetric.newBuilder() to construct.
+ private PageMetric(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private PageMetric() {}
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new PageMetric();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return datawave.webservice.query.metric.MetricsMessages.internal_static_datawave_webservice_query_metric_PageMetric_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return datawave.webservice.query.metric.MetricsMessages.internal_static_datawave_webservice_query_metric_PageMetric_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(datawave.webservice.query.metric.MetricsMessages.PageMetric.class,
+ datawave.webservice.query.metric.MetricsMessages.PageMetric.Builder.class);
+ }
+
+ public static final int PAGESIZE_FIELD_NUMBER = 1;
+ private long pagesize_;
+
+ /**
+ * uint64 pagesize = 1;
+ *
+ * @return The pagesize.
+ */
+ @java.lang.Override
+ public long getPagesize() {
+ return pagesize_;
+ }
+
+ public static final int RETURN_TIME_FIELD_NUMBER = 2;
+ private long returnTime_;
+
+ /**
+ * uint64 return_time = 2;
+ *
+ * @return The returnTime.
+ */
+ @java.lang.Override
+ public long getReturnTime() {
+ return returnTime_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
+ return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (pagesize_ != 0L) {
+ output.writeUInt64(1, pagesize_);
+ }
+ if (returnTime_ != 0L) {
+ output.writeUInt64(2, returnTime_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1)
+ return size;
+
+ size = 0;
+ if (pagesize_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeUInt64Size(1, pagesize_);
+ }
+ if (returnTime_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeUInt64Size(2, returnTime_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.webservice.query.metric.MetricsMessages.PageMetric)) {
+ return super.equals(obj);
+ }
+ datawave.webservice.query.metric.MetricsMessages.PageMetric other = (datawave.webservice.query.metric.MetricsMessages.PageMetric) obj;
+
+ if (getPagesize() != other.getPagesize())
+ return false;
+ if (getReturnTime() != other.getReturnTime())
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + PAGESIZE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPagesize());
+ hash = (37 * hash) + RETURN_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getReturnTime());
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.PageMetric parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.PageMetric parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.PageMetric parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.PageMetric parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.PageMetric parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.PageMetric parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.PageMetric parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.PageMetric parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.PageMetric parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.PageMetric parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.PageMetric parseFrom(com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.PageMetric parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(datawave.webservice.query.metric.MetricsMessages.PageMetric prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ * Protobuf type {@code datawave.webservice.query.metric.PageMetric}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builderuint64 pagesize = 1;
+ *
+ * @return The pagesize.
+ */
+ @java.lang.Override
+ public long getPagesize() {
+ return pagesize_;
+ }
+
+ /**
+ * uint64 pagesize = 1;
+ *
+ * @param value
+ * The pagesize to set.
+ * @return This builder for chaining.
+ */
+ public Builder setPagesize(long value) {
+
+ pagesize_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * uint64 pagesize = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearPagesize() {
+
+ pagesize_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private long returnTime_;
+
+ /**
+ * uint64 return_time = 2;
+ *
+ * @return The returnTime.
+ */
+ @java.lang.Override
+ public long getReturnTime() {
+ return returnTime_;
+ }
+
+ /**
+ * uint64 return_time = 2;
+ *
+ * @param value
+ * The returnTime to set.
+ * @return This builder for chaining.
+ */
+ public Builder setReturnTime(long value) {
+
+ returnTime_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * uint64 return_time = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearReturnTime() {
+
+ returnTime_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:datawave.webservice.query.metric.PageMetric)
+ }
+
+ // @@protoc_insertion_point(class_scope:datawave.webservice.query.metric.PageMetric)
+ private static final datawave.webservice.query.metric.MetricsMessages.PageMetric DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new datawave.webservice.query.metric.MetricsMessages.PageMetric();
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.PageMetric getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserstring query_type = 1;
+ *
+ * @return Whether the queryType field is set.
+ */
+ boolean hasQueryType();
+
+ /**
+ * string query_type = 1;
+ *
+ * @return The queryType.
+ */
+ java.lang.String getQueryType();
+
+ /**
+ * string query_type = 1;
+ *
+ * @return The bytes for queryType.
+ */
+ com.google.protobuf.ByteString getQueryTypeBytes();
+
+ /**
+ * string user = 2;
+ *
+ * @return Whether the user field is set.
+ */
+ boolean hasUser();
+
+ /**
+ * string user = 2;
+ *
+ * @return The user.
+ */
+ java.lang.String getUser();
+
+ /**
+ * string user = 2;
+ *
+ * @return The bytes for user.
+ */
+ com.google.protobuf.ByteString getUserBytes();
+
+ /**
+ * int64 create_date = 3;
+ *
+ * @return Whether the createDate field is set.
+ */
+ boolean hasCreateDate();
+
+ /**
+ * int64 create_date = 3;
+ *
+ * @return The createDate.
+ */
+ long getCreateDate();
+
+ /**
+ * string query_id = 4;
+ *
+ * @return Whether the queryId field is set.
+ */
+ boolean hasQueryId();
+
+ /**
+ * string query_id = 4;
+ *
+ * @return The queryId.
+ */
+ java.lang.String getQueryId();
+
+ /**
+ * string query_id = 4;
+ *
+ * @return The bytes for queryId.
+ */
+ com.google.protobuf.ByteString getQueryIdBytes();
+
+ /**
+ * uint64 setup_time = 5;
+ *
+ * @return Whether the setupTime field is set.
+ */
+ boolean hasSetupTime();
+
+ /**
+ * uint64 setup_time = 5;
+ *
+ * @return The setupTime.
+ */
+ long getSetupTime();
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ java.util.Listrepeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ datawave.webservice.query.metric.MetricsMessages.PageMetric getPageTimes(int index);
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ int getPageTimesCount();
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ java.util.List extends datawave.webservice.query.metric.MetricsMessages.PageMetricOrBuilder> getPageTimesOrBuilderList();
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ datawave.webservice.query.metric.MetricsMessages.PageMetricOrBuilder getPageTimesOrBuilder(int index);
+ }
+
+ /**
+ * Protobuf type {@code datawave.webservice.query.metric.QueryMetric}
+ */
+ public static final class QueryMetric extends com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:datawave.webservice.query.metric.QueryMetric)
+ QueryMetricOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ // Use QueryMetric.newBuilder() to construct.
+ private QueryMetric(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private QueryMetric() {
+ queryType_ = "";
+ user_ = "";
+ queryId_ = "";
+ pageTimes_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new QueryMetric();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return datawave.webservice.query.metric.MetricsMessages.internal_static_datawave_webservice_query_metric_QueryMetric_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return datawave.webservice.query.metric.MetricsMessages.internal_static_datawave_webservice_query_metric_QueryMetric_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(datawave.webservice.query.metric.MetricsMessages.QueryMetric.class,
+ datawave.webservice.query.metric.MetricsMessages.QueryMetric.Builder.class);
+ }
+
+ private int bitField0_;
+ public static final int QUERY_TYPE_FIELD_NUMBER = 1;
+ private volatile java.lang.Object queryType_;
+
+ /**
+ * string query_type = 1;
+ *
+ * @return Whether the queryType field is set.
+ */
+ @java.lang.Override
+ public boolean hasQueryType() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ * string query_type = 1;
+ *
+ * @return The queryType.
+ */
+ @java.lang.Override
+ public java.lang.String getQueryType() {
+ java.lang.Object ref = queryType_;
+ 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();
+ queryType_ = s;
+ return s;
+ }
+ }
+
+ /**
+ * string query_type = 1;
+ *
+ * @return The bytes for queryType.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getQueryTypeBytes() {
+ java.lang.Object ref = queryType_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ queryType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int USER_FIELD_NUMBER = 2;
+ private volatile java.lang.Object user_;
+
+ /**
+ * string user = 2;
+ *
+ * @return Whether the user field is set.
+ */
+ @java.lang.Override
+ public boolean hasUser() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ * string user = 2;
+ *
+ * @return The user.
+ */
+ @java.lang.Override
+ public java.lang.String getUser() {
+ java.lang.Object ref = user_;
+ if (ref instanceof java.lang.String) {
+ return (java.lang.String) ref;
+ } else {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ user_ = s;
+ return s;
+ }
+ }
+
+ /**
+ * string user = 2;
+ *
+ * @return The bytes for user.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getUserBytes() {
+ java.lang.Object ref = user_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ user_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int CREATE_DATE_FIELD_NUMBER = 3;
+ private long createDate_;
+
+ /**
+ * int64 create_date = 3;
+ *
+ * @return Whether the createDate field is set.
+ */
+ @java.lang.Override
+ public boolean hasCreateDate() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+
+ /**
+ * int64 create_date = 3;
+ *
+ * @return The createDate.
+ */
+ @java.lang.Override
+ public long getCreateDate() {
+ return createDate_;
+ }
+
+ public static final int QUERY_ID_FIELD_NUMBER = 4;
+ private volatile java.lang.Object queryId_;
+
+ /**
+ * string query_id = 4;
+ *
+ * @return Whether the queryId field is set.
+ */
+ @java.lang.Override
+ public boolean hasQueryId() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+
+ /**
+ * string query_id = 4;
+ *
+ * @return The queryId.
+ */
+ @java.lang.Override
+ public java.lang.String getQueryId() {
+ java.lang.Object ref = queryId_;
+ 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();
+ queryId_ = s;
+ return s;
+ }
+ }
+
+ /**
+ * string query_id = 4;
+ *
+ * @return The bytes for queryId.
+ */
+ @java.lang.Override
+ public com.google.protobuf.ByteString getQueryIdBytes() {
+ java.lang.Object ref = queryId_;
+ if (ref instanceof java.lang.String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ queryId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ public static final int SETUP_TIME_FIELD_NUMBER = 5;
+ private long setupTime_;
+
+ /**
+ * uint64 setup_time = 5;
+ *
+ * @return Whether the setupTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasSetupTime() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+
+ /**
+ * uint64 setup_time = 5;
+ *
+ * @return The setupTime.
+ */
+ @java.lang.Override
+ public long getSetupTime() {
+ return setupTime_;
+ }
+
+ public static final int PAGE_TIMES_FIELD_NUMBER = 6;
+ private java.util.Listrepeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ @java.lang.Override
+ public java.util.List extends datawave.webservice.query.metric.MetricsMessages.PageMetricOrBuilder> getPageTimesOrBuilderList() {
+ return pageTimes_;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ @java.lang.Override
+ public int getPageTimesCount() {
+ return pageTimes_.size();
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ @java.lang.Override
+ public datawave.webservice.query.metric.MetricsMessages.PageMetric getPageTimes(int index) {
+ return pageTimes_.get(index);
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ @java.lang.Override
+ public datawave.webservice.query.metric.MetricsMessages.PageMetricOrBuilder getPageTimesOrBuilder(int index) {
+ return pageTimes_.get(index);
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
+ return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 1, queryType_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, user_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ output.writeInt64(3, createDate_);
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, queryId_);
+ }
+ if (((bitField0_ & 0x00000010) != 0)) {
+ output.writeUInt64(5, setupTime_);
+ }
+ for (int i = 0; i < pageTimes_.size(); i++) {
+ output.writeMessage(6, pageTimes_.get(i));
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1)
+ return size;
+
+ size = 0;
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, queryType_);
+ }
+ if (((bitField0_ & 0x00000002) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, user_);
+ }
+ if (((bitField0_ & 0x00000004) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, createDate_);
+ }
+ if (((bitField0_ & 0x00000008) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, queryId_);
+ }
+ if (((bitField0_ & 0x00000010) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeUInt64Size(5, setupTime_);
+ }
+ for (int i = 0; i < pageTimes_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(6, pageTimes_.get(i));
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.webservice.query.metric.MetricsMessages.QueryMetric)) {
+ return super.equals(obj);
+ }
+ datawave.webservice.query.metric.MetricsMessages.QueryMetric other = (datawave.webservice.query.metric.MetricsMessages.QueryMetric) obj;
+
+ if (hasQueryType() != other.hasQueryType())
+ return false;
+ if (hasQueryType()) {
+ if (!getQueryType().equals(other.getQueryType()))
+ return false;
+ }
+ if (hasUser() != other.hasUser())
+ return false;
+ if (hasUser()) {
+ if (!getUser().equals(other.getUser()))
+ return false;
+ }
+ if (hasCreateDate() != other.hasCreateDate())
+ return false;
+ if (hasCreateDate()) {
+ if (getCreateDate() != other.getCreateDate())
+ return false;
+ }
+ if (hasQueryId() != other.hasQueryId())
+ return false;
+ if (hasQueryId()) {
+ if (!getQueryId().equals(other.getQueryId()))
+ return false;
+ }
+ if (hasSetupTime() != other.hasSetupTime())
+ return false;
+ if (hasSetupTime()) {
+ if (getSetupTime() != other.getSetupTime())
+ return false;
+ }
+ if (!getPageTimesList().equals(other.getPageTimesList()))
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ if (hasQueryType()) {
+ hash = (37 * hash) + QUERY_TYPE_FIELD_NUMBER;
+ hash = (53 * hash) + getQueryType().hashCode();
+ }
+ if (hasUser()) {
+ hash = (37 * hash) + USER_FIELD_NUMBER;
+ hash = (53 * hash) + getUser().hashCode();
+ }
+ if (hasCreateDate()) {
+ hash = (37 * hash) + CREATE_DATE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getCreateDate());
+ }
+ if (hasQueryId()) {
+ hash = (37 * hash) + QUERY_ID_FIELD_NUMBER;
+ hash = (53 * hash) + getQueryId().hashCode();
+ }
+ if (hasSetupTime()) {
+ hash = (37 * hash) + SETUP_TIME_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getSetupTime());
+ }
+ if (getPageTimesCount() > 0) {
+ hash = (37 * hash) + PAGE_TIMES_FIELD_NUMBER;
+ hash = (53 * hash) + getPageTimesList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetric parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetric parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetric parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetric parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetric parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetric parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetric parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetric parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetric parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetric parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetric parseFrom(com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetric parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(datawave.webservice.query.metric.MetricsMessages.QueryMetric prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ * Protobuf type {@code datawave.webservice.query.metric.QueryMetric}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builderstring query_type = 1;
+ *
+ * @return Whether the queryType field is set.
+ */
+ public boolean hasQueryType() {
+ return ((bitField0_ & 0x00000001) != 0);
+ }
+
+ /**
+ * string query_type = 1;
+ *
+ * @return The queryType.
+ */
+ public java.lang.String getQueryType() {
+ java.lang.Object ref = queryType_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ queryType_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ * string query_type = 1;
+ *
+ * @return The bytes for queryType.
+ */
+ public com.google.protobuf.ByteString getQueryTypeBytes() {
+ java.lang.Object ref = queryType_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ queryType_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ * string query_type = 1;
+ *
+ * @param value
+ * The queryType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setQueryType(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000001;
+ queryType_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * string query_type = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearQueryType() {
+ bitField0_ = (bitField0_ & ~0x00000001);
+ queryType_ = getDefaultInstance().getQueryType();
+ onChanged();
+ return this;
+ }
+
+ /**
+ * string query_type = 1;
+ *
+ * @param value
+ * The bytes for queryType to set.
+ * @return This builder for chaining.
+ */
+ public Builder setQueryTypeBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ bitField0_ |= 0x00000001;
+ queryType_ = value;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object user_ = "";
+
+ /**
+ * string user = 2;
+ *
+ * @return Whether the user field is set.
+ */
+ public boolean hasUser() {
+ return ((bitField0_ & 0x00000002) != 0);
+ }
+
+ /**
+ * string user = 2;
+ *
+ * @return The user.
+ */
+ public java.lang.String getUser() {
+ java.lang.Object ref = user_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ user_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ * string user = 2;
+ *
+ * @return The bytes for user.
+ */
+ public com.google.protobuf.ByteString getUserBytes() {
+ java.lang.Object ref = user_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ user_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ * string user = 2;
+ *
+ * @param value
+ * The user to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUser(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000002;
+ user_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * string user = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearUser() {
+ bitField0_ = (bitField0_ & ~0x00000002);
+ user_ = getDefaultInstance().getUser();
+ onChanged();
+ return this;
+ }
+
+ /**
+ * string user = 2;
+ *
+ * @param value
+ * The bytes for user to set.
+ * @return This builder for chaining.
+ */
+ public Builder setUserBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ bitField0_ |= 0x00000002;
+ user_ = value;
+ onChanged();
+ return this;
+ }
+
+ private long createDate_;
+
+ /**
+ * int64 create_date = 3;
+ *
+ * @return Whether the createDate field is set.
+ */
+ @java.lang.Override
+ public boolean hasCreateDate() {
+ return ((bitField0_ & 0x00000004) != 0);
+ }
+
+ /**
+ * int64 create_date = 3;
+ *
+ * @return The createDate.
+ */
+ @java.lang.Override
+ public long getCreateDate() {
+ return createDate_;
+ }
+
+ /**
+ * int64 create_date = 3;
+ *
+ * @param value
+ * The createDate to set.
+ * @return This builder for chaining.
+ */
+ public Builder setCreateDate(long value) {
+ bitField0_ |= 0x00000004;
+ createDate_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * int64 create_date = 3;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearCreateDate() {
+ bitField0_ = (bitField0_ & ~0x00000004);
+ createDate_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.lang.Object queryId_ = "";
+
+ /**
+ * string query_id = 4;
+ *
+ * @return Whether the queryId field is set.
+ */
+ public boolean hasQueryId() {
+ return ((bitField0_ & 0x00000008) != 0);
+ }
+
+ /**
+ * string query_id = 4;
+ *
+ * @return The queryId.
+ */
+ public java.lang.String getQueryId() {
+ java.lang.Object ref = queryId_;
+ if (!(ref instanceof java.lang.String)) {
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
+ java.lang.String s = bs.toStringUtf8();
+ queryId_ = s;
+ return s;
+ } else {
+ return (java.lang.String) ref;
+ }
+ }
+
+ /**
+ * string query_id = 4;
+ *
+ * @return The bytes for queryId.
+ */
+ public com.google.protobuf.ByteString getQueryIdBytes() {
+ java.lang.Object ref = queryId_;
+ if (ref instanceof String) {
+ com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
+ queryId_ = b;
+ return b;
+ } else {
+ return (com.google.protobuf.ByteString) ref;
+ }
+ }
+
+ /**
+ * string query_id = 4;
+ *
+ * @param value
+ * The queryId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setQueryId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ bitField0_ |= 0x00000008;
+ queryId_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * string query_id = 4;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearQueryId() {
+ bitField0_ = (bitField0_ & ~0x00000008);
+ queryId_ = getDefaultInstance().getQueryId();
+ onChanged();
+ return this;
+ }
+
+ /**
+ * string query_id = 4;
+ *
+ * @param value
+ * The bytes for queryId to set.
+ * @return This builder for chaining.
+ */
+ public Builder setQueryIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ bitField0_ |= 0x00000008;
+ queryId_ = value;
+ onChanged();
+ return this;
+ }
+
+ private long setupTime_;
+
+ /**
+ * uint64 setup_time = 5;
+ *
+ * @return Whether the setupTime field is set.
+ */
+ @java.lang.Override
+ public boolean hasSetupTime() {
+ return ((bitField0_ & 0x00000010) != 0);
+ }
+
+ /**
+ * uint64 setup_time = 5;
+ *
+ * @return The setupTime.
+ */
+ @java.lang.Override
+ public long getSetupTime() {
+ return setupTime_;
+ }
+
+ /**
+ * uint64 setup_time = 5;
+ *
+ * @param value
+ * The setupTime to set.
+ * @return This builder for chaining.
+ */
+ public Builder setSetupTime(long value) {
+ bitField0_ |= 0x00000010;
+ setupTime_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * uint64 setup_time = 5;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearSetupTime() {
+ bitField0_ = (bitField0_ & ~0x00000010);
+ setupTime_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private java.util.Listrepeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public java.util.Listrepeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public int getPageTimesCount() {
+ if (pageTimesBuilder_ == null) {
+ return pageTimes_.size();
+ } else {
+ return pageTimesBuilder_.getCount();
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public datawave.webservice.query.metric.MetricsMessages.PageMetric getPageTimes(int index) {
+ if (pageTimesBuilder_ == null) {
+ return pageTimes_.get(index);
+ } else {
+ return pageTimesBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public Builder setPageTimes(int index, datawave.webservice.query.metric.MetricsMessages.PageMetric value) {
+ if (pageTimesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePageTimesIsMutable();
+ pageTimes_.set(index, value);
+ onChanged();
+ } else {
+ pageTimesBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public Builder setPageTimes(int index, datawave.webservice.query.metric.MetricsMessages.PageMetric.Builder builderForValue) {
+ if (pageTimesBuilder_ == null) {
+ ensurePageTimesIsMutable();
+ pageTimes_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ pageTimesBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public Builder addPageTimes(datawave.webservice.query.metric.MetricsMessages.PageMetric value) {
+ if (pageTimesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePageTimesIsMutable();
+ pageTimes_.add(value);
+ onChanged();
+ } else {
+ pageTimesBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public Builder addPageTimes(int index, datawave.webservice.query.metric.MetricsMessages.PageMetric value) {
+ if (pageTimesBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensurePageTimesIsMutable();
+ pageTimes_.add(index, value);
+ onChanged();
+ } else {
+ pageTimesBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public Builder addPageTimes(datawave.webservice.query.metric.MetricsMessages.PageMetric.Builder builderForValue) {
+ if (pageTimesBuilder_ == null) {
+ ensurePageTimesIsMutable();
+ pageTimes_.add(builderForValue.build());
+ onChanged();
+ } else {
+ pageTimesBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public Builder addPageTimes(int index, datawave.webservice.query.metric.MetricsMessages.PageMetric.Builder builderForValue) {
+ if (pageTimesBuilder_ == null) {
+ ensurePageTimesIsMutable();
+ pageTimes_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ pageTimesBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public Builder addAllPageTimes(java.lang.Iterable extends datawave.webservice.query.metric.MetricsMessages.PageMetric> values) {
+ if (pageTimesBuilder_ == null) {
+ ensurePageTimesIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, pageTimes_);
+ onChanged();
+ } else {
+ pageTimesBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public Builder clearPageTimes() {
+ if (pageTimesBuilder_ == null) {
+ pageTimes_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000020);
+ onChanged();
+ } else {
+ pageTimesBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public Builder removePageTimes(int index) {
+ if (pageTimesBuilder_ == null) {
+ ensurePageTimesIsMutable();
+ pageTimes_.remove(index);
+ onChanged();
+ } else {
+ pageTimesBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public datawave.webservice.query.metric.MetricsMessages.PageMetric.Builder getPageTimesBuilder(int index) {
+ return getPageTimesFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public datawave.webservice.query.metric.MetricsMessages.PageMetricOrBuilder getPageTimesOrBuilder(int index) {
+ if (pageTimesBuilder_ == null) {
+ return pageTimes_.get(index);
+ } else {
+ return pageTimesBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public java.util.List extends datawave.webservice.query.metric.MetricsMessages.PageMetricOrBuilder> getPageTimesOrBuilderList() {
+ if (pageTimesBuilder_ != null) {
+ return pageTimesBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(pageTimes_);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public datawave.webservice.query.metric.MetricsMessages.PageMetric.Builder addPageTimesBuilder() {
+ return getPageTimesFieldBuilder().addBuilder(datawave.webservice.query.metric.MetricsMessages.PageMetric.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public datawave.webservice.query.metric.MetricsMessages.PageMetric.Builder addPageTimesBuilder(int index) {
+ return getPageTimesFieldBuilder().addBuilder(index, datawave.webservice.query.metric.MetricsMessages.PageMetric.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.PageMetric page_times = 6;
+ */
+ public java.util.Listuint64 operation_time_ms = 1;
+ *
+ * @return The operationTimeMs.
+ */
+ long getOperationTimeMs();
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @return A list containing the messages.
+ */
+ java.util.Listrepeated string messages = 2;
+ *
+ * @return The count of messages.
+ */
+ int getMessagesCount();
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @param index
+ * The index of the element to return.
+ * @return The messages at the given index.
+ */
+ java.lang.String getMessages(int index);
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @param index
+ * The index of the value to return.
+ * @return The bytes of the messages at the given index.
+ */
+ com.google.protobuf.ByteString getMessagesBytes(int index);
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType getExceptions(int index);
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ int getExceptionsCount();
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ java.util.List extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder> getExceptionsOrBuilderList();
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder getExceptionsOrBuilder(int index);
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ java.util.Listrepeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ datawave.webservice.query.metric.MetricsMessages.QueryMetric getResult(int index);
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ int getResultCount();
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ java.util.List extends datawave.webservice.query.metric.MetricsMessages.QueryMetricOrBuilder> getResultOrBuilderList();
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ datawave.webservice.query.metric.MetricsMessages.QueryMetricOrBuilder getResultOrBuilder(int index);
+
+ /**
+ * int32 num_results = 5;
+ *
+ * @return The numResults.
+ */
+ int getNumResults();
+ }
+
+ /**
+ * Protobuf type {@code datawave.webservice.query.metric.QueryMetricListResponse}
+ */
+ public static final class QueryMetricListResponse extends com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:datawave.webservice.query.metric.QueryMetricListResponse)
+ QueryMetricListResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+
+ // Use QueryMetricListResponse.newBuilder() to construct.
+ private QueryMetricListResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
+ super(builder);
+ }
+
+ private QueryMetricListResponse() {
+ messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ exceptions_ = java.util.Collections.emptyList();
+ result_ = java.util.Collections.emptyList();
+ }
+
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new QueryMetricListResponse();
+ }
+
+ @java.lang.Override
+ public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+ return this.unknownFields;
+ }
+
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return datawave.webservice.query.metric.MetricsMessages.internal_static_datawave_webservice_query_metric_QueryMetricListResponse_descriptor;
+ }
+
+ @java.lang.Override
+ protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
+ return datawave.webservice.query.metric.MetricsMessages.internal_static_datawave_webservice_query_metric_QueryMetricListResponse_fieldAccessorTable
+ .ensureFieldAccessorsInitialized(datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse.class,
+ datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse.Builder.class);
+ }
+
+ public static final int OPERATION_TIME_MS_FIELD_NUMBER = 1;
+ private long operationTimeMs_;
+
+ /**
+ * uint64 operation_time_ms = 1;
+ *
+ * @return The operationTimeMs.
+ */
+ @java.lang.Override
+ public long getOperationTimeMs() {
+ return operationTimeMs_;
+ }
+
+ public static final int MESSAGES_FIELD_NUMBER = 2;
+ private com.google.protobuf.LazyStringList messages_;
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @return A list containing the messages.
+ */
+ public com.google.protobuf.ProtocolStringList getMessagesList() {
+ return messages_;
+ }
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @return The count of messages.
+ */
+ public int getMessagesCount() {
+ return messages_.size();
+ }
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @param index
+ * The index of the element to return.
+ * @return The messages at the given index.
+ */
+ public java.lang.String getMessages(int index) {
+ return messages_.get(index);
+ }
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @param index
+ * The index of the value to return.
+ * @return The bytes of the messages at the given index.
+ */
+ public com.google.protobuf.ByteString getMessagesBytes(int index) {
+ return messages_.getByteString(index);
+ }
+
+ public static final int EXCEPTIONS_FIELD_NUMBER = 3;
+ private java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ @java.lang.Override
+ public java.util.List extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder> getExceptionsOrBuilderList() {
+ return exceptions_;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ @java.lang.Override
+ public int getExceptionsCount() {
+ return exceptions_.size();
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ @java.lang.Override
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType getExceptions(int index) {
+ return exceptions_.get(index);
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ @java.lang.Override
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder getExceptionsOrBuilder(int index) {
+ return exceptions_.get(index);
+ }
+
+ public static final int RESULT_FIELD_NUMBER = 4;
+ private java.util.Listrepeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ @java.lang.Override
+ public java.util.Listrepeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ @java.lang.Override
+ public java.util.List extends datawave.webservice.query.metric.MetricsMessages.QueryMetricOrBuilder> getResultOrBuilderList() {
+ return result_;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ @java.lang.Override
+ public int getResultCount() {
+ return result_.size();
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ @java.lang.Override
+ public datawave.webservice.query.metric.MetricsMessages.QueryMetric getResult(int index) {
+ return result_.get(index);
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ @java.lang.Override
+ public datawave.webservice.query.metric.MetricsMessages.QueryMetricOrBuilder getResultOrBuilder(int index) {
+ return result_.get(index);
+ }
+
+ public static final int NUM_RESULTS_FIELD_NUMBER = 5;
+ private int numResults_;
+
+ /**
+ * int32 num_results = 5;
+ *
+ * @return The numResults.
+ */
+ @java.lang.Override
+ public int getNumResults() {
+ return numResults_;
+ }
+
+ private byte memoizedIsInitialized = -1;
+
+ @java.lang.Override
+ public final boolean isInitialized() {
+ byte isInitialized = memoizedIsInitialized;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
+ return false;
+
+ memoizedIsInitialized = 1;
+ return true;
+ }
+
+ @java.lang.Override
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
+ if (operationTimeMs_ != 0L) {
+ output.writeUInt64(1, operationTimeMs_);
+ }
+ for (int i = 0; i < messages_.size(); i++) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, messages_.getRaw(i));
+ }
+ for (int i = 0; i < exceptions_.size(); i++) {
+ output.writeMessage(3, exceptions_.get(i));
+ }
+ for (int i = 0; i < result_.size(); i++) {
+ output.writeMessage(4, result_.get(i));
+ }
+ if (numResults_ != 0) {
+ output.writeInt32(5, numResults_);
+ }
+ getUnknownFields().writeTo(output);
+ }
+
+ @java.lang.Override
+ public int getSerializedSize() {
+ int size = memoizedSize;
+ if (size != -1)
+ return size;
+
+ size = 0;
+ if (operationTimeMs_ != 0L) {
+ size += com.google.protobuf.CodedOutputStream.computeUInt64Size(1, operationTimeMs_);
+ }
+ {
+ int dataSize = 0;
+ for (int i = 0; i < messages_.size(); i++) {
+ dataSize += computeStringSizeNoTag(messages_.getRaw(i));
+ }
+ size += dataSize;
+ size += 1 * getMessagesList().size();
+ }
+ for (int i = 0; i < exceptions_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, exceptions_.get(i));
+ }
+ for (int i = 0; i < result_.size(); i++) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, result_.get(i));
+ }
+ if (numResults_ != 0) {
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, numResults_);
+ }
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
+ return size;
+ }
+
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse)) {
+ return super.equals(obj);
+ }
+ datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse other = (datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse) obj;
+
+ if (getOperationTimeMs() != other.getOperationTimeMs())
+ return false;
+ if (!getMessagesList().equals(other.getMessagesList()))
+ return false;
+ if (!getExceptionsList().equals(other.getExceptionsList()))
+ return false;
+ if (!getResultList().equals(other.getResultList()))
+ return false;
+ if (getNumResults() != other.getNumResults())
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
+
+ @java.lang.Override
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + OPERATION_TIME_MS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOperationTimeMs());
+ if (getMessagesCount() > 0) {
+ hash = (37 * hash) + MESSAGES_FIELD_NUMBER;
+ hash = (53 * hash) + getMessagesList().hashCode();
+ }
+ if (getExceptionsCount() > 0) {
+ hash = (37 * hash) + EXCEPTIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getExceptionsList().hashCode();
+ }
+ if (getResultCount() > 0) {
+ hash = (37 * hash) + RESULT_FIELD_NUMBER;
+ hash = (53 * hash) + getResultList().hashCode();
+ }
+ hash = (37 * hash) + NUM_RESULTS_FIELD_NUMBER;
+ hash = (53 * hash) + getNumResults();
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse parseFrom(com.google.protobuf.ByteString data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse parseFrom(com.google.protobuf.ByteString data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse parseFrom(byte[] data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse parseFrom(byte[] data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse parseFrom(java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse parseFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse parseDelimitedFrom(java.io.InputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse parseDelimitedFrom(java.io.InputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse parseFrom(com.google.protobuf.CodedInputStream input)
+ throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse parseFrom(com.google.protobuf.CodedInputStream input,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
+ }
+
+ @java.lang.Override
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
+ public static Builder newBuilder(datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse prototype) {
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
+ }
+
+ @java.lang.Override
+ public Builder toBuilder() {
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
+ }
+
+ /**
+ * Protobuf type {@code datawave.webservice.query.metric.QueryMetricListResponse}
+ */
+ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builderuint64 operation_time_ms = 1;
+ *
+ * @return The operationTimeMs.
+ */
+ @java.lang.Override
+ public long getOperationTimeMs() {
+ return operationTimeMs_;
+ }
+
+ /**
+ * uint64 operation_time_ms = 1;
+ *
+ * @param value
+ * The operationTimeMs to set.
+ * @return This builder for chaining.
+ */
+ public Builder setOperationTimeMs(long value) {
+
+ operationTimeMs_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * uint64 operation_time_ms = 1;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearOperationTimeMs() {
+
+ operationTimeMs_ = 0L;
+ onChanged();
+ return this;
+ }
+
+ private com.google.protobuf.LazyStringList messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+
+ private void ensureMessagesIsMutable() {
+ if (!((bitField0_ & 0x00000001) != 0)) {
+ messages_ = new com.google.protobuf.LazyStringArrayList(messages_);
+ bitField0_ |= 0x00000001;
+ }
+ }
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @return A list containing the messages.
+ */
+ public com.google.protobuf.ProtocolStringList getMessagesList() {
+ return messages_.getUnmodifiableView();
+ }
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @return The count of messages.
+ */
+ public int getMessagesCount() {
+ return messages_.size();
+ }
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @param index
+ * The index of the element to return.
+ * @return The messages at the given index.
+ */
+ public java.lang.String getMessages(int index) {
+ return messages_.get(index);
+ }
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @param index
+ * The index of the value to return.
+ * @return The bytes of the messages at the given index.
+ */
+ public com.google.protobuf.ByteString getMessagesBytes(int index) {
+ return messages_.getByteString(index);
+ }
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @param index
+ * The index to set the value at.
+ * @param value
+ * The messages to set.
+ * @return This builder for chaining.
+ */
+ public Builder setMessages(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMessagesIsMutable();
+ messages_.set(index, value);
+ onChanged();
+ return this;
+ }
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @param value
+ * The messages to add.
+ * @return This builder for chaining.
+ */
+ public Builder addMessages(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureMessagesIsMutable();
+ messages_.add(value);
+ onChanged();
+ return this;
+ }
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @param values
+ * The messages to add.
+ * @return This builder for chaining.
+ */
+ public Builder addAllMessages(java.lang.Iterablerepeated string messages = 2;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearMessages() {
+ messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
+ return this;
+ }
+
+ /**
+ * repeated string messages = 2;
+ *
+ * @param value
+ * The bytes of the messages to add.
+ * @return This builder for chaining.
+ */
+ public Builder addMessagesBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ checkByteStringIsUtf8(value);
+ ensureMessagesIsMutable();
+ messages_.add(value);
+ onChanged();
+ return this;
+ }
+
+ private java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public int getExceptionsCount() {
+ if (exceptionsBuilder_ == null) {
+ return exceptions_.size();
+ } else {
+ return exceptionsBuilder_.getCount();
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType getExceptions(int index) {
+ if (exceptionsBuilder_ == null) {
+ return exceptions_.get(index);
+ } else {
+ return exceptionsBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public Builder setExceptions(int index, datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType value) {
+ if (exceptionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExceptionsIsMutable();
+ exceptions_.set(index, value);
+ onChanged();
+ } else {
+ exceptionsBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public Builder setExceptions(int index, datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder builderForValue) {
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ exceptions_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ exceptionsBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public Builder addExceptions(datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType value) {
+ if (exceptionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExceptionsIsMutable();
+ exceptions_.add(value);
+ onChanged();
+ } else {
+ exceptionsBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public Builder addExceptions(int index, datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType value) {
+ if (exceptionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExceptionsIsMutable();
+ exceptions_.add(index, value);
+ onChanged();
+ } else {
+ exceptionsBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public Builder addExceptions(datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder builderForValue) {
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ exceptions_.add(builderForValue.build());
+ onChanged();
+ } else {
+ exceptionsBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public Builder addExceptions(int index, datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder builderForValue) {
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ exceptions_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ exceptionsBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public Builder addAllExceptions(java.lang.Iterable extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType> values) {
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptions_);
+ onChanged();
+ } else {
+ exceptionsBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public Builder clearExceptions() {
+ if (exceptionsBuilder_ == null) {
+ exceptions_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ exceptionsBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public Builder removeExceptions(int index) {
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ exceptions_.remove(index);
+ onChanged();
+ } else {
+ exceptionsBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder getExceptionsBuilder(int index) {
+ return getExceptionsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder getExceptionsOrBuilder(int index) {
+ if (exceptionsBuilder_ == null) {
+ return exceptions_.get(index);
+ } else {
+ return exceptionsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public java.util.List extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder> getExceptionsOrBuilderList() {
+ if (exceptionsBuilder_ != null) {
+ return exceptionsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(exceptions_);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder addExceptionsBuilder() {
+ return getExceptionsFieldBuilder().addBuilder(datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder addExceptionsBuilder(int index) {
+ return getExceptionsFieldBuilder().addBuilder(index,
+ datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public java.util.Listrepeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public java.util.Listrepeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public int getResultCount() {
+ if (resultBuilder_ == null) {
+ return result_.size();
+ } else {
+ return resultBuilder_.getCount();
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public datawave.webservice.query.metric.MetricsMessages.QueryMetric getResult(int index) {
+ if (resultBuilder_ == null) {
+ return result_.get(index);
+ } else {
+ return resultBuilder_.getMessage(index);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public Builder setResult(int index, datawave.webservice.query.metric.MetricsMessages.QueryMetric value) {
+ if (resultBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureResultIsMutable();
+ result_.set(index, value);
+ onChanged();
+ } else {
+ resultBuilder_.setMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public Builder setResult(int index, datawave.webservice.query.metric.MetricsMessages.QueryMetric.Builder builderForValue) {
+ if (resultBuilder_ == null) {
+ ensureResultIsMutable();
+ result_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ resultBuilder_.setMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public Builder addResult(datawave.webservice.query.metric.MetricsMessages.QueryMetric value) {
+ if (resultBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureResultIsMutable();
+ result_.add(value);
+ onChanged();
+ } else {
+ resultBuilder_.addMessage(value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public Builder addResult(int index, datawave.webservice.query.metric.MetricsMessages.QueryMetric value) {
+ if (resultBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureResultIsMutable();
+ result_.add(index, value);
+ onChanged();
+ } else {
+ resultBuilder_.addMessage(index, value);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public Builder addResult(datawave.webservice.query.metric.MetricsMessages.QueryMetric.Builder builderForValue) {
+ if (resultBuilder_ == null) {
+ ensureResultIsMutable();
+ result_.add(builderForValue.build());
+ onChanged();
+ } else {
+ resultBuilder_.addMessage(builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public Builder addResult(int index, datawave.webservice.query.metric.MetricsMessages.QueryMetric.Builder builderForValue) {
+ if (resultBuilder_ == null) {
+ ensureResultIsMutable();
+ result_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ resultBuilder_.addMessage(index, builderForValue.build());
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public Builder addAllResult(java.lang.Iterable extends datawave.webservice.query.metric.MetricsMessages.QueryMetric> values) {
+ if (resultBuilder_ == null) {
+ ensureResultIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, result_);
+ onChanged();
+ } else {
+ resultBuilder_.addAllMessages(values);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public Builder clearResult() {
+ if (resultBuilder_ == null) {
+ result_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ resultBuilder_.clear();
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public Builder removeResult(int index) {
+ if (resultBuilder_ == null) {
+ ensureResultIsMutable();
+ result_.remove(index);
+ onChanged();
+ } else {
+ resultBuilder_.remove(index);
+ }
+ return this;
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public datawave.webservice.query.metric.MetricsMessages.QueryMetric.Builder getResultBuilder(int index) {
+ return getResultFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public datawave.webservice.query.metric.MetricsMessages.QueryMetricOrBuilder getResultOrBuilder(int index) {
+ if (resultBuilder_ == null) {
+ return result_.get(index);
+ } else {
+ return resultBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public java.util.List extends datawave.webservice.query.metric.MetricsMessages.QueryMetricOrBuilder> getResultOrBuilderList() {
+ if (resultBuilder_ != null) {
+ return resultBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(result_);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public datawave.webservice.query.metric.MetricsMessages.QueryMetric.Builder addResultBuilder() {
+ return getResultFieldBuilder().addBuilder(datawave.webservice.query.metric.MetricsMessages.QueryMetric.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public datawave.webservice.query.metric.MetricsMessages.QueryMetric.Builder addResultBuilder(int index) {
+ return getResultFieldBuilder().addBuilder(index, datawave.webservice.query.metric.MetricsMessages.QueryMetric.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.metric.QueryMetric result = 4;
+ */
+ public java.util.Listint32 num_results = 5;
+ *
+ * @return The numResults.
+ */
+ @java.lang.Override
+ public int getNumResults() {
+ return numResults_;
+ }
+
+ /**
+ * int32 num_results = 5;
+ *
+ * @param value
+ * The numResults to set.
+ * @return This builder for chaining.
+ */
+ public Builder setNumResults(int value) {
+
+ numResults_ = value;
+ onChanged();
+ return this;
+ }
+
+ /**
+ * int32 num_results = 5;
+ *
+ * @return This builder for chaining.
+ */
+ public Builder clearNumResults() {
+
+ numResults_ = 0;
+ onChanged();
+ return this;
+ }
+
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
+ // @@protoc_insertion_point(builder_scope:datawave.webservice.query.metric.QueryMetricListResponse)
+ }
+
+ // @@protoc_insertion_point(class_scope:datawave.webservice.query.metric.QueryMetricListResponse)
+ private static final datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse DEFAULT_INSTANCE;
+ static {
+ DEFAULT_INSTANCE = new datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse();
+ }
+
+ public static datawave.webservice.query.metric.MetricsMessages.QueryMetricListResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
+
+ private static final com.google.protobuf.Parserrequired uint64 operation_time_ms = 1 [default = 0];
- *
- * @return if it has operation time in ms
- */
- boolean hasOperationTimeMs();
+ public interface VoidResponseOrBuilder extends
+ // @@protoc_insertion_point(interface_extends:datawave.webservice.result.VoidResponse)
+ com.google.protobuf.MessageOrBuilder {
/**
- * required uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
- * @return the operation time in ms
+ * @return The operationTimeMs.
*/
long getOperationTimeMs();
- // repeated string messages = 2;
/**
* repeated string messages = 2;
*
- * @return list of messages
+ * @return A list containing the messages.
*/
java.util.Listrepeated string messages = 2;
*
- * @return the number of messages in the list
+ * @return The count of messages.
*/
int getMessagesCount();
@@ -44,9 +41,8 @@ public interface VoidResponseOrBuilder extends com.google.protobuf.MessageLiteOr
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message at the provided index
+ * The index of the element to return.
+ * @return The messages at the given index.
*/
java.lang.String getMessages(int index);
@@ -54,169 +50,106 @@ public interface VoidResponseOrBuilder extends com.google.protobuf.MessageLiteOr
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message byte string at the provided index
+ * The index of the value to return.
+ * @return The bytes of the messages at the given index.
*/
com.google.protobuf.ByteString getMessagesBytes(int index);
- // repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return list of exceptions
*/
java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- *
- * @return the exception at the provided index
*/
datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType getExceptions(int index);
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return the number of exceptions
*/
int getExceptionsCount();
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ java.util.List extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder> getExceptionsOrBuilderList();
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder getExceptionsOrBuilder(int index);
}
/**
* Protobuf type {@code datawave.webservice.result.VoidResponse}
*/
- public static final class VoidResponse extends com.google.protobuf.GeneratedMessageLite implements VoidResponseOrBuilder {
+ public static final class VoidResponse extends com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:datawave.webservice.result.VoidResponse)
+ VoidResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+
// Use VoidResponse.newBuilder() to construct.
- private VoidResponse(com.google.protobuf.GeneratedMessageLite.Builder builder) {
+ private VoidResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
-
}
- private VoidResponse(boolean noInit) {}
-
- private static final VoidResponse defaultInstance;
-
- public static VoidResponse getDefaultInstance() {
- return defaultInstance;
+ private VoidResponse() {
+ messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ exceptions_ = java.util.Collections.emptyList();
}
- public VoidResponse getDefaultInstanceForType() {
- return defaultInstance;
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new VoidResponse();
}
- private VoidResponse(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000001;
- operationTimeMs_ = input.readUInt64();
- break;
- }
- case 18: {
- if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
- messages_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000002;
- }
- messages_.add(input.readBytes());
- break;
- }
- case 26: {
- if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
- exceptions_ = new java.util.ArrayListrequired uint64 operation_time_ms = 1 [default = 0];
- *
- * @return if it has an operation time
- */
- public boolean hasOperationTimeMs() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
-
- /**
- * required uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
- * @return the operation time in ms
+ * @return The operationTimeMs.
*/
+ @java.lang.Override
public long getOperationTimeMs() {
return operationTimeMs_;
}
- // repeated string messages = 2;
public static final int MESSAGES_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList messages_;
/**
* repeated string messages = 2;
*
- * @return the list of messages
+ * @return A list containing the messages.
*/
- public java.util.Listrepeated string messages = 2;
*
- * @return the number of messages
+ * @return The count of messages.
*/
public int getMessagesCount() {
return messages_.size();
@@ -226,9 +159,8 @@ public int getMessagesCount() {
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message at the index provided
+ * The index of the element to return.
+ * @return The messages at the given index.
*/
public java.lang.String getMessages(int index) {
return messages_.get(index);
@@ -238,118 +170,98 @@ public java.lang.String getMessages(int index) {
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return message byte string at the provided index
+ * The index of the value to return.
+ * @return The bytes of the messages at the given index.
*/
public com.google.protobuf.ByteString getMessagesBytes(int index) {
return messages_.getByteString(index);
}
- // repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
public static final int EXCEPTIONS_FIELD_NUMBER = 3;
private java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return list of exceptions
*/
+ @java.lang.Override
public java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return list of exceptions
*/
+ @java.lang.Override
public java.util.List extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder> getExceptionsOrBuilderList() {
return exceptions_;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return the number of exceptions in the list
*/
+ @java.lang.Override
public int getExceptionsCount() {
return exceptions_.size();
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- *
- * @return the exception at the index
*/
+ @java.lang.Override
public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType getExceptions(int index) {
return exceptions_.get(index);
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- *
- * @return the exception at the index
*/
+ @java.lang.Override
public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder getExceptionsOrBuilder(int index) {
return exceptions_.get(index);
}
- private void initFields() {
- operationTimeMs_ = 0L;
- messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- exceptions_ = java.util.Collections.emptyList();
- }
-
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1)
- return isInitialized == 1;
-
- if (!hasOperationTimeMs()) {
- memoizedIsInitialized = 0;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
return false;
- }
+
memoizedIsInitialized = 1;
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (operationTimeMs_ != 0L) {
output.writeUInt64(1, operationTimeMs_);
}
for (int i = 0; i < messages_.size(); i++) {
- output.writeBytes(2, messages_.getByteString(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, messages_.getRaw(i));
}
for (int i = 0; i < exceptions_.size(); i++) {
output.writeMessage(3, exceptions_.get(i));
}
+ getUnknownFields().writeTo(output);
}
- private int memoizedSerializedSize = -1;
-
+ @java.lang.Override
public int getSerializedSize() {
- int size = memoizedSerializedSize;
+ int size = memoizedSize;
if (size != -1)
return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (operationTimeMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(1, operationTimeMs_);
}
{
int dataSize = 0;
for (int i = 0; i < messages_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream.computeBytesSizeNoTag(messages_.getByteString(i));
+ dataSize += computeStringSizeNoTag(messages_.getRaw(i));
}
size += dataSize;
size += 1 * getMessagesList().size();
@@ -357,15 +269,62 @@ public int getSerializedSize() {
for (int i = 0; i < exceptions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, exceptions_.get(i));
}
- memoizedSerializedSize = size;
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.webservice.result.ResponseMessages.VoidResponse)) {
+ return super.equals(obj);
+ }
+ datawave.webservice.result.ResponseMessages.VoidResponse other = (datawave.webservice.result.ResponseMessages.VoidResponse) obj;
+
+ if (getOperationTimeMs() != other.getOperationTimeMs())
+ return false;
+ if (!getMessagesList().equals(other.getMessagesList()))
+ return false;
+ if (!getExceptionsList().equals(other.getExceptionsList()))
+ return false;
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
@java.lang.Override
- protected java.lang.Object writeReplace() throws java.io.ObjectStreamException {
- return super.writeReplace();
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + OPERATION_TIME_MS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOperationTimeMs());
+ if (getMessagesCount() > 0) {
+ hash = (37 * hash) + MESSAGES_FIELD_NUMBER;
+ hash = (53 * hash) + getMessagesList().hashCode();
+ }
+ if (getExceptionsCount() > 0) {
+ hash = (37 * hash) + EXCEPTIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getExceptionsList().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.webservice.result.ResponseMessages.VoidResponse parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.result.ResponseMessages.VoidResponse parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static datawave.webservice.result.ResponseMessages.VoidResponse parseFrom(com.google.protobuf.ByteString data)
@@ -389,85 +348,112 @@ public static datawave.webservice.result.ResponseMessages.VoidResponse parseFrom
}
public static datawave.webservice.result.ResponseMessages.VoidResponse parseFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.webservice.result.ResponseMessages.VoidResponse parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.webservice.result.ResponseMessages.VoidResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static datawave.webservice.result.ResponseMessages.VoidResponse parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.webservice.result.ResponseMessages.VoidResponse parseFrom(com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.webservice.result.ResponseMessages.VoidResponse 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();
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
public static Builder newBuilder(datawave.webservice.result.ResponseMessages.VoidResponse prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
- return newBuilder(this);
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
}
/**
* Protobuf type {@code datawave.webservice.result.VoidResponse}
*/
- public static final class Builder
- extends com.google.protobuf.GeneratedMessageLite.Builderrequired uint64 operation_time_ms = 1 [default = 0];
- *
- * @return if it has operation time in ms
- */
- public boolean hasOperationTimeMs() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
-
- /**
- * required uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
- * @return operation time in ms
+ * @return The operationTimeMs.
*/
+ @java.lang.Override
public long getOperationTimeMs() {
return operationTimeMs_;
}
/**
- * required uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
* @param value
- * the new operation time in ms
- *
- * @return builder to set operation time in ms
+ * The operationTimeMs to set.
+ * @return This builder for chaining.
*/
public Builder setOperationTimeMs(long value) {
- bitField0_ |= 0x00000001;
- operationTimeMs_ = value;
+ operationTimeMs_ = value;
+ onChanged();
return this;
}
/**
- * required uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
- * @return builder to clear operation time
+ * @return This builder for chaining.
*/
public Builder clearOperationTimeMs() {
- bitField0_ = (bitField0_ & ~0x00000001);
- operationTimeMs_ = 0L;
+ operationTimeMs_ = 0L;
+ onChanged();
return this;
}
- // repeated string messages = 2;
private com.google.protobuf.LazyStringList messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMessagesIsMutable() {
- if (!((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
messages_ = new com.google.protobuf.LazyStringArrayList(messages_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
/**
* repeated string messages = 2;
*
- * @return the message list
+ * @return A list containing the messages.
*/
- public java.util.Listrepeated string messages = 2;
*
- * @return the number of messages in the list
+ * @return The count of messages.
*/
public int getMessagesCount() {
return messages_.size();
@@ -633,9 +698,8 @@ public int getMessagesCount() {
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message at the provided index
+ * The index of the element to return.
+ * @return The messages at the given index.
*/
public java.lang.String getMessages(int index) {
return messages_.get(index);
@@ -645,9 +709,8 @@ public java.lang.String getMessages(int index) {
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message byte string at the provided index
+ * The index of the value to return.
+ * @return The bytes of the messages at the given index.
*/
public com.google.protobuf.ByteString getMessagesBytes(int index) {
return messages_.getByteString(index);
@@ -657,11 +720,10 @@ public com.google.protobuf.ByteString getMessagesBytes(int index) {
* repeated string messages = 2;
*
* @param index
- * the index
+ * The index to set the value at.
* @param value
- * the new messagew
- *
- * @return builder to set the message value at the provided index
+ * The messages to set.
+ * @return This builder for chaining.
*/
public Builder setMessages(int index, java.lang.String value) {
if (value == null) {
@@ -669,7 +731,7 @@ public Builder setMessages(int index, java.lang.String value) {
}
ensureMessagesIsMutable();
messages_.set(index, value);
-
+ onChanged();
return this;
}
@@ -677,9 +739,8 @@ public Builder setMessages(int index, java.lang.String value) {
* repeated string messages = 2;
*
* @param value
- * a message to add to the lsit
- *
- * @return builder to add the provided message
+ * The messages to add.
+ * @return This builder for chaining.
*/
public Builder addMessages(java.lang.String value) {
if (value == null) {
@@ -687,7 +748,7 @@ public Builder addMessages(java.lang.String value) {
}
ensureMessagesIsMutable();
messages_.add(value);
-
+ onChanged();
return this;
}
@@ -695,26 +756,25 @@ public Builder addMessages(java.lang.String value) {
* repeated string messages = 2;
*
* @param values
- * iterable of messages to add
- *
- * @return builder to add all messages provided
+ * The messages to add.
+ * @return This builder for chaining.
*/
public Builder addAllMessages(java.lang.Iterablerepeated string messages = 2;
*
- * @return builder to clear the message list
+ * @return This builder for chaining.
*/
public Builder clearMessages() {
messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
-
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
return this;
}
@@ -722,249 +782,338 @@ public Builder clearMessages() {
* repeated string messages = 2;
*
* @param value
- * new message byte string
- *
- * @return builder to add the provided message as byte string
+ * The bytes of the messages to add.
+ * @return This builder for chaining.
*/
public Builder addMessagesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
+ checkByteStringIsUtf8(value);
ensureMessagesIsMutable();
messages_.add(value);
-
+ onChanged();
return this;
}
- // repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
private java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return list of exceptions
*/
public java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return the number of exceptions in the list
*/
public int getExceptionsCount() {
- return exceptions_.size();
+ if (exceptionsBuilder_ == null) {
+ return exceptions_.size();
+ } else {
+ return exceptionsBuilder_.getCount();
+ }
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- *
- * @return the exception at the provided index
*/
public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType getExceptions(int index) {
- return exceptions_.get(index);
+ if (exceptionsBuilder_ == null) {
+ return exceptions_.get(index);
+ } else {
+ return exceptionsBuilder_.getMessage(index);
+ }
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- * @param value
- * the new exception type
- *
- * @return builder to set exception at provided index to the value
*/
public Builder setExceptions(int index, datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType value) {
- if (value == null) {
- throw new NullPointerException();
+ if (exceptionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExceptionsIsMutable();
+ exceptions_.set(index, value);
+ onChanged();
+ } else {
+ exceptionsBuilder_.setMessage(index, value);
}
- ensureExceptionsIsMutable();
- exceptions_.set(index, value);
-
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- * @param builderForValue
- * query exception type builder
- *
- * @return builder to set the exception at the index to the provided value
*/
public Builder setExceptions(int index, datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder builderForValue) {
- ensureExceptionsIsMutable();
- exceptions_.set(index, builderForValue.build());
-
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ exceptions_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ exceptionsBuilder_.setMessage(index, builderForValue.build());
+ }
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param value
- * the exception type to add
- *
- * @return builder to add the provided value
*/
public Builder addExceptions(datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType value) {
- if (value == null) {
- throw new NullPointerException();
+ if (exceptionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExceptionsIsMutable();
+ exceptions_.add(value);
+ onChanged();
+ } else {
+ exceptionsBuilder_.addMessage(value);
}
- ensureExceptionsIsMutable();
- exceptions_.add(value);
-
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- * @param value
- * the exception to add
- *
- * @return builder to add the provided exception to the provided index
*/
public Builder addExceptions(int index, datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType value) {
- if (value == null) {
- throw new NullPointerException();
+ if (exceptionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExceptionsIsMutable();
+ exceptions_.add(index, value);
+ onChanged();
+ } else {
+ exceptionsBuilder_.addMessage(index, value);
}
- ensureExceptionsIsMutable();
- exceptions_.add(index, value);
-
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param builderForValue
- * the builder with new value
- *
- * @return builder to add provided exception
*/
public Builder addExceptions(datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder builderForValue) {
- ensureExceptionsIsMutable();
- exceptions_.add(builderForValue.build());
-
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ exceptions_.add(builderForValue.build());
+ onChanged();
+ } else {
+ exceptionsBuilder_.addMessage(builderForValue.build());
+ }
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- * @param builderForValue
- * the builder to add a value
- *
- * @return builder to add exception at provided index
*/
public Builder addExceptions(int index, datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder builderForValue) {
- ensureExceptionsIsMutable();
- exceptions_.add(index, builderForValue.build());
-
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ exceptions_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ exceptionsBuilder_.addMessage(index, builderForValue.build());
+ }
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param values
- * iterable of values to add to exceptions list
- *
- * @return builder to add provided values
*/
public Builder addAllExceptions(java.lang.Iterable extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType> values) {
- ensureExceptionsIsMutable();
- super.addAll(values, exceptions_);
-
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptions_);
+ onChanged();
+ } else {
+ exceptionsBuilder_.addAllMessages(values);
+ }
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return builder to clear exceptions
*/
public Builder clearExceptions() {
- exceptions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
-
+ if (exceptionsBuilder_ == null) {
+ exceptions_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ exceptionsBuilder_.clear();
+ }
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- *
- * @return builder to remove exceptions at the provided index
*/
public Builder removeExceptions(int index) {
- ensureExceptionsIsMutable();
- exceptions_.remove(index);
-
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ exceptions_.remove(index);
+ onChanged();
+ } else {
+ exceptionsBuilder_.remove(index);
+ }
return this;
}
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder getExceptionsBuilder(int index) {
+ return getExceptionsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder getExceptionsOrBuilder(int index) {
+ if (exceptionsBuilder_ == null) {
+ return exceptions_.get(index);
+ } else {
+ return exceptionsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public java.util.List extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder> getExceptionsOrBuilderList() {
+ if (exceptionsBuilder_ != null) {
+ return exceptionsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(exceptions_);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder addExceptionsBuilder() {
+ return getExceptionsFieldBuilder().addBuilder(datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder addExceptionsBuilder(int index) {
+ return getExceptionsFieldBuilder().addBuilder(index,
+ datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public java.util.Listrequired uint64 operation_time_ms = 1 [default = 0];
- *
- * @return if it has operation time
- */
- boolean hasOperationTimeMs();
+ @java.lang.Override
+ public com.google.protobuf.Parserrequired uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
- * @return the operation time in ms
+ * @return The operationTimeMs.
*/
long getOperationTimeMs();
- // repeated string messages = 2;
/**
* repeated string messages = 2;
*
- * @return the messages list
+ * @return A list containing the messages.
*/
java.util.Listrepeated string messages = 2;
*
- * @return the number of messages in the list
+ * @return The count of messages.
*/
int getMessagesCount();
@@ -972,9 +1121,8 @@ public interface QueryImplListResponseOrBuilder extends com.google.protobuf.Mess
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message at the provided index
+ * The index of the element to return.
+ * @return The messages at the given index.
*/
java.lang.String getMessages(int index);
@@ -982,74 +1130,72 @@ public interface QueryImplListResponseOrBuilder extends com.google.protobuf.Mess
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message byte string at the provided index
+ * The index of the value to return.
+ * @return The bytes of the messages at the given index.
*/
com.google.protobuf.ByteString getMessagesBytes(int index);
- // repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return list of exceptions
*/
java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- *
- * @return the exception at the provided index
*/
datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType getExceptions(int index);
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return the number of exceptions in the list
*/
int getExceptionsCount();
- // repeated .datawave.webservice.query.QueryImpl query = 4;
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ java.util.List extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder> getExceptionsOrBuilderList();
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder getExceptionsOrBuilder(int index);
+
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @return the query list
*/
java.util.Listrepeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @param index
- * the index
- *
- * @return the query message at the provided index
*/
datawave.webservice.query.QueryMessages.QueryImpl getQuery(int index);
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @return the number of queries in the list
*/
int getQueryCount();
- // optional uint32 numResults = 5 [default = 0];
/**
- * optional uint32 numResults = 5 [default = 0];
+ * repeated .datawave.webservice.query.QueryImpl query = 4;
+ */
+ java.util.List extends datawave.webservice.query.QueryMessages.QueryImplOrBuilder> getQueryOrBuilderList();
+
+ /**
+ * repeated .datawave.webservice.query.QueryImpl query = 4;
+ */
+ datawave.webservice.query.QueryMessages.QueryImplOrBuilder getQueryOrBuilder(int index);
+
+ /**
+ * uint32 numResults = 5;
*
- * @return if it has a number of results
+ * @return Whether the numResults field is set.
*/
boolean hasNumResults();
/**
- * optional uint32 numResults = 5 [default = 0];
+ * uint32 numResults = 5;
*
- * @return the number of results
+ * @return The numResults.
*/
int getNumResults();
}
@@ -1057,150 +1203,74 @@ public interface QueryImplListResponseOrBuilder extends com.google.protobuf.Mess
/**
* Protobuf type {@code datawave.webservice.result.QueryImplListResponse}
*/
- public static final class QueryImplListResponse extends com.google.protobuf.GeneratedMessageLite implements QueryImplListResponseOrBuilder {
+ public static final class QueryImplListResponse extends com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:datawave.webservice.result.QueryImplListResponse)
+ QueryImplListResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+
// Use QueryImplListResponse.newBuilder() to construct.
- private QueryImplListResponse(com.google.protobuf.GeneratedMessageLite.Builder builder) {
+ private QueryImplListResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
-
}
- private QueryImplListResponse(boolean noInit) {}
-
- private static final QueryImplListResponse defaultInstance;
-
- public static QueryImplListResponse getDefaultInstance() {
- return defaultInstance;
+ private QueryImplListResponse() {
+ messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ exceptions_ = java.util.Collections.emptyList();
+ query_ = java.util.Collections.emptyList();
}
- public QueryImplListResponse getDefaultInstanceForType() {
- return defaultInstance;
+ @java.lang.Override
+ @SuppressWarnings({"unused"})
+ protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+ return new QueryImplListResponse();
}
- private QueryImplListResponse(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000001;
- operationTimeMs_ = input.readUInt64();
- break;
- }
- case 18: {
- if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
- messages_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000002;
- }
- messages_.add(input.readBytes());
- break;
- }
- case 26: {
- if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
- exceptions_ = new java.util.ArrayListrequired uint64 operation_time_ms = 1 [default = 0];
- *
- * @return if it has operation time
- */
- public boolean hasOperationTimeMs() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
-
- /**
- * required uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
- * @return the operation time in ms
+ * @return The operationTimeMs.
*/
+ @java.lang.Override
public long getOperationTimeMs() {
return operationTimeMs_;
}
- // repeated string messages = 2;
public static final int MESSAGES_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList messages_;
/**
* repeated string messages = 2;
*
- * @return the messages list
+ * @return A list containing the messages.
*/
- public java.util.Listrepeated string messages = 2;
*
- * @return the number of messages in the list
+ * @return The count of messages.
*/
public int getMessagesCount() {
return messages_.size();
@@ -1210,9 +1280,8 @@ public int getMessagesCount() {
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message at the provided index
+ * The index of the element to return.
+ * @return The messages at the given index.
*/
public java.lang.String getMessages(int index) {
return messages_.get(index);
@@ -1222,182 +1291,143 @@ public java.lang.String getMessages(int index) {
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message byte string at the provided index
+ * The index of the value to return.
+ * @return The bytes of the messages at the given index.
*/
public com.google.protobuf.ByteString getMessagesBytes(int index) {
return messages_.getByteString(index);
}
- // repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
public static final int EXCEPTIONS_FIELD_NUMBER = 3;
private java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return the exception list
*/
+ @java.lang.Override
public java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return the exception list
*/
+ @java.lang.Override
public java.util.List extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder> getExceptionsOrBuilderList() {
return exceptions_;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return the number of exceptions in the list
*/
+ @java.lang.Override
public int getExceptionsCount() {
return exceptions_.size();
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- *
- * @return the exception at the provided index
*/
+ @java.lang.Override
public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType getExceptions(int index) {
return exceptions_.get(index);
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- *
- * @return exception at the provided index
*/
+ @java.lang.Override
public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder getExceptionsOrBuilder(int index) {
return exceptions_.get(index);
}
- // repeated .datawave.webservice.query.QueryImpl query = 4;
public static final int QUERY_FIELD_NUMBER = 4;
private java.util.Listrepeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @return the query list
*/
+ @java.lang.Override
public java.util.Listrepeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @return the query list
*/
+ @java.lang.Override
public java.util.List extends datawave.webservice.query.QueryMessages.QueryImplOrBuilder> getQueryOrBuilderList() {
return query_;
}
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @return the number of queries in the list
*/
+ @java.lang.Override
public int getQueryCount() {
return query_.size();
}
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @param index
- * the index
- *
- * @return the query at the provided index
*/
+ @java.lang.Override
public datawave.webservice.query.QueryMessages.QueryImpl getQuery(int index) {
return query_.get(index);
}
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @param index
- * the index
- *
- * @return the query at the provided index
*/
+ @java.lang.Override
public datawave.webservice.query.QueryMessages.QueryImplOrBuilder getQueryOrBuilder(int index) {
return query_.get(index);
}
- // optional uint32 numResults = 5 [default = 0];
public static final int NUMRESULTS_FIELD_NUMBER = 5;
private int numResults_;
/**
- * optional uint32 numResults = 5 [default = 0];
+ * uint32 numResults = 5;
*
- * @return if there are a number of results
+ * @return Whether the numResults field is set.
*/
+ @java.lang.Override
public boolean hasNumResults() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * optional uint32 numResults = 5 [default = 0];
+ * uint32 numResults = 5;
*
- * @return the number of results
+ * @return The numResults.
*/
+ @java.lang.Override
public int getNumResults() {
return numResults_;
}
- private void initFields() {
- operationTimeMs_ = 0L;
- messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- exceptions_ = java.util.Collections.emptyList();
- query_ = java.util.Collections.emptyList();
- numResults_ = 0;
- }
-
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1)
- return isInitialized == 1;
-
- if (!hasOperationTimeMs()) {
- memoizedIsInitialized = 0;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
return false;
- }
- for (int i = 0; i < getQueryCount(); i++) {
- if (!getQuery(i).isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
+
memoizedIsInitialized = 1;
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (operationTimeMs_ != 0L) {
output.writeUInt64(1, operationTimeMs_);
}
for (int i = 0; i < messages_.size(); i++) {
- output.writeBytes(2, messages_.getByteString(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, messages_.getRaw(i));
}
for (int i = 0; i < exceptions_.size(); i++) {
output.writeMessage(3, exceptions_.get(i));
@@ -1405,26 +1435,26 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
for (int i = 0; i < query_.size(); i++) {
output.writeMessage(4, query_.get(i));
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
output.writeUInt32(5, numResults_);
}
+ getUnknownFields().writeTo(output);
}
- private int memoizedSerializedSize = -1;
-
+ @java.lang.Override
public int getSerializedSize() {
- int size = memoizedSerializedSize;
+ int size = memoizedSize;
if (size != -1)
return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (operationTimeMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(1, operationTimeMs_);
}
{
int dataSize = 0;
for (int i = 0; i < messages_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream.computeBytesSizeNoTag(messages_.getByteString(i));
+ dataSize += computeStringSizeNoTag(messages_.getRaw(i));
}
size += dataSize;
size += 1 * getMessagesList().size();
@@ -1435,18 +1465,81 @@ public int getSerializedSize() {
for (int i = 0; i < query_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, query_.get(i));
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeUInt32Size(5, numResults_);
}
- memoizedSerializedSize = size;
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.webservice.result.ResponseMessages.QueryImplListResponse)) {
+ return super.equals(obj);
+ }
+ datawave.webservice.result.ResponseMessages.QueryImplListResponse other = (datawave.webservice.result.ResponseMessages.QueryImplListResponse) obj;
+
+ if (getOperationTimeMs() != other.getOperationTimeMs())
+ return false;
+ if (!getMessagesList().equals(other.getMessagesList()))
+ return false;
+ if (!getExceptionsList().equals(other.getExceptionsList()))
+ return false;
+ if (!getQueryList().equals(other.getQueryList()))
+ return false;
+ if (hasNumResults() != other.hasNumResults())
+ return false;
+ if (hasNumResults()) {
+ if (getNumResults() != other.getNumResults())
+ return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
@java.lang.Override
- protected java.lang.Object writeReplace() throws java.io.ObjectStreamException {
- return super.writeReplace();
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + OPERATION_TIME_MS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOperationTimeMs());
+ if (getMessagesCount() > 0) {
+ hash = (37 * hash) + MESSAGES_FIELD_NUMBER;
+ hash = (53 * hash) + getMessagesList().hashCode();
+ }
+ if (getExceptionsCount() > 0) {
+ hash = (37 * hash) + EXCEPTIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getExceptionsList().hashCode();
+ }
+ if (getQueryCount() > 0) {
+ hash = (37 * hash) + QUERY_FIELD_NUMBER;
+ hash = (53 * hash) + getQueryList().hashCode();
+ }
+ if (hasNumResults()) {
+ hash = (37 * hash) + NUMRESULTS_FIELD_NUMBER;
+ hash = (53 * hash) + getNumResults();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.webservice.result.ResponseMessages.QueryImplListResponse parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.result.ResponseMessages.QueryImplListResponse parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static datawave.webservice.result.ResponseMessages.QueryImplListResponse parseFrom(com.google.protobuf.ByteString data)
@@ -1470,90 +1563,122 @@ public static datawave.webservice.result.ResponseMessages.QueryImplListResponse
}
public static datawave.webservice.result.ResponseMessages.QueryImplListResponse parseFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.webservice.result.ResponseMessages.QueryImplListResponse parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.webservice.result.ResponseMessages.QueryImplListResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static datawave.webservice.result.ResponseMessages.QueryImplListResponse parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.webservice.result.ResponseMessages.QueryImplListResponse parseFrom(com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.webservice.result.ResponseMessages.QueryImplListResponse 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();
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
public static Builder newBuilder(datawave.webservice.result.ResponseMessages.QueryImplListResponse prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
- return newBuilder(this);
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
}
/**
* Protobuf type {@code datawave.webservice.result.QueryImplListResponse}
*/
- public static final class Builder
- extends com.google.protobuf.GeneratedMessageLite.Builderrequired uint64 operation_time_ms = 1 [default = 0];
- *
- * @return if it has operation time
- */
- public boolean hasOperationTimeMs() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
-
- /**
- * required uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
- * @return the operation time in ms
+ * @return The operationTimeMs.
*/
+ @java.lang.Override
public long getOperationTimeMs() {
return operationTimeMs_;
}
/**
- * required uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
* @param value
- * new operation time in ms
- *
- * @return builder to set operation time to provided value
+ * The operationTimeMs to set.
+ * @return This builder for chaining.
*/
public Builder setOperationTimeMs(long value) {
- bitField0_ |= 0x00000001;
- operationTimeMs_ = value;
+ operationTimeMs_ = value;
+ onChanged();
return this;
}
/**
- * required uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
- * @return builder to clear operation time
+ * @return This builder for chaining.
*/
public Builder clearOperationTimeMs() {
- bitField0_ = (bitField0_ & ~0x00000001);
- operationTimeMs_ = 0L;
+ operationTimeMs_ = 0L;
+ onChanged();
return this;
}
- // repeated string messages = 2;
private com.google.protobuf.LazyStringList messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMessagesIsMutable() {
- if (!((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
messages_ = new com.google.protobuf.LazyStringArrayList(messages_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
/**
* repeated string messages = 2;
*
- * @return the messages list
+ * @return A list containing the messages.
*/
- public java.util.Listrepeated string messages = 2;
*
- * @return the number of messages in the list
+ * @return The count of messages.
*/
public int getMessagesCount() {
return messages_.size();
@@ -1748,9 +1982,8 @@ public int getMessagesCount() {
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message at the provided index
+ * The index of the element to return.
+ * @return The messages at the given index.
*/
public java.lang.String getMessages(int index) {
return messages_.get(index);
@@ -1760,9 +1993,8 @@ public java.lang.String getMessages(int index) {
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message byte string at the provided index
+ * The index of the value to return.
+ * @return The bytes of the messages at the given index.
*/
public com.google.protobuf.ByteString getMessagesBytes(int index) {
return messages_.getByteString(index);
@@ -1772,11 +2004,10 @@ public com.google.protobuf.ByteString getMessagesBytes(int index) {
* repeated string messages = 2;
*
* @param index
- * the index
+ * The index to set the value at.
* @param value
- * the new message
- *
- * @return builder to set the message at the provided index to the provided value
+ * The messages to set.
+ * @return This builder for chaining.
*/
public Builder setMessages(int index, java.lang.String value) {
if (value == null) {
@@ -1784,7 +2015,7 @@ public Builder setMessages(int index, java.lang.String value) {
}
ensureMessagesIsMutable();
messages_.set(index, value);
-
+ onChanged();
return this;
}
@@ -1792,9 +2023,8 @@ public Builder setMessages(int index, java.lang.String value) {
* repeated string messages = 2;
*
* @param value
- * the new message
- *
- * @return builder to add the message
+ * The messages to add.
+ * @return This builder for chaining.
*/
public Builder addMessages(java.lang.String value) {
if (value == null) {
@@ -1802,7 +2032,7 @@ public Builder addMessages(java.lang.String value) {
}
ensureMessagesIsMutable();
messages_.add(value);
-
+ onChanged();
return this;
}
@@ -1810,26 +2040,25 @@ public Builder addMessages(java.lang.String value) {
* repeated string messages = 2;
*
* @param values
- * iterable of messages to add to the list
- *
- * @return builder to add all messages
+ * The messages to add.
+ * @return This builder for chaining.
*/
public Builder addAllMessages(java.lang.Iterablerepeated string messages = 2;
*
- * @return builder to clear messages
+ * @return This builder for chaining.
*/
public Builder clearMessages() {
messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
-
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
return this;
}
@@ -1837,487 +2066,624 @@ public Builder clearMessages() {
* repeated string messages = 2;
*
* @param value
- * message byte string
- *
- * @return builder to add message byte string
+ * The bytes of the messages to add.
+ * @return This builder for chaining.
*/
public Builder addMessagesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
+ checkByteStringIsUtf8(value);
ensureMessagesIsMutable();
messages_.add(value);
-
+ onChanged();
return this;
}
- // repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
private java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return list of exceptions
*/
public java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return the size of the exceptions list
*/
public int getExceptionsCount() {
- return exceptions_.size();
+ if (exceptionsBuilder_ == null) {
+ return exceptions_.size();
+ } else {
+ return exceptionsBuilder_.getCount();
+ }
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- *
- * @return the exception at the provided index
*/
public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType getExceptions(int index) {
- return exceptions_.get(index);
+ if (exceptionsBuilder_ == null) {
+ return exceptions_.get(index);
+ } else {
+ return exceptionsBuilder_.getMessage(index);
+ }
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- * @param value
- * the exception to add
- *
- * @return builder to set the exception at the provided index
*/
public Builder setExceptions(int index, datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType value) {
- if (value == null) {
- throw new NullPointerException();
+ if (exceptionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExceptionsIsMutable();
+ exceptions_.set(index, value);
+ onChanged();
+ } else {
+ exceptionsBuilder_.setMessage(index, value);
}
- ensureExceptionsIsMutable();
- exceptions_.set(index, value);
-
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- * @param builderForValue
- * builder with the value for the exception to add
- *
- * @return builder to set exception to provided builder
*/
public Builder setExceptions(int index, datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder builderForValue) {
- ensureExceptionsIsMutable();
- exceptions_.set(index, builderForValue.build());
-
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ exceptions_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ exceptionsBuilder_.setMessage(index, builderForValue.build());
+ }
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param value
- * exception to add
- *
- * @return builder to add exceptions provided
*/
public Builder addExceptions(datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType value) {
- if (value == null) {
- throw new NullPointerException();
+ if (exceptionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExceptionsIsMutable();
+ exceptions_.add(value);
+ onChanged();
+ } else {
+ exceptionsBuilder_.addMessage(value);
}
- ensureExceptionsIsMutable();
- exceptions_.add(value);
-
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- * @param value
- * the exception to add
- *
- * @return builder to add exception to provided index
*/
public Builder addExceptions(int index, datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType value) {
- if (value == null) {
- throw new NullPointerException();
+ if (exceptionsBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureExceptionsIsMutable();
+ exceptions_.add(index, value);
+ onChanged();
+ } else {
+ exceptionsBuilder_.addMessage(index, value);
}
- ensureExceptionsIsMutable();
- exceptions_.add(index, value);
-
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param builderForValue
- * builder for the exception
- *
- * @return builder to add exception provided
*/
public Builder addExceptions(datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder builderForValue) {
- ensureExceptionsIsMutable();
- exceptions_.add(builderForValue.build());
-
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ exceptions_.add(builderForValue.build());
+ onChanged();
+ } else {
+ exceptionsBuilder_.addMessage(builderForValue.build());
+ }
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- * @param builderForValue
- * builder to create exception
- *
- * @return builder to add exception from builder to provided index
*/
public Builder addExceptions(int index, datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder builderForValue) {
- ensureExceptionsIsMutable();
- exceptions_.add(index, builderForValue.build());
-
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ exceptions_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ exceptionsBuilder_.addMessage(index, builderForValue.build());
+ }
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param values
- * iterable of exceptions to add
- *
- * @return builder to add provided exceptions
*/
public Builder addAllExceptions(java.lang.Iterable extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType> values) {
- ensureExceptionsIsMutable();
- super.addAll(values, exceptions_);
-
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, exceptions_);
+ onChanged();
+ } else {
+ exceptionsBuilder_.addAllMessages(values);
+ }
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return builder to clear exceptions
*/
public Builder clearExceptions() {
- exceptions_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000004);
-
+ if (exceptionsBuilder_ == null) {
+ exceptions_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000002);
+ onChanged();
+ } else {
+ exceptionsBuilder_.clear();
+ }
return this;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- *
- * @return builder to remove the exception at the provided index
*/
public Builder removeExceptions(int index) {
- ensureExceptionsIsMutable();
- exceptions_.remove(index);
-
+ if (exceptionsBuilder_ == null) {
+ ensureExceptionsIsMutable();
+ exceptions_.remove(index);
+ onChanged();
+ } else {
+ exceptionsBuilder_.remove(index);
+ }
return this;
}
- // repeated .datawave.webservice.query.QueryImpl query = 4;
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder getExceptionsBuilder(int index) {
+ return getExceptionsFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder getExceptionsOrBuilder(int index) {
+ if (exceptionsBuilder_ == null) {
+ return exceptions_.get(index);
+ } else {
+ return exceptionsBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public java.util.List extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder> getExceptionsOrBuilderList() {
+ if (exceptionsBuilder_ != null) {
+ return exceptionsBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(exceptions_);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder addExceptionsBuilder() {
+ return getExceptionsFieldBuilder().addBuilder(datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.Builder addExceptionsBuilder(int index) {
+ return getExceptionsFieldBuilder().addBuilder(index,
+ datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ public java.util.Listrepeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @return the query list
*/
public java.util.Listrepeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @return the number of queries in the list
*/
public int getQueryCount() {
- return query_.size();
+ if (queryBuilder_ == null) {
+ return query_.size();
+ } else {
+ return queryBuilder_.getCount();
+ }
}
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @param index
- * the index
- *
- * @return return the query at the provided index
*/
public datawave.webservice.query.QueryMessages.QueryImpl getQuery(int index) {
- return query_.get(index);
+ if (queryBuilder_ == null) {
+ return query_.get(index);
+ } else {
+ return queryBuilder_.getMessage(index);
+ }
}
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @param index
- * the index
- * @param value
- * the query to set
- *
- * @return builder to set the query at the provided index to the provided value
*/
public Builder setQuery(int index, datawave.webservice.query.QueryMessages.QueryImpl value) {
- if (value == null) {
- throw new NullPointerException();
+ if (queryBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureQueryIsMutable();
+ query_.set(index, value);
+ onChanged();
+ } else {
+ queryBuilder_.setMessage(index, value);
}
- ensureQueryIsMutable();
- query_.set(index, value);
-
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @param index
- * the index
- * @param builderForValue
- * the builder for the value
- *
- * @return builder to set query at the provided index
*/
public Builder setQuery(int index, datawave.webservice.query.QueryMessages.QueryImpl.Builder builderForValue) {
- ensureQueryIsMutable();
- query_.set(index, builderForValue.build());
-
+ if (queryBuilder_ == null) {
+ ensureQueryIsMutable();
+ query_.set(index, builderForValue.build());
+ onChanged();
+ } else {
+ queryBuilder_.setMessage(index, builderForValue.build());
+ }
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @param value
- * the query to add
- *
- * @return builder to add the query value
*/
public Builder addQuery(datawave.webservice.query.QueryMessages.QueryImpl value) {
- if (value == null) {
- throw new NullPointerException();
+ if (queryBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureQueryIsMutable();
+ query_.add(value);
+ onChanged();
+ } else {
+ queryBuilder_.addMessage(value);
}
- ensureQueryIsMutable();
- query_.add(value);
-
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @param index
- * the index
- * @param value
- * the query to add
- *
- * @return builder to add query to provided index
*/
public Builder addQuery(int index, datawave.webservice.query.QueryMessages.QueryImpl value) {
- if (value == null) {
- throw new NullPointerException();
+ if (queryBuilder_ == null) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
+ ensureQueryIsMutable();
+ query_.add(index, value);
+ onChanged();
+ } else {
+ queryBuilder_.addMessage(index, value);
}
- ensureQueryIsMutable();
- query_.add(index, value);
-
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @param builderForValue
- * builder with the query to add
- *
- * @return builder to add query
*/
public Builder addQuery(datawave.webservice.query.QueryMessages.QueryImpl.Builder builderForValue) {
- ensureQueryIsMutable();
- query_.add(builderForValue.build());
-
+ if (queryBuilder_ == null) {
+ ensureQueryIsMutable();
+ query_.add(builderForValue.build());
+ onChanged();
+ } else {
+ queryBuilder_.addMessage(builderForValue.build());
+ }
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @param index
- * the index
- * @param builderForValue
- * query to add
- *
- * @return builder to add query to provided index
*/
public Builder addQuery(int index, datawave.webservice.query.QueryMessages.QueryImpl.Builder builderForValue) {
- ensureQueryIsMutable();
- query_.add(index, builderForValue.build());
-
+ if (queryBuilder_ == null) {
+ ensureQueryIsMutable();
+ query_.add(index, builderForValue.build());
+ onChanged();
+ } else {
+ queryBuilder_.addMessage(index, builderForValue.build());
+ }
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @param values
- * iterable of queries to add
- *
- * @return builder to add all provided queries
*/
public Builder addAllQuery(java.lang.Iterable extends datawave.webservice.query.QueryMessages.QueryImpl> values) {
- ensureQueryIsMutable();
- super.addAll(values, query_);
-
+ if (queryBuilder_ == null) {
+ ensureQueryIsMutable();
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, query_);
+ onChanged();
+ } else {
+ queryBuilder_.addAllMessages(values);
+ }
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @return builder to clear the query list
*/
public Builder clearQuery() {
- query_ = java.util.Collections.emptyList();
- bitField0_ = (bitField0_ & ~0x00000008);
-
+ if (queryBuilder_ == null) {
+ query_ = java.util.Collections.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000004);
+ onChanged();
+ } else {
+ queryBuilder_.clear();
+ }
return this;
}
/**
* repeated .datawave.webservice.query.QueryImpl query = 4;
- *
- * @param index
- * the index
- *
- * @return builder to remove the query at the provided index
*/
public Builder removeQuery(int index) {
- ensureQueryIsMutable();
- query_.remove(index);
-
+ if (queryBuilder_ == null) {
+ ensureQueryIsMutable();
+ query_.remove(index);
+ onChanged();
+ } else {
+ queryBuilder_.remove(index);
+ }
return this;
}
- // optional uint32 numResults = 5 [default = 0];
+ /**
+ * repeated .datawave.webservice.query.QueryImpl query = 4;
+ */
+ public datawave.webservice.query.QueryMessages.QueryImpl.Builder getQueryBuilder(int index) {
+ return getQueryFieldBuilder().getBuilder(index);
+ }
+
+ /**
+ * repeated .datawave.webservice.query.QueryImpl query = 4;
+ */
+ public datawave.webservice.query.QueryMessages.QueryImplOrBuilder getQueryOrBuilder(int index) {
+ if (queryBuilder_ == null) {
+ return query_.get(index);
+ } else {
+ return queryBuilder_.getMessageOrBuilder(index);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.QueryImpl query = 4;
+ */
+ public java.util.List extends datawave.webservice.query.QueryMessages.QueryImplOrBuilder> getQueryOrBuilderList() {
+ if (queryBuilder_ != null) {
+ return queryBuilder_.getMessageOrBuilderList();
+ } else {
+ return java.util.Collections.unmodifiableList(query_);
+ }
+ }
+
+ /**
+ * repeated .datawave.webservice.query.QueryImpl query = 4;
+ */
+ public datawave.webservice.query.QueryMessages.QueryImpl.Builder addQueryBuilder() {
+ return getQueryFieldBuilder().addBuilder(datawave.webservice.query.QueryMessages.QueryImpl.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.QueryImpl query = 4;
+ */
+ public datawave.webservice.query.QueryMessages.QueryImpl.Builder addQueryBuilder(int index) {
+ return getQueryFieldBuilder().addBuilder(index, datawave.webservice.query.QueryMessages.QueryImpl.getDefaultInstance());
+ }
+
+ /**
+ * repeated .datawave.webservice.query.QueryImpl query = 4;
+ */
+ public java.util.Listoptional uint32 numResults = 5 [default = 0];
+ * uint32 numResults = 5;
*
- * @return if it has a number of results
+ * @return Whether the numResults field is set.
*/
+ @java.lang.Override
public boolean hasNumResults() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
- * optional uint32 numResults = 5 [default = 0];
+ * uint32 numResults = 5;
*
- * @return the number of results
+ * @return The numResults.
*/
+ @java.lang.Override
public int getNumResults() {
return numResults_;
}
/**
- * optional uint32 numResults = 5 [default = 0];
+ * uint32 numResults = 5;
*
* @param value
- * new number of results
- *
- * @return builder to set the number of results
+ * The numResults to set.
+ * @return This builder for chaining.
*/
public Builder setNumResults(int value) {
- bitField0_ |= 0x00000010;
+ bitField0_ |= 0x00000008;
numResults_ = value;
-
+ onChanged();
return this;
}
/**
- * optional uint32 numResults = 5 [default = 0];
+ * uint32 numResults = 5;
*
- * @return builder to clear the number of results
+ * @return This builder for chaining.
*/
public Builder clearNumResults() {
- bitField0_ = (bitField0_ & ~0x00000010);
+ bitField0_ = (bitField0_ & ~0x00000008);
numResults_ = 0;
-
+ onChanged();
return this;
}
+ @java.lang.Override
+ public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.setUnknownFields(unknownFields);
+ }
+
+ @java.lang.Override
+ public final Builder mergeUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) {
+ return super.mergeUnknownFields(unknownFields);
+ }
+
// @@protoc_insertion_point(builder_scope:datawave.webservice.result.QueryImplListResponse)
}
+ // @@protoc_insertion_point(class_scope:datawave.webservice.result.QueryImplListResponse)
+ private static final datawave.webservice.result.ResponseMessages.QueryImplListResponse DEFAULT_INSTANCE;
static {
- defaultInstance = new QueryImplListResponse(true);
- defaultInstance.initFields();
+ DEFAULT_INSTANCE = new datawave.webservice.result.ResponseMessages.QueryImplListResponse();
}
- // @@protoc_insertion_point(class_scope:datawave.webservice.result.QueryImplListResponse)
- }
+ public static datawave.webservice.result.ResponseMessages.QueryImplListResponse getDefaultInstance() {
+ return DEFAULT_INSTANCE;
+ }
- public interface GenericResponseOrBuilder extends com.google.protobuf.MessageLiteOrBuilder {
+ private static final com.google.protobuf.Parserrequired uint64 operation_time_ms = 1 [default = 0];
- *
- * @return if it has operation time
- */
- boolean hasOperationTimeMs();
+ public static com.google.protobuf.Parserrequired uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
- * @return the operation time in ms
+ * @return The operationTimeMs.
*/
long getOperationTimeMs();
- // repeated string messages = 2;
-
/**
* repeated string messages = 2;
*
- * @return list of messages
+ * @return A list containing the messages.
*/
java.util.Listrepeated string messages = 2;
*
- * @return the number of messages
+ * @return The count of messages.
*/
int getMessagesCount();
@@ -2325,9 +2691,8 @@ public interface GenericResponseOrBuilder extends com.google.protobuf.MessageLit
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message at the provided index
+ * The index of the element to return.
+ * @return The messages at the given index.
*/
java.lang.String getMessages(int index);
@@ -2335,372 +2700,248 @@ public interface GenericResponseOrBuilder extends com.google.protobuf.MessageLit
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the byte string for the message at the provided index
+ * The index of the value to return.
+ * @return The bytes of the messages at the given index.
*/
com.google.protobuf.ByteString getMessagesBytes(int index);
- // repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return the list of exceptions
*/
java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- *
- * @return the exception at the provided index
*/
datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType getExceptions(int index);
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return the number of exceptions
*/
int getExceptionsCount();
- // required string result_class_name = 4;
/**
- * required string result_class_name = 4;
- *
- * @return if it has a result class name
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
+ */
+ java.util.List extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder> getExceptionsOrBuilderList();
+
+ /**
+ * repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
*/
- boolean hasResultClassName();
+ datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder getExceptionsOrBuilder(int index);
/**
- * required string result_class_name = 4;
+ * string result_class_name = 4;
*
- * @return the result class name
+ * @return The resultClassName.
*/
java.lang.String getResultClassName();
/**
- * required string result_class_name = 4;
+ * string result_class_name = 4;
*
- * @return the result class name byte string
+ * @return The bytes for resultClassName.
*/
com.google.protobuf.ByteString getResultClassNameBytes();
- // optional string result_as_string = 5;
/**
- * optional string result_as_string = 5;
+ * string result_as_string = 5;
*
- * @return if it has result as a string
+ * @return Whether the resultAsString field is set.
*/
boolean hasResultAsString();
/**
- * optional string result_as_string = 5;
+ * string result_as_string = 5;
*
- * @return the results as a string
+ * @return The resultAsString.
*/
java.lang.String getResultAsString();
/**
- * optional string result_as_string = 5;
+ * string result_as_string = 5;
*
- * @return the result as a byte string
+ * @return The bytes for resultAsString.
*/
com.google.protobuf.ByteString getResultAsStringBytes();
- // optional bool result_as_boolean = 6;
/**
- * optional bool result_as_boolean = 6;
+ * bool result_as_boolean = 6;
*
- * @return if it has the result as boolean
+ * @return Whether the resultAsBoolean field is set.
*/
boolean hasResultAsBoolean();
/**
- * optional bool result_as_boolean = 6;
+ * bool result_as_boolean = 6;
*
- * @return the result as a boolean
+ * @return The resultAsBoolean.
*/
boolean getResultAsBoolean();
- // optional sint32 result_as_int = 7;
/**
- * optional sint32 result_as_int = 7;
+ * sint32 result_as_int = 7;
*
- * @return if it has result as integer
+ * @return Whether the resultAsInt field is set.
*/
boolean hasResultAsInt();
/**
- * optional sint32 result_as_int = 7;
+ * sint32 result_as_int = 7;
*
- * @return the result as an integer
+ * @return The resultAsInt.
*/
int getResultAsInt();
- // optional sint64 result_as_long = 8;
/**
- * optional sint64 result_as_long = 8;
+ * sint64 result_as_long = 8;
*
- * @return if it has result as a long
+ * @return Whether the resultAsLong field is set.
*/
boolean hasResultAsLong();
/**
- * optional sint64 result_as_long = 8;
+ * sint64 result_as_long = 8;
*
- * @return the result as a long
+ * @return The resultAsLong.
*/
long getResultAsLong();
- // optional float result_as_float = 9;
/**
- * optional float result_as_float = 9;
+ * float result_as_float = 9;
*
- * @return if it has the result as a float
+ * @return Whether the resultAsFloat field is set.
*/
boolean hasResultAsFloat();
/**
- * optional float result_as_float = 9;
+ * float result_as_float = 9;
*
- * @return the result as a float
+ * @return The resultAsFloat.
*/
float getResultAsFloat();
- // optional double result_as_double = 10;
/**
- * optional double result_as_double = 10;
+ * double result_as_double = 10;
*
- * @return if it has the result as a double
+ * @return Whether the resultAsDouble field is set.
*/
boolean hasResultAsDouble();
/**
- * optional double result_as_double = 10;
+ * double result_as_double = 10;
*
- * @return the result as a double
+ * @return The resultAsDouble.
*/
double getResultAsDouble();
- // optional bytes result_as_bytes = 11;
/**
- * optional bytes result_as_bytes = 11;
+ * bytes result_as_bytes = 11;
*
- * @return if it has result as bytes
+ * @return Whether the resultAsBytes field is set.
*/
boolean hasResultAsBytes();
/**
- * optional bytes result_as_bytes = 11;
+ * bytes result_as_bytes = 11;
*
- * @return the result as bytes
+ * @return The resultAsBytes.
*/
com.google.protobuf.ByteString getResultAsBytes();
- // optional .datawave.webservice.results.cached.result.Description result_as_description = 12;
/**
- * optional .datawave.webservice.results.cached.result.Description result_as_description = 12;
+ * .datawave.webservice.results.cached.result.Description result_as_description = 12;
*
- * @return if the result is a description
+ * @return Whether the resultAsDescription field is set.
*/
boolean hasResultAsDescription();
/**
- * optional .datawave.webservice.results.cached.result.Description result_as_description = 12;
+ * .datawave.webservice.results.cached.result.Description result_as_description = 12;
*
- * @return the result as a description
+ * @return The resultAsDescription.
*/
datawave.webservice.results.cached.result.CachedresultMessages.Description getResultAsDescription();
+
+ /**
+ * .datawave.webservice.results.cached.result.Description result_as_description = 12;
+ */
+ datawave.webservice.results.cached.result.CachedresultMessages.DescriptionOrBuilder getResultAsDescriptionOrBuilder();
}
/**
* Protobuf type {@code datawave.webservice.result.GenericResponse}
*/
- public static final class GenericResponse extends com.google.protobuf.GeneratedMessageLite implements GenericResponseOrBuilder {
+ public static final class GenericResponse extends com.google.protobuf.GeneratedMessageV3 implements
+ // @@protoc_insertion_point(message_implements:datawave.webservice.result.GenericResponse)
+ GenericResponseOrBuilder {
+ private static final long serialVersionUID = 0L;
+
// Use GenericResponse.newBuilder() to construct.
- private GenericResponse(com.google.protobuf.GeneratedMessageLite.Builder builder) {
+ private GenericResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
-
}
- private GenericResponse(boolean noInit) {}
-
- private static final GenericResponse defaultInstance;
-
- public static GenericResponse getDefaultInstance() {
- return defaultInstance;
- }
-
- public GenericResponse getDefaultInstanceForType() {
- return defaultInstance;
+ private GenericResponse() {
+ messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
+ exceptions_ = java.util.Collections.emptyList();
+ resultClassName_ = "";
+ resultAsString_ = "";
+ resultAsBytes_ = com.google.protobuf.ByteString.EMPTY;
}
-
- private GenericResponse(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
- throws com.google.protobuf.InvalidProtocolBufferException {
- initFields();
- int mutable_bitField0_ = 0;
- try {
- boolean done = false;
- while (!done) {
- int tag = input.readTag();
- switch (tag) {
- case 0:
- done = true;
- break;
- default: {
- if (!parseUnknownField(input, extensionRegistry, tag)) {
- done = true;
- }
- break;
- }
- case 8: {
- bitField0_ |= 0x00000001;
- operationTimeMs_ = input.readUInt64();
- break;
- }
- case 18: {
- if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
- messages_ = new com.google.protobuf.LazyStringArrayList();
- mutable_bitField0_ |= 0x00000002;
- }
- messages_.add(input.readBytes());
- break;
- }
- case 26: {
- if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
- exceptions_ = new java.util.ArrayListrequired uint64 operation_time_ms = 1 [default = 0];
- *
- * @return if it has an operation time
- */
- public boolean hasOperationTimeMs() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
-
- /**
- * required uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
- * @return the operation time in ms
+ * @return The operationTimeMs.
*/
+ @java.lang.Override
public long getOperationTimeMs() {
return operationTimeMs_;
}
- // repeated string messages = 2;
public static final int MESSAGES_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList messages_;
/**
* repeated string messages = 2;
*
- * @return the message list
+ * @return A list containing the messages.
*/
- public java.util.Listrepeated string messages = 2;
*
- * @return the number of messages in the lsit
+ * @return The count of messages.
*/
public int getMessagesCount() {
return messages_.size();
@@ -2710,9 +2951,8 @@ public int getMessagesCount() {
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message at the provided index
+ * The index of the element to return.
+ * @return The messages at the given index.
*/
public java.lang.String getMessages(int index) {
return messages_.get(index);
@@ -2722,87 +2962,65 @@ public java.lang.String getMessages(int index) {
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return message as byte string at the provided index
+ * The index of the value to return.
+ * @return The bytes of the messages at the given index.
*/
public com.google.protobuf.ByteString getMessagesBytes(int index) {
return messages_.getByteString(index);
}
- // repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
public static final int EXCEPTIONS_FIELD_NUMBER = 3;
private java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return the exceptions list
*/
+ @java.lang.Override
public java.util.Listrepeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return the exceptions list
*/
+ @java.lang.Override
public java.util.List extends datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder> getExceptionsOrBuilderList() {
return exceptions_;
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @return the number of exceptions in the list
*/
+ @java.lang.Override
public int getExceptionsCount() {
return exceptions_.size();
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- *
- * @return the exception at the provided index
*/
+ @java.lang.Override
public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionType getExceptions(int index) {
return exceptions_.get(index);
}
/**
* repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
- *
- * @param index
- * the index
- *
- * @return the exception at the index provided
*/
+ @java.lang.Override
public datawave.webservice.query.exception.ExceptionMessages.QueryExceptionTypeOrBuilder getExceptionsOrBuilder(int index) {
return exceptions_.get(index);
}
- // required string result_class_name = 4;
public static final int RESULT_CLASS_NAME_FIELD_NUMBER = 4;
- private java.lang.Object resultClassName_;
-
- /**
- * required string result_class_name = 4;
- *
- * @return if it has a result class name
- */
- public boolean hasResultClassName() {
- return ((bitField0_ & 0x00000002) == 0x00000002);
- }
+ private volatile java.lang.Object resultClassName_;
/**
- * required string result_class_name = 4;
+ * string result_class_name = 4;
*
- * @return the result class name
+ * @return The resultClassName.
*/
+ @java.lang.Override
public java.lang.String getResultClassName() {
java.lang.Object ref = resultClassName_;
if (ref instanceof java.lang.String) {
@@ -2810,18 +3028,17 @@ public java.lang.String getResultClassName() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- resultClassName_ = s;
- }
+ resultClassName_ = s;
return s;
}
}
/**
- * required string result_class_name = 4;
+ * string result_class_name = 4;
*
- * @return the result class name byte string
+ * @return The bytes for resultClassName.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getResultClassNameBytes() {
java.lang.Object ref = resultClassName_;
if (ref instanceof java.lang.String) {
@@ -2833,24 +3050,25 @@ public com.google.protobuf.ByteString getResultClassNameBytes() {
}
}
- // optional string result_as_string = 5;
public static final int RESULT_AS_STRING_FIELD_NUMBER = 5;
- private java.lang.Object resultAsString_;
+ private volatile java.lang.Object resultAsString_;
/**
- * optional string result_as_string = 5;
+ * string result_as_string = 5;
*
- * @return if it has results as a string
+ * @return Whether the resultAsString field is set.
*/
+ @java.lang.Override
public boolean hasResultAsString() {
- return ((bitField0_ & 0x00000004) == 0x00000004);
+ return ((bitField0_ & 0x00000001) != 0);
}
/**
- * optional string result_as_string = 5;
+ * string result_as_string = 5;
*
- * @return the results as a string
+ * @return The resultAsString.
*/
+ @java.lang.Override
public java.lang.String getResultAsString() {
java.lang.Object ref = resultAsString_;
if (ref instanceof java.lang.String) {
@@ -2858,18 +3076,17 @@ public java.lang.String getResultAsString() {
} else {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
- if (bs.isValidUtf8()) {
- resultAsString_ = s;
- }
+ resultAsString_ = s;
return s;
}
}
/**
- * optional string result_as_string = 5;
+ * string result_as_string = 5;
*
- * @return the result as a byte string
+ * @return The bytes for resultAsString.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getResultAsStringBytes() {
java.lang.Object ref = resultAsString_;
if (ref instanceof java.lang.String) {
@@ -2881,255 +3098,246 @@ public com.google.protobuf.ByteString getResultAsStringBytes() {
}
}
- // optional bool result_as_boolean = 6;
public static final int RESULT_AS_BOOLEAN_FIELD_NUMBER = 6;
private boolean resultAsBoolean_;
/**
- * optional bool result_as_boolean = 6;
+ * bool result_as_boolean = 6;
*
- * @return if it has result as a boolean
+ * @return Whether the resultAsBoolean field is set.
*/
+ @java.lang.Override
public boolean hasResultAsBoolean() {
- return ((bitField0_ & 0x00000008) == 0x00000008);
+ return ((bitField0_ & 0x00000002) != 0);
}
/**
- * optional bool result_as_boolean = 6;
+ * bool result_as_boolean = 6;
*
- * @return the result as a boolean
+ * @return The resultAsBoolean.
*/
+ @java.lang.Override
public boolean getResultAsBoolean() {
return resultAsBoolean_;
}
- // optional sint32 result_as_int = 7;
public static final int RESULT_AS_INT_FIELD_NUMBER = 7;
private int resultAsInt_;
/**
- * optional sint32 result_as_int = 7;
+ * sint32 result_as_int = 7;
*
- * @return if it has result as an integer
+ * @return Whether the resultAsInt field is set.
*/
+ @java.lang.Override
public boolean hasResultAsInt() {
- return ((bitField0_ & 0x00000010) == 0x00000010);
+ return ((bitField0_ & 0x00000004) != 0);
}
/**
- * optional sint32 result_as_int = 7;
+ * sint32 result_as_int = 7;
*
- * @return result as an integer
+ * @return The resultAsInt.
*/
+ @java.lang.Override
public int getResultAsInt() {
return resultAsInt_;
}
- // optional sint64 result_as_long = 8;
public static final int RESULT_AS_LONG_FIELD_NUMBER = 8;
private long resultAsLong_;
/**
- * optional sint64 result_as_long = 8;
+ * sint64 result_as_long = 8;
*
- * @return if it has result as a long
+ * @return Whether the resultAsLong field is set.
*/
+ @java.lang.Override
public boolean hasResultAsLong() {
- return ((bitField0_ & 0x00000020) == 0x00000020);
+ return ((bitField0_ & 0x00000008) != 0);
}
/**
- * optional sint64 result_as_long = 8;
+ * sint64 result_as_long = 8;
*
- * @return the result as a long
+ * @return The resultAsLong.
*/
+ @java.lang.Override
public long getResultAsLong() {
return resultAsLong_;
}
- // optional float result_as_float = 9;
public static final int RESULT_AS_FLOAT_FIELD_NUMBER = 9;
private float resultAsFloat_;
/**
- * optional float result_as_float = 9;
+ * float result_as_float = 9;
*
- * @return if it has result as a float
+ * @return Whether the resultAsFloat field is set.
*/
+ @java.lang.Override
public boolean hasResultAsFloat() {
- return ((bitField0_ & 0x00000040) == 0x00000040);
+ return ((bitField0_ & 0x00000010) != 0);
}
/**
- * optional float result_as_float = 9;
+ * float result_as_float = 9;
*
- * @return the result as a float
+ * @return The resultAsFloat.
*/
+ @java.lang.Override
public float getResultAsFloat() {
return resultAsFloat_;
}
- // optional double result_as_double = 10;
public static final int RESULT_AS_DOUBLE_FIELD_NUMBER = 10;
private double resultAsDouble_;
/**
- * optional double result_as_double = 10;
+ * double result_as_double = 10;
*
- * @return if it has a result as a double
+ * @return Whether the resultAsDouble field is set.
*/
+ @java.lang.Override
public boolean hasResultAsDouble() {
- return ((bitField0_ & 0x00000080) == 0x00000080);
+ return ((bitField0_ & 0x00000020) != 0);
}
/**
- * optional double result_as_double = 10;
+ * double result_as_double = 10;
*
- * @return the result as a double
+ * @return The resultAsDouble.
*/
+ @java.lang.Override
public double getResultAsDouble() {
return resultAsDouble_;
}
- // optional bytes result_as_bytes = 11;
public static final int RESULT_AS_BYTES_FIELD_NUMBER = 11;
private com.google.protobuf.ByteString resultAsBytes_;
/**
- * optional bytes result_as_bytes = 11;
+ * bytes result_as_bytes = 11;
*
- * @return if it has result as a byte string
+ * @return Whether the resultAsBytes field is set.
*/
+ @java.lang.Override
public boolean hasResultAsBytes() {
- return ((bitField0_ & 0x00000100) == 0x00000100);
+ return ((bitField0_ & 0x00000040) != 0);
}
/**
- * optional bytes result_as_bytes = 11;
+ * bytes result_as_bytes = 11;
*
- * @return the result as a byte string
+ * @return The resultAsBytes.
*/
+ @java.lang.Override
public com.google.protobuf.ByteString getResultAsBytes() {
return resultAsBytes_;
}
- // optional .datawave.webservice.results.cached.result.Description result_as_description = 12;
public static final int RESULT_AS_DESCRIPTION_FIELD_NUMBER = 12;
private datawave.webservice.results.cached.result.CachedresultMessages.Description resultAsDescription_;
/**
- * optional .datawave.webservice.results.cached.result.Description result_as_description = 12;
+ * .datawave.webservice.results.cached.result.Description result_as_description = 12;
*
- * @return if iut has the result as a description
+ * @return Whether the resultAsDescription field is set.
*/
+ @java.lang.Override
public boolean hasResultAsDescription() {
- return ((bitField0_ & 0x00000200) == 0x00000200);
+ return ((bitField0_ & 0x00000080) != 0);
}
/**
- * optional .datawave.webservice.results.cached.result.Description result_as_description = 12;
+ * .datawave.webservice.results.cached.result.Description result_as_description = 12;
*
- * @return the result as a description
+ * @return The resultAsDescription.
*/
+ @java.lang.Override
public datawave.webservice.results.cached.result.CachedresultMessages.Description getResultAsDescription() {
- return resultAsDescription_;
+ return resultAsDescription_ == null ? datawave.webservice.results.cached.result.CachedresultMessages.Description.getDefaultInstance()
+ : resultAsDescription_;
}
- private void initFields() {
- operationTimeMs_ = 0L;
- messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- exceptions_ = java.util.Collections.emptyList();
- resultClassName_ = "";
- resultAsString_ = "";
- resultAsBoolean_ = false;
- resultAsInt_ = 0;
- resultAsLong_ = 0L;
- resultAsFloat_ = 0F;
- resultAsDouble_ = 0D;
- resultAsBytes_ = com.google.protobuf.ByteString.EMPTY;
- resultAsDescription_ = datawave.webservice.results.cached.result.CachedresultMessages.Description.getDefaultInstance();
+ /**
+ * .datawave.webservice.results.cached.result.Description result_as_description = 12;
+ */
+ @java.lang.Override
+ public datawave.webservice.results.cached.result.CachedresultMessages.DescriptionOrBuilder getResultAsDescriptionOrBuilder() {
+ return resultAsDescription_ == null ? datawave.webservice.results.cached.result.CachedresultMessages.Description.getDefaultInstance()
+ : resultAsDescription_;
}
private byte memoizedIsInitialized = -1;
+ @java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
- if (isInitialized != -1)
- return isInitialized == 1;
-
- if (!hasOperationTimeMs()) {
- memoizedIsInitialized = 0;
- return false;
- }
- if (!hasResultClassName()) {
- memoizedIsInitialized = 0;
+ if (isInitialized == 1)
+ return true;
+ if (isInitialized == 0)
return false;
- }
- if (hasResultAsDescription()) {
- if (!getResultAsDescription().isInitialized()) {
- memoizedIsInitialized = 0;
- return false;
- }
- }
+
memoizedIsInitialized = 1;
return true;
}
+ @java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
- getSerializedSize();
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (operationTimeMs_ != 0L) {
output.writeUInt64(1, operationTimeMs_);
}
for (int i = 0; i < messages_.size(); i++) {
- output.writeBytes(2, messages_.getByteString(i));
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 2, messages_.getRaw(i));
}
for (int i = 0; i < exceptions_.size(); i++) {
output.writeMessage(3, exceptions_.get(i));
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- output.writeBytes(4, getResultClassNameBytes());
+ if (!getResultClassNameBytes().isEmpty()) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 4, resultClassName_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- output.writeBytes(5, getResultAsStringBytes());
+ if (((bitField0_ & 0x00000001) != 0)) {
+ com.google.protobuf.GeneratedMessageV3.writeString(output, 5, resultAsString_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
output.writeBool(6, resultAsBoolean_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
output.writeSInt32(7, resultAsInt_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
output.writeSInt64(8, resultAsLong_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
output.writeFloat(9, resultAsFloat_);
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
output.writeDouble(10, resultAsDouble_);
}
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
output.writeBytes(11, resultAsBytes_);
}
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- output.writeMessage(12, resultAsDescription_);
+ if (((bitField0_ & 0x00000080) != 0)) {
+ output.writeMessage(12, getResultAsDescription());
}
+ getUnknownFields().writeTo(output);
}
- private int memoizedSerializedSize = -1;
-
+ @java.lang.Override
public int getSerializedSize() {
- int size = memoizedSerializedSize;
+ int size = memoizedSize;
if (size != -1)
return size;
size = 0;
- if (((bitField0_ & 0x00000001) == 0x00000001)) {
+ if (operationTimeMs_ != 0L) {
size += com.google.protobuf.CodedOutputStream.computeUInt64Size(1, operationTimeMs_);
}
{
int dataSize = 0;
for (int i = 0; i < messages_.size(); i++) {
- dataSize += com.google.protobuf.CodedOutputStream.computeBytesSizeNoTag(messages_.getByteString(i));
+ dataSize += computeStringSizeNoTag(messages_.getRaw(i));
}
size += dataSize;
size += 1 * getMessagesList().size();
@@ -3137,42 +3345,173 @@ public int getSerializedSize() {
for (int i = 0; i < exceptions_.size(); i++) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, exceptions_.get(i));
}
- if (((bitField0_ & 0x00000002) == 0x00000002)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(4, getResultClassNameBytes());
+ if (!getResultClassNameBytes().isEmpty()) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, resultClassName_);
}
- if (((bitField0_ & 0x00000004) == 0x00000004)) {
- size += com.google.protobuf.CodedOutputStream.computeBytesSize(5, getResultAsStringBytes());
+ if (((bitField0_ & 0x00000001) != 0)) {
+ size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, resultAsString_);
}
- if (((bitField0_ & 0x00000008) == 0x00000008)) {
+ if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(6, resultAsBoolean_);
}
- if (((bitField0_ & 0x00000010) == 0x00000010)) {
+ if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeSInt32Size(7, resultAsInt_);
}
- if (((bitField0_ & 0x00000020) == 0x00000020)) {
+ if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeSInt64Size(8, resultAsLong_);
}
- if (((bitField0_ & 0x00000040) == 0x00000040)) {
+ if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeFloatSize(9, resultAsFloat_);
}
- if (((bitField0_ & 0x00000080) == 0x00000080)) {
+ if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(10, resultAsDouble_);
}
- if (((bitField0_ & 0x00000100) == 0x00000100)) {
+ if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.CodedOutputStream.computeBytesSize(11, resultAsBytes_);
}
- if (((bitField0_ & 0x00000200) == 0x00000200)) {
- size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, resultAsDescription_);
+ if (((bitField0_ & 0x00000080) != 0)) {
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getResultAsDescription());
}
- memoizedSerializedSize = size;
+ size += getUnknownFields().getSerializedSize();
+ memoizedSize = size;
return size;
}
- private static final long serialVersionUID = 0L;
+ @java.lang.Override
+ public boolean equals(final java.lang.Object obj) {
+ if (obj == this) {
+ return true;
+ }
+ if (!(obj instanceof datawave.webservice.result.ResponseMessages.GenericResponse)) {
+ return super.equals(obj);
+ }
+ datawave.webservice.result.ResponseMessages.GenericResponse other = (datawave.webservice.result.ResponseMessages.GenericResponse) obj;
+
+ if (getOperationTimeMs() != other.getOperationTimeMs())
+ return false;
+ if (!getMessagesList().equals(other.getMessagesList()))
+ return false;
+ if (!getExceptionsList().equals(other.getExceptionsList()))
+ return false;
+ if (!getResultClassName().equals(other.getResultClassName()))
+ return false;
+ if (hasResultAsString() != other.hasResultAsString())
+ return false;
+ if (hasResultAsString()) {
+ if (!getResultAsString().equals(other.getResultAsString()))
+ return false;
+ }
+ if (hasResultAsBoolean() != other.hasResultAsBoolean())
+ return false;
+ if (hasResultAsBoolean()) {
+ if (getResultAsBoolean() != other.getResultAsBoolean())
+ return false;
+ }
+ if (hasResultAsInt() != other.hasResultAsInt())
+ return false;
+ if (hasResultAsInt()) {
+ if (getResultAsInt() != other.getResultAsInt())
+ return false;
+ }
+ if (hasResultAsLong() != other.hasResultAsLong())
+ return false;
+ if (hasResultAsLong()) {
+ if (getResultAsLong() != other.getResultAsLong())
+ return false;
+ }
+ if (hasResultAsFloat() != other.hasResultAsFloat())
+ return false;
+ if (hasResultAsFloat()) {
+ if (java.lang.Float.floatToIntBits(getResultAsFloat()) != java.lang.Float.floatToIntBits(other.getResultAsFloat()))
+ return false;
+ }
+ if (hasResultAsDouble() != other.hasResultAsDouble())
+ return false;
+ if (hasResultAsDouble()) {
+ if (java.lang.Double.doubleToLongBits(getResultAsDouble()) != java.lang.Double.doubleToLongBits(other.getResultAsDouble()))
+ return false;
+ }
+ if (hasResultAsBytes() != other.hasResultAsBytes())
+ return false;
+ if (hasResultAsBytes()) {
+ if (!getResultAsBytes().equals(other.getResultAsBytes()))
+ return false;
+ }
+ if (hasResultAsDescription() != other.hasResultAsDescription())
+ return false;
+ if (hasResultAsDescription()) {
+ if (!getResultAsDescription().equals(other.getResultAsDescription()))
+ return false;
+ }
+ if (!getUnknownFields().equals(other.getUnknownFields()))
+ return false;
+ return true;
+ }
@java.lang.Override
- protected java.lang.Object writeReplace() throws java.io.ObjectStreamException {
- return super.writeReplace();
+ public int hashCode() {
+ if (memoizedHashCode != 0) {
+ return memoizedHashCode;
+ }
+ int hash = 41;
+ hash = (19 * hash) + getDescriptor().hashCode();
+ hash = (37 * hash) + OPERATION_TIME_MS_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getOperationTimeMs());
+ if (getMessagesCount() > 0) {
+ hash = (37 * hash) + MESSAGES_FIELD_NUMBER;
+ hash = (53 * hash) + getMessagesList().hashCode();
+ }
+ if (getExceptionsCount() > 0) {
+ hash = (37 * hash) + EXCEPTIONS_FIELD_NUMBER;
+ hash = (53 * hash) + getExceptionsList().hashCode();
+ }
+ hash = (37 * hash) + RESULT_CLASS_NAME_FIELD_NUMBER;
+ hash = (53 * hash) + getResultClassName().hashCode();
+ if (hasResultAsString()) {
+ hash = (37 * hash) + RESULT_AS_STRING_FIELD_NUMBER;
+ hash = (53 * hash) + getResultAsString().hashCode();
+ }
+ if (hasResultAsBoolean()) {
+ hash = (37 * hash) + RESULT_AS_BOOLEAN_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getResultAsBoolean());
+ }
+ if (hasResultAsInt()) {
+ hash = (37 * hash) + RESULT_AS_INT_FIELD_NUMBER;
+ hash = (53 * hash) + getResultAsInt();
+ }
+ if (hasResultAsLong()) {
+ hash = (37 * hash) + RESULT_AS_LONG_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getResultAsLong());
+ }
+ if (hasResultAsFloat()) {
+ hash = (37 * hash) + RESULT_AS_FLOAT_FIELD_NUMBER;
+ hash = (53 * hash) + java.lang.Float.floatToIntBits(getResultAsFloat());
+ }
+ if (hasResultAsDouble()) {
+ hash = (37 * hash) + RESULT_AS_DOUBLE_FIELD_NUMBER;
+ hash = (53 * hash) + com.google.protobuf.Internal.hashLong(java.lang.Double.doubleToLongBits(getResultAsDouble()));
+ }
+ if (hasResultAsBytes()) {
+ hash = (37 * hash) + RESULT_AS_BYTES_FIELD_NUMBER;
+ hash = (53 * hash) + getResultAsBytes().hashCode();
+ }
+ if (hasResultAsDescription()) {
+ hash = (37 * hash) + RESULT_AS_DESCRIPTION_FIELD_NUMBER;
+ hash = (53 * hash) + getResultAsDescription().hashCode();
+ }
+ hash = (29 * hash) + getUnknownFields().hashCode();
+ memoizedHashCode = hash;
+ return hash;
+ }
+
+ public static datawave.webservice.result.ResponseMessages.GenericResponse parseFrom(java.nio.ByteBuffer data)
+ throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data);
+ }
+
+ public static datawave.webservice.result.ResponseMessages.GenericResponse parseFrom(java.nio.ByteBuffer data,
+ com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException {
+ return PARSER.parseFrom(data, extensionRegistry);
}
public static datawave.webservice.result.ResponseMessages.GenericResponse parseFrom(com.google.protobuf.ByteString data)
@@ -3196,103 +3535,141 @@ public static datawave.webservice.result.ResponseMessages.GenericResponse parseF
}
public static datawave.webservice.result.ResponseMessages.GenericResponse parseFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.webservice.result.ResponseMessages.GenericResponse parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.webservice.result.ResponseMessages.GenericResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static datawave.webservice.result.ResponseMessages.GenericResponse parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
- return PARSER.parseDelimitedFrom(input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static datawave.webservice.result.ResponseMessages.GenericResponse parseFrom(com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
- return PARSER.parseFrom(input);
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static datawave.webservice.result.ResponseMessages.GenericResponse 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();
+ return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input, extensionRegistry);
}
+ @java.lang.Override
public Builder newBuilderForType() {
return newBuilder();
}
+ public static Builder newBuilder() {
+ return DEFAULT_INSTANCE.toBuilder();
+ }
+
public static Builder newBuilder(datawave.webservice.result.ResponseMessages.GenericResponse prototype) {
- return newBuilder().mergeFrom(prototype);
+ return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+ @java.lang.Override
public Builder toBuilder() {
- return newBuilder(this);
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
+ }
+
+ @java.lang.Override
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+ Builder builder = new Builder(parent);
+ return builder;
}
/**
* Protobuf type {@code datawave.webservice.result.GenericResponse}
*/
- public static final class Builder
- extends com.google.protobuf.GeneratedMessageLite.Builderrequired uint64 operation_time_ms = 1 [default = 0];
- *
- * @return if it has operation time
- */
- public boolean hasOperationTimeMs() {
- return ((bitField0_ & 0x00000001) == 0x00000001);
- }
-
- /**
- * required uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
- * @return the operation time in ms
+ * @return The operationTimeMs.
*/
+ @java.lang.Override
public long getOperationTimeMs() {
return operationTimeMs_;
}
/**
- * required uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
* @param value
- * the new operation time in ms
- *
- * @return builder to set operation time in ms
+ * The operationTimeMs to set.
+ * @return This builder for chaining.
*/
public Builder setOperationTimeMs(long value) {
- bitField0_ |= 0x00000001;
- operationTimeMs_ = value;
+ operationTimeMs_ = value;
+ onChanged();
return this;
}
/**
- * required uint64 operation_time_ms = 1 [default = 0];
+ * uint64 operation_time_ms = 1;
*
- * @return builder to clear operation time
+ * @return This builder for chaining.
*/
public Builder clearOperationTimeMs() {
- bitField0_ = (bitField0_ & ~0x00000001);
- operationTimeMs_ = 0L;
+ operationTimeMs_ = 0L;
+ onChanged();
return this;
}
- // repeated string messages = 2;
private com.google.protobuf.LazyStringList messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureMessagesIsMutable() {
- if (!((bitField0_ & 0x00000002) == 0x00000002)) {
+ if (!((bitField0_ & 0x00000001) != 0)) {
messages_ = new com.google.protobuf.LazyStringArrayList(messages_);
- bitField0_ |= 0x00000002;
+ bitField0_ |= 0x00000001;
}
}
/**
* repeated string messages = 2;
*
- * @return the message list
+ * @return A list containing the messages.
*/
- public java.util.Listrepeated string messages = 2;
*
- * @return the messages count
+ * @return The count of messages.
*/
public int getMessagesCount() {
return messages_.size();
@@ -3535,9 +4028,8 @@ public int getMessagesCount() {
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message at the provided index
+ * The index of the element to return.
+ * @return The messages at the given index.
*/
public java.lang.String getMessages(int index) {
return messages_.get(index);
@@ -3547,9 +4039,8 @@ public java.lang.String getMessages(int index) {
* repeated string messages = 2;
*
* @param index
- * the index
- *
- * @return the message byte string for the provided index
+ * The index of the value to return.
+ * @return The bytes of the messages at the given index.
*/
public com.google.protobuf.ByteString getMessagesBytes(int index) {
return messages_.getByteString(index);
@@ -3559,11 +4050,10 @@ public com.google.protobuf.ByteString getMessagesBytes(int index) {
* repeated string messages = 2;
*
* @param index
- * the index
+ * The index to set the value at.
* @param value
- * the message to add
- *
- * @return builder to set the message at the provided index
+ * The messages to set.
+ * @return This builder for chaining.
*/
public Builder setMessages(int index, java.lang.String value) {
if (value == null) {
@@ -3571,7 +4061,7 @@ public Builder setMessages(int index, java.lang.String value) {
}
ensureMessagesIsMutable();
messages_.set(index, value);
-
+ onChanged();
return this;
}
@@ -3579,9 +4069,8 @@ public Builder setMessages(int index, java.lang.String value) {
* repeated string messages = 2;
*
* @param value
- * the new message
- *
- * @return builder to add the provided value
+ * The messages to add.
+ * @return This builder for chaining.
*/
public Builder addMessages(java.lang.String value) {
if (value == null) {
@@ -3589,7 +4078,7 @@ public Builder addMessages(java.lang.String value) {
}
ensureMessagesIsMutable();
messages_.add(value);
-
+ onChanged();
return this;
}
@@ -3597,26 +4086,25 @@ public Builder addMessages(java.lang.String value) {
* repeated string messages = 2;
*
* @param values
- * iterable of messages to add
- *
- * @return builder to add the values provided
+ * The messages to add.
+ * @return This builder for chaining.
*/
public Builder addAllMessages(java.lang.Iterablerepeated string messages = 2;
*
- * @return builder to clear messages
+ * @return This builder for chaining.
*/
public Builder clearMessages() {
messages_ = com.google.protobuf.LazyStringArrayList.EMPTY;
- bitField0_ = (bitField0_ & ~0x00000002);
-
+ bitField0_ = (bitField0_ & ~0x00000001);
+ onChanged();
return this;
}
@@ -3624,230 +4112,271 @@ public Builder clearMessages() {
* repeated string messages = 2;
*
* @param value
- * message byte string
- *
- * @return builder to add message byte string
+ * The bytes of the messages to add.
+ * @return This builder for chaining.
*/
public Builder addMessagesBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
+ checkByteStringIsUtf8(value);
ensureMessagesIsMutable();
messages_.add(value);
-
+ onChanged();
return this;
}
- // repeated .datawave.webservice.query.exception.QueryExceptionType exceptions = 3;
private java.util.List