Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GeoWaveVector.proto
package org.locationtech.geowave.service.grpc.protobuf;
/**
*
* A CQL query string to be executed by the server
*
*
* Protobuf type {@code CQLQueryParameters}
*/
public final class CQLQueryParameters extends com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:CQLQueryParameters)
CQLQueryParametersOrBuilder {
private static final long serialVersionUID = 0L;
// Use CQLQueryParameters.newBuilder() to construct.
private CQLQueryParameters(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CQLQueryParameters() {
cql_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private CQLQueryParameters(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
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 (!parseUnknownFieldProto3(input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
org.locationtech.geowave.service.grpc.protobuf.VectorStoreParameters.Builder subBuilder =
null;
if (baseParams_ != null) {
subBuilder = baseParams_.toBuilder();
}
baseParams_ =
input.readMessage(
org.locationtech.geowave.service.grpc.protobuf.VectorStoreParameters.parser(),
extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(baseParams_);
baseParams_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
cql_ = s;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return org.locationtech.geowave.service.grpc.protobuf.VectorService.internal_static_CQLQueryParameters_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return org.locationtech.geowave.service.grpc.protobuf.VectorService.internal_static_CQLQueryParameters_fieldAccessorTable.ensureFieldAccessorsInitialized(
org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters.class,
org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters.Builder.class);
}
public static final int BASEPARAMS_FIELD_NUMBER = 1;
private org.locationtech.geowave.service.grpc.protobuf.VectorStoreParameters baseParams_;
/**
* .VectorStoreParameters baseParams = 1;
*/
public boolean hasBaseParams() {
return baseParams_ != null;
}
/**
* .VectorStoreParameters baseParams = 1;
*/
public org.locationtech.geowave.service.grpc.protobuf.VectorStoreParameters getBaseParams() {
return baseParams_ == null
? org.locationtech.geowave.service.grpc.protobuf.VectorStoreParameters.getDefaultInstance()
: baseParams_;
}
/**
* .VectorStoreParameters baseParams = 1;
*/
public org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersOrBuilder getBaseParamsOrBuilder() {
return getBaseParams();
}
public static final int CQL_FIELD_NUMBER = 2;
private volatile java.lang.Object cql_;
/**
* string cql = 2;
*/
public java.lang.String getCql() {
java.lang.Object ref = cql_;
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();
cql_ = s;
return s;
}
}
/**
* string cql = 2;
*/
public com.google.protobuf.ByteString getCqlBytes() {
java.lang.Object ref = cql_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
cql_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1)
return true;
if (isInitialized == 0)
return false;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (baseParams_ != null) {
output.writeMessage(1, getBaseParams());
}
if (!getCqlBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, cql_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1)
return size;
size = 0;
if (baseParams_ != null) {
size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getBaseParams());
}
if (!getCqlBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, cql_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters)) {
return super.equals(obj);
}
org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters other =
(org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters) obj;
boolean result = true;
result = result && (hasBaseParams() == other.hasBaseParams());
if (hasBaseParams()) {
result = result && getBaseParams().equals(other.getBaseParams());
}
result = result && getCql().equals(other.getCql());
result = result && unknownFields.equals(other.unknownFields);
return result;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasBaseParams()) {
hash = (37 * hash) + BASEPARAMS_FIELD_NUMBER;
hash = (53 * hash) + getBaseParams().hashCode();
}
hash = (37 * hash) + CQL_FIELD_NUMBER;
hash = (53 * hash) + getCql().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters parseFrom(
byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters parseFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER,
input,
extensionRegistry);
}
public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters parseDelimitedFrom(
java.io.InputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input);
}
public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(
PARSER,
input,
extensionRegistry);
}
public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters parseFrom(
com.google.protobuf.CodedInputStream input) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input);
}
public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3.parseWithIOException(
PARSER,
input,
extensionRegistry);
}
public Builder newBuilderForType() {
return newBuilder();
}
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(
org.locationtech.geowave.service.grpc.protobuf.CQLQueryParameters prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
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;
}
/**
*
* A CQL query string to be executed by the server
*