All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos Maven / Gradle / Ivy

There is a newer version: 2.0.1
Show newest version
// 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 CQLQueryParametersProtos} */ public final class CQLQueryParametersProtos extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:CQLQueryParametersProtos) CQLQueryParametersProtosOrBuilder { private static final long serialVersionUID = 0L; // Use CQLQueryParametersProtos.newBuilder() to construct. private CQLQueryParametersProtos(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CQLQueryParametersProtos() { cql_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CQLQueryParametersProtos( 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.VectorStoreParametersProtos.Builder subBuilder = null; if (baseParams_ != null) { subBuilder = baseParams_.toBuilder(); } baseParams_ = input.readMessage(org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos.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.VectorServiceProtos.internal_static_CQLQueryParametersProtos_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.locationtech.geowave.service.grpc.protobuf.VectorServiceProtos.internal_static_CQLQueryParametersProtos_fieldAccessorTable .ensureFieldAccessorsInitialized( org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos.class, org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos.Builder.class); } public static final int BASEPARAMS_FIELD_NUMBER = 1; private org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos baseParams_; /** * .VectorStoreParametersProtos baseParams = 1; */ public boolean hasBaseParams() { return baseParams_ != null; } /** * .VectorStoreParametersProtos baseParams = 1; */ public org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos getBaseParams() { return baseParams_ == null ? org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos.getDefaultInstance() : baseParams_; } /** * .VectorStoreParametersProtos baseParams = 1; */ public org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtosOrBuilder 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.CQLQueryParametersProtos)) { return super.equals(obj); } org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos other = (org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos) 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.CQLQueryParametersProtos parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos 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.CQLQueryParametersProtos parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos 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.CQLQueryParametersProtos parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos 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.CQLQueryParametersProtos 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.CQLQueryParametersProtos 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.CQLQueryParametersProtos 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.CQLQueryParametersProtos 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.CQLQueryParametersProtos 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.CQLQueryParametersProtos 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.CQLQueryParametersProtos 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
   * 
* * Protobuf type {@code CQLQueryParametersProtos} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:CQLQueryParametersProtos) org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtosOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.locationtech.geowave.service.grpc.protobuf.VectorServiceProtos.internal_static_CQLQueryParametersProtos_descriptor; } protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return org.locationtech.geowave.service.grpc.protobuf.VectorServiceProtos.internal_static_CQLQueryParametersProtos_fieldAccessorTable .ensureFieldAccessorsInitialized( org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos.class, org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos.Builder.class); } // Construct using org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); if (baseParamsBuilder_ == null) { baseParams_ = null; } else { baseParams_ = null; baseParamsBuilder_ = null; } cql_ = ""; return this; } public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.locationtech.geowave.service.grpc.protobuf.VectorServiceProtos.internal_static_CQLQueryParametersProtos_descriptor; } public org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos getDefaultInstanceForType() { return org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos.getDefaultInstance(); } public org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos build() { org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos buildPartial() { org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos result = new org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos(this); if (baseParamsBuilder_ == null) { result.baseParams_ = baseParams_; } else { result.baseParams_ = baseParamsBuilder_.build(); } result.cql_ = cql_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.setField(field, value); } public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos) { return mergeFrom((org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos other) { if (other == org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos.getDefaultInstance()) return this; if (other.hasBaseParams()) { mergeBaseParams(other.getBaseParams()); } if (!other.getCql().isEmpty()) { cql_ = other.cql_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos baseParams_ = null; private com.google.protobuf.SingleFieldBuilderV3< org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos, org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos.Builder, org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtosOrBuilder> baseParamsBuilder_; /** * .VectorStoreParametersProtos baseParams = 1; */ public boolean hasBaseParams() { return baseParamsBuilder_ != null || baseParams_ != null; } /** * .VectorStoreParametersProtos baseParams = 1; */ public org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos getBaseParams() { if (baseParamsBuilder_ == null) { return baseParams_ == null ? org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos.getDefaultInstance() : baseParams_; } else { return baseParamsBuilder_.getMessage(); } } /** * .VectorStoreParametersProtos baseParams = 1; */ public Builder setBaseParams(org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos value) { if (baseParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } baseParams_ = value; onChanged(); } else { baseParamsBuilder_.setMessage(value); } return this; } /** * .VectorStoreParametersProtos baseParams = 1; */ public Builder setBaseParams( org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos.Builder builderForValue) { if (baseParamsBuilder_ == null) { baseParams_ = builderForValue.build(); onChanged(); } else { baseParamsBuilder_.setMessage(builderForValue.build()); } return this; } /** * .VectorStoreParametersProtos baseParams = 1; */ public Builder mergeBaseParams(org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos value) { if (baseParamsBuilder_ == null) { if (baseParams_ != null) { baseParams_ = org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos.newBuilder(baseParams_).mergeFrom(value).buildPartial(); } else { baseParams_ = value; } onChanged(); } else { baseParamsBuilder_.mergeFrom(value); } return this; } /** * .VectorStoreParametersProtos baseParams = 1; */ public Builder clearBaseParams() { if (baseParamsBuilder_ == null) { baseParams_ = null; onChanged(); } else { baseParams_ = null; baseParamsBuilder_ = null; } return this; } /** * .VectorStoreParametersProtos baseParams = 1; */ public org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos.Builder getBaseParamsBuilder() { onChanged(); return getBaseParamsFieldBuilder().getBuilder(); } /** * .VectorStoreParametersProtos baseParams = 1; */ public org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtosOrBuilder getBaseParamsOrBuilder() { if (baseParamsBuilder_ != null) { return baseParamsBuilder_.getMessageOrBuilder(); } else { return baseParams_ == null ? org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos.getDefaultInstance() : baseParams_; } } /** * .VectorStoreParametersProtos baseParams = 1; */ private com.google.protobuf.SingleFieldBuilderV3< org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos, org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos.Builder, org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtosOrBuilder> getBaseParamsFieldBuilder() { if (baseParamsBuilder_ == null) { baseParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos, org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtos.Builder, org.locationtech.geowave.service.grpc.protobuf.VectorStoreParametersProtosOrBuilder>( getBaseParams(), getParentForChildren(), isClean()); baseParams_ = null; } return baseParamsBuilder_; } private java.lang.Object cql_ = ""; /** * string cql = 2; */ public java.lang.String getCql() { java.lang.Object ref = cql_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); cql_ = s; return s; } else { return (java.lang.String) ref; } } /** * string cql = 2; */ public com.google.protobuf.ByteString getCqlBytes() { java.lang.Object ref = cql_; if (ref instanceof 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; } } /** * string cql = 2; */ public Builder setCql( java.lang.String value) { if (value == null) { throw new NullPointerException(); } cql_ = value; onChanged(); return this; } /** * string cql = 2; */ public Builder clearCql() { cql_ = getDefaultInstance().getCql(); onChanged(); return this; } /** * string cql = 2; */ public Builder setCqlBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); cql_ = value; onChanged(); return this; } public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFieldsProto3(unknownFields); } public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:CQLQueryParametersProtos) } // @@protoc_insertion_point(class_scope:CQLQueryParametersProtos) private static final org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos(); } public static org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { public CQLQueryParametersProtos parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CQLQueryParametersProtos(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } public org.locationtech.geowave.service.grpc.protobuf.CQLQueryParametersProtos getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy