Please wait. This can take some minutes ...
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.
org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GeoWaveAnalyticMapreduce.proto
package org.locationtech.geowave.service.grpc.protobuf;
/**
* Protobuf type {@code KdeCommandParameters}
*/
public final class KdeCommandParameters extends com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:KdeCommandParameters)
KdeCommandParametersOrBuilder {
private static final long serialVersionUID = 0L;
// Use KdeCommandParameters.newBuilder() to construct.
private KdeCommandParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private KdeCommandParameters() {
parameters_ = com.google.protobuf.LazyStringArrayList.EMPTY;
featureType_ = "";
indexName_ = "";
minLevel_ = 0;
maxLevel_ = 0;
minSplits_ = 0;
maxSplits_ = 0;
coverageName_ = "";
hdfsHostPort_ = "";
jobTrackerOrResourceManHostPort_ = "";
tileSize_ = 0;
cqlFilter_ = "";
outputIndex_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private KdeCommandParameters(
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: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
parameters_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
parameters_.add(s);
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
featureType_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
indexName_ = s;
break;
}
case 32: {
minLevel_ = input.readInt32();
break;
}
case 40: {
maxLevel_ = input.readInt32();
break;
}
case 48: {
minSplits_ = input.readInt32();
break;
}
case 56: {
maxSplits_ = input.readInt32();
break;
}
case 66: {
java.lang.String s = input.readStringRequireUtf8();
coverageName_ = s;
break;
}
case 74: {
java.lang.String s = input.readStringRequireUtf8();
hdfsHostPort_ = s;
break;
}
case 82: {
java.lang.String s = input.readStringRequireUtf8();
jobTrackerOrResourceManHostPort_ = s;
break;
}
case 88: {
tileSize_ = input.readInt32();
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
cqlFilter_ = s;
break;
}
case 106: {
java.lang.String s = input.readStringRequireUtf8();
outputIndex_ = 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 {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
parameters_ = parameters_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return org.locationtech.geowave.service.grpc.protobuf.AnalyticMapreduceService.internal_static_KdeCommandParameters_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return org.locationtech.geowave.service.grpc.protobuf.AnalyticMapreduceService.internal_static_KdeCommandParameters_fieldAccessorTable.ensureFieldAccessorsInitialized(
org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters.class,
org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters.Builder.class);
}
private int bitField0_;
public static final int PARAMETERS_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList parameters_;
/**
* repeated string parameters = 1;
*/
public com.google.protobuf.ProtocolStringList getParametersList() {
return parameters_;
}
/**
* repeated string parameters = 1;
*/
public int getParametersCount() {
return parameters_.size();
}
/**
* repeated string parameters = 1;
*/
public java.lang.String getParameters(int index) {
return parameters_.get(index);
}
/**
* repeated string parameters = 1;
*/
public com.google.protobuf.ByteString getParametersBytes(int index) {
return parameters_.getByteString(index);
}
public static final int FEATURETYPE_FIELD_NUMBER = 2;
private volatile java.lang.Object featureType_;
/**
* string featureType = 2;
*/
public java.lang.String getFeatureType() {
java.lang.Object ref = featureType_;
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();
featureType_ = s;
return s;
}
}
/**
* string featureType = 2;
*/
public com.google.protobuf.ByteString getFeatureTypeBytes() {
java.lang.Object ref = featureType_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
featureType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INDEXNAME_FIELD_NUMBER = 3;
private volatile java.lang.Object indexName_;
/**
* string indexName = 3;
*/
public java.lang.String getIndexName() {
java.lang.Object ref = indexName_;
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();
indexName_ = s;
return s;
}
}
/**
* string indexName = 3;
*/
public com.google.protobuf.ByteString getIndexNameBytes() {
java.lang.Object ref = indexName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
indexName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MINLEVEL_FIELD_NUMBER = 4;
private int minLevel_;
/**
* int32 minLevel = 4;
*/
public int getMinLevel() {
return minLevel_;
}
public static final int MAXLEVEL_FIELD_NUMBER = 5;
private int maxLevel_;
/**
* int32 maxLevel = 5;
*/
public int getMaxLevel() {
return maxLevel_;
}
public static final int MINSPLITS_FIELD_NUMBER = 6;
private int minSplits_;
/**
* int32 minSplits = 6;
*/
public int getMinSplits() {
return minSplits_;
}
public static final int MAXSPLITS_FIELD_NUMBER = 7;
private int maxSplits_;
/**
* int32 maxSplits = 7;
*/
public int getMaxSplits() {
return maxSplits_;
}
public static final int COVERAGENAME_FIELD_NUMBER = 8;
private volatile java.lang.Object coverageName_;
/**
* string coverageName = 8;
*/
public java.lang.String getCoverageName() {
java.lang.Object ref = coverageName_;
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();
coverageName_ = s;
return s;
}
}
/**
* string coverageName = 8;
*/
public com.google.protobuf.ByteString getCoverageNameBytes() {
java.lang.Object ref = coverageName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
coverageName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HDFSHOSTPORT_FIELD_NUMBER = 9;
private volatile java.lang.Object hdfsHostPort_;
/**
* string hdfsHostPort = 9;
*/
public java.lang.String getHdfsHostPort() {
java.lang.Object ref = hdfsHostPort_;
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();
hdfsHostPort_ = s;
return s;
}
}
/**
* string hdfsHostPort = 9;
*/
public com.google.protobuf.ByteString getHdfsHostPortBytes() {
java.lang.Object ref = hdfsHostPort_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
hdfsHostPort_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int JOBTRACKERORRESOURCEMANHOSTPORT_FIELD_NUMBER = 10;
private volatile java.lang.Object jobTrackerOrResourceManHostPort_;
/**
* string jobTrackerOrResourceManHostPort = 10;
*/
public java.lang.String getJobTrackerOrResourceManHostPort() {
java.lang.Object ref = jobTrackerOrResourceManHostPort_;
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();
jobTrackerOrResourceManHostPort_ = s;
return s;
}
}
/**
* string jobTrackerOrResourceManHostPort = 10;
*/
public com.google.protobuf.ByteString getJobTrackerOrResourceManHostPortBytes() {
java.lang.Object ref = jobTrackerOrResourceManHostPort_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
jobTrackerOrResourceManHostPort_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TILESIZE_FIELD_NUMBER = 11;
private int tileSize_;
/**
* int32 tileSize = 11;
*/
public int getTileSize() {
return tileSize_;
}
public static final int CQLFILTER_FIELD_NUMBER = 12;
private volatile java.lang.Object cqlFilter_;
/**
* string cqlFilter = 12;
*/
public java.lang.String getCqlFilter() {
java.lang.Object ref = cqlFilter_;
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();
cqlFilter_ = s;
return s;
}
}
/**
* string cqlFilter = 12;
*/
public com.google.protobuf.ByteString getCqlFilterBytes() {
java.lang.Object ref = cqlFilter_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
cqlFilter_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OUTPUTINDEX_FIELD_NUMBER = 13;
private volatile java.lang.Object outputIndex_;
/**
* string outputIndex = 13;
*/
public java.lang.String getOutputIndex() {
java.lang.Object ref = outputIndex_;
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();
outputIndex_ = s;
return s;
}
}
/**
* string outputIndex = 13;
*/
public com.google.protobuf.ByteString getOutputIndexBytes() {
java.lang.Object ref = outputIndex_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
outputIndex_ = 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 {
for (int i = 0; i < parameters_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parameters_.getRaw(i));
}
if (!getFeatureTypeBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, featureType_);
}
if (!getIndexNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, indexName_);
}
if (minLevel_ != 0) {
output.writeInt32(4, minLevel_);
}
if (maxLevel_ != 0) {
output.writeInt32(5, maxLevel_);
}
if (minSplits_ != 0) {
output.writeInt32(6, minSplits_);
}
if (maxSplits_ != 0) {
output.writeInt32(7, maxSplits_);
}
if (!getCoverageNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, coverageName_);
}
if (!getHdfsHostPortBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, hdfsHostPort_);
}
if (!getJobTrackerOrResourceManHostPortBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(
output,
10,
jobTrackerOrResourceManHostPort_);
}
if (tileSize_ != 0) {
output.writeInt32(11, tileSize_);
}
if (!getCqlFilterBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, cqlFilter_);
}
if (!getOutputIndexBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, outputIndex_);
}
unknownFields.writeTo(output);
}
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1)
return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < parameters_.size(); i++) {
dataSize += computeStringSizeNoTag(parameters_.getRaw(i));
}
size += dataSize;
size += 1 * getParametersList().size();
}
if (!getFeatureTypeBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, featureType_);
}
if (!getIndexNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, indexName_);
}
if (minLevel_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, minLevel_);
}
if (maxLevel_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, maxLevel_);
}
if (minSplits_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, minSplits_);
}
if (maxSplits_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, maxSplits_);
}
if (!getCoverageNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, coverageName_);
}
if (!getHdfsHostPortBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, hdfsHostPort_);
}
if (!getJobTrackerOrResourceManHostPortBytes().isEmpty()) {
size +=
com.google.protobuf.GeneratedMessageV3.computeStringSize(
10,
jobTrackerOrResourceManHostPort_);
}
if (tileSize_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, tileSize_);
}
if (!getCqlFilterBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, cqlFilter_);
}
if (!getOutputIndexBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, outputIndex_);
}
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.KdeCommandParameters)) {
return super.equals(obj);
}
org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters other =
(org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters) obj;
boolean result = true;
result = result && getParametersList().equals(other.getParametersList());
result = result && getFeatureType().equals(other.getFeatureType());
result = result && getIndexName().equals(other.getIndexName());
result = result && (getMinLevel() == other.getMinLevel());
result = result && (getMaxLevel() == other.getMaxLevel());
result = result && (getMinSplits() == other.getMinSplits());
result = result && (getMaxSplits() == other.getMaxSplits());
result = result && getCoverageName().equals(other.getCoverageName());
result = result && getHdfsHostPort().equals(other.getHdfsHostPort());
result =
result
&& getJobTrackerOrResourceManHostPort().equals(
other.getJobTrackerOrResourceManHostPort());
result = result && (getTileSize() == other.getTileSize());
result = result && getCqlFilter().equals(other.getCqlFilter());
result = result && getOutputIndex().equals(other.getOutputIndex());
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 (getParametersCount() > 0) {
hash = (37 * hash) + PARAMETERS_FIELD_NUMBER;
hash = (53 * hash) + getParametersList().hashCode();
}
hash = (37 * hash) + FEATURETYPE_FIELD_NUMBER;
hash = (53 * hash) + getFeatureType().hashCode();
hash = (37 * hash) + INDEXNAME_FIELD_NUMBER;
hash = (53 * hash) + getIndexName().hashCode();
hash = (37 * hash) + MINLEVEL_FIELD_NUMBER;
hash = (53 * hash) + getMinLevel();
hash = (37 * hash) + MAXLEVEL_FIELD_NUMBER;
hash = (53 * hash) + getMaxLevel();
hash = (37 * hash) + MINSPLITS_FIELD_NUMBER;
hash = (53 * hash) + getMinSplits();
hash = (37 * hash) + MAXSPLITS_FIELD_NUMBER;
hash = (53 * hash) + getMaxSplits();
hash = (37 * hash) + COVERAGENAME_FIELD_NUMBER;
hash = (53 * hash) + getCoverageName().hashCode();
hash = (37 * hash) + HDFSHOSTPORT_FIELD_NUMBER;
hash = (53 * hash) + getHdfsHostPort().hashCode();
hash = (37 * hash) + JOBTRACKERORRESOURCEMANHOSTPORT_FIELD_NUMBER;
hash = (53 * hash) + getJobTrackerOrResourceManHostPort().hashCode();
hash = (37 * hash) + TILESIZE_FIELD_NUMBER;
hash = (53 * hash) + getTileSize();
hash = (37 * hash) + CQLFILTER_FIELD_NUMBER;
hash = (53 * hash) + getCqlFilter().hashCode();
hash = (37 * hash) + OUTPUTINDEX_FIELD_NUMBER;
hash = (53 * hash) + getOutputIndex().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters 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.KdeCommandParameters parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters 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.KdeCommandParameters parseFrom(
byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters 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.KdeCommandParameters 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.KdeCommandParameters 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.KdeCommandParameters 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.KdeCommandParameters 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.KdeCommandParameters 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.KdeCommandParameters 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.KdeCommandParameters 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;
}
/**
* Protobuf type {@code KdeCommandParameters}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
implements
// @@protoc_insertion_point(builder_implements:KdeCommandParameters)
org.locationtech.geowave.service.grpc.protobuf.KdeCommandParametersOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return org.locationtech.geowave.service.grpc.protobuf.AnalyticMapreduceService.internal_static_KdeCommandParameters_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return org.locationtech.geowave.service.grpc.protobuf.AnalyticMapreduceService.internal_static_KdeCommandParameters_fieldAccessorTable.ensureFieldAccessorsInitialized(
org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters.class,
org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters.Builder.class);
}
// Construct using
// org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters.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();
parameters_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
featureType_ = "";
indexName_ = "";
minLevel_ = 0;
maxLevel_ = 0;
minSplits_ = 0;
maxSplits_ = 0;
coverageName_ = "";
hdfsHostPort_ = "";
jobTrackerOrResourceManHostPort_ = "";
tileSize_ = 0;
cqlFilter_ = "";
outputIndex_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return org.locationtech.geowave.service.grpc.protobuf.AnalyticMapreduceService.internal_static_KdeCommandParameters_descriptor;
}
public org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters getDefaultInstanceForType() {
return org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters.getDefaultInstance();
}
public org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters build() {
org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters buildPartial() {
org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters result =
new org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
parameters_ = parameters_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.parameters_ = parameters_;
result.featureType_ = featureType_;
result.indexName_ = indexName_;
result.minLevel_ = minLevel_;
result.maxLevel_ = maxLevel_;
result.minSplits_ = minSplits_;
result.maxSplits_ = maxSplits_;
result.coverageName_ = coverageName_;
result.hdfsHostPort_ = hdfsHostPort_;
result.jobTrackerOrResourceManHostPort_ = jobTrackerOrResourceManHostPort_;
result.tileSize_ = tileSize_;
result.cqlFilter_ = cqlFilter_;
result.outputIndex_ = outputIndex_;
result.bitField0_ = to_bitField0_;
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.KdeCommandParameters) {
return mergeFrom(
(org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters other) {
if (other == org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters.getDefaultInstance())
return this;
if (!other.parameters_.isEmpty()) {
if (parameters_.isEmpty()) {
parameters_ = other.parameters_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureParametersIsMutable();
parameters_.addAll(other.parameters_);
}
onChanged();
}
if (!other.getFeatureType().isEmpty()) {
featureType_ = other.featureType_;
onChanged();
}
if (!other.getIndexName().isEmpty()) {
indexName_ = other.indexName_;
onChanged();
}
if (other.getMinLevel() != 0) {
setMinLevel(other.getMinLevel());
}
if (other.getMaxLevel() != 0) {
setMaxLevel(other.getMaxLevel());
}
if (other.getMinSplits() != 0) {
setMinSplits(other.getMinSplits());
}
if (other.getMaxSplits() != 0) {
setMaxSplits(other.getMaxSplits());
}
if (!other.getCoverageName().isEmpty()) {
coverageName_ = other.coverageName_;
onChanged();
}
if (!other.getHdfsHostPort().isEmpty()) {
hdfsHostPort_ = other.hdfsHostPort_;
onChanged();
}
if (!other.getJobTrackerOrResourceManHostPort().isEmpty()) {
jobTrackerOrResourceManHostPort_ = other.jobTrackerOrResourceManHostPort_;
onChanged();
}
if (other.getTileSize() != 0) {
setTileSize(other.getTileSize());
}
if (!other.getCqlFilter().isEmpty()) {
cqlFilter_ = other.cqlFilter_;
onChanged();
}
if (!other.getOutputIndex().isEmpty()) {
outputIndex_ = other.outputIndex_;
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.KdeCommandParameters parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList parameters_ =
com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureParametersIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
parameters_ = new com.google.protobuf.LazyStringArrayList(parameters_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string parameters = 1;
*/
public com.google.protobuf.ProtocolStringList getParametersList() {
return parameters_.getUnmodifiableView();
}
/**
* repeated string parameters = 1;
*/
public int getParametersCount() {
return parameters_.size();
}
/**
* repeated string parameters = 1;
*/
public java.lang.String getParameters(int index) {
return parameters_.get(index);
}
/**
* repeated string parameters = 1;
*/
public com.google.protobuf.ByteString getParametersBytes(int index) {
return parameters_.getByteString(index);
}
/**
* repeated string parameters = 1;
*/
public Builder setParameters(int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureParametersIsMutable();
parameters_.set(index, value);
onChanged();
return this;
}
/**
* repeated string parameters = 1;
*/
public Builder addParameters(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureParametersIsMutable();
parameters_.add(value);
onChanged();
return this;
}
/**
* repeated string parameters = 1;
*/
public Builder addAllParameters(java.lang.Iterable values) {
ensureParametersIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(values, parameters_);
onChanged();
return this;
}
/**
* repeated string parameters = 1;
*/
public Builder clearParameters() {
parameters_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string parameters = 1;
*/
public Builder addParametersBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureParametersIsMutable();
parameters_.add(value);
onChanged();
return this;
}
private java.lang.Object featureType_ = "";
/**
* string featureType = 2;
*/
public java.lang.String getFeatureType() {
java.lang.Object ref = featureType_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
featureType_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string featureType = 2;
*/
public com.google.protobuf.ByteString getFeatureTypeBytes() {
java.lang.Object ref = featureType_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
featureType_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string featureType = 2;
*/
public Builder setFeatureType(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
featureType_ = value;
onChanged();
return this;
}
/**
* string featureType = 2;
*/
public Builder clearFeatureType() {
featureType_ = getDefaultInstance().getFeatureType();
onChanged();
return this;
}
/**
* string featureType = 2;
*/
public Builder setFeatureTypeBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
featureType_ = value;
onChanged();
return this;
}
private java.lang.Object indexName_ = "";
/**
* string indexName = 3;
*/
public java.lang.String getIndexName() {
java.lang.Object ref = indexName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
indexName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string indexName = 3;
*/
public com.google.protobuf.ByteString getIndexNameBytes() {
java.lang.Object ref = indexName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
indexName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string indexName = 3;
*/
public Builder setIndexName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
indexName_ = value;
onChanged();
return this;
}
/**
* string indexName = 3;
*/
public Builder clearIndexName() {
indexName_ = getDefaultInstance().getIndexName();
onChanged();
return this;
}
/**
* string indexName = 3;
*/
public Builder setIndexNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
indexName_ = value;
onChanged();
return this;
}
private int minLevel_;
/**
* int32 minLevel = 4;
*/
public int getMinLevel() {
return minLevel_;
}
/**
* int32 minLevel = 4;
*/
public Builder setMinLevel(int value) {
minLevel_ = value;
onChanged();
return this;
}
/**
* int32 minLevel = 4;
*/
public Builder clearMinLevel() {
minLevel_ = 0;
onChanged();
return this;
}
private int maxLevel_;
/**
* int32 maxLevel = 5;
*/
public int getMaxLevel() {
return maxLevel_;
}
/**
* int32 maxLevel = 5;
*/
public Builder setMaxLevel(int value) {
maxLevel_ = value;
onChanged();
return this;
}
/**
* int32 maxLevel = 5;
*/
public Builder clearMaxLevel() {
maxLevel_ = 0;
onChanged();
return this;
}
private int minSplits_;
/**
* int32 minSplits = 6;
*/
public int getMinSplits() {
return minSplits_;
}
/**
* int32 minSplits = 6;
*/
public Builder setMinSplits(int value) {
minSplits_ = value;
onChanged();
return this;
}
/**
* int32 minSplits = 6;
*/
public Builder clearMinSplits() {
minSplits_ = 0;
onChanged();
return this;
}
private int maxSplits_;
/**
* int32 maxSplits = 7;
*/
public int getMaxSplits() {
return maxSplits_;
}
/**
* int32 maxSplits = 7;
*/
public Builder setMaxSplits(int value) {
maxSplits_ = value;
onChanged();
return this;
}
/**
* int32 maxSplits = 7;
*/
public Builder clearMaxSplits() {
maxSplits_ = 0;
onChanged();
return this;
}
private java.lang.Object coverageName_ = "";
/**
* string coverageName = 8;
*/
public java.lang.String getCoverageName() {
java.lang.Object ref = coverageName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
coverageName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string coverageName = 8;
*/
public com.google.protobuf.ByteString getCoverageNameBytes() {
java.lang.Object ref = coverageName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
coverageName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string coverageName = 8;
*/
public Builder setCoverageName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
coverageName_ = value;
onChanged();
return this;
}
/**
* string coverageName = 8;
*/
public Builder clearCoverageName() {
coverageName_ = getDefaultInstance().getCoverageName();
onChanged();
return this;
}
/**
* string coverageName = 8;
*/
public Builder setCoverageNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
coverageName_ = value;
onChanged();
return this;
}
private java.lang.Object hdfsHostPort_ = "";
/**
* string hdfsHostPort = 9;
*/
public java.lang.String getHdfsHostPort() {
java.lang.Object ref = hdfsHostPort_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hdfsHostPort_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string hdfsHostPort = 9;
*/
public com.google.protobuf.ByteString getHdfsHostPortBytes() {
java.lang.Object ref = hdfsHostPort_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
hdfsHostPort_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string hdfsHostPort = 9;
*/
public Builder setHdfsHostPort(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
hdfsHostPort_ = value;
onChanged();
return this;
}
/**
* string hdfsHostPort = 9;
*/
public Builder clearHdfsHostPort() {
hdfsHostPort_ = getDefaultInstance().getHdfsHostPort();
onChanged();
return this;
}
/**
* string hdfsHostPort = 9;
*/
public Builder setHdfsHostPortBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
hdfsHostPort_ = value;
onChanged();
return this;
}
private java.lang.Object jobTrackerOrResourceManHostPort_ = "";
/**
* string jobTrackerOrResourceManHostPort = 10;
*/
public java.lang.String getJobTrackerOrResourceManHostPort() {
java.lang.Object ref = jobTrackerOrResourceManHostPort_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
jobTrackerOrResourceManHostPort_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string jobTrackerOrResourceManHostPort = 10;
*/
public com.google.protobuf.ByteString getJobTrackerOrResourceManHostPortBytes() {
java.lang.Object ref = jobTrackerOrResourceManHostPort_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
jobTrackerOrResourceManHostPort_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string jobTrackerOrResourceManHostPort = 10;
*/
public Builder setJobTrackerOrResourceManHostPort(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
jobTrackerOrResourceManHostPort_ = value;
onChanged();
return this;
}
/**
* string jobTrackerOrResourceManHostPort = 10;
*/
public Builder clearJobTrackerOrResourceManHostPort() {
jobTrackerOrResourceManHostPort_ = getDefaultInstance().getJobTrackerOrResourceManHostPort();
onChanged();
return this;
}
/**
* string jobTrackerOrResourceManHostPort = 10;
*/
public Builder setJobTrackerOrResourceManHostPortBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
jobTrackerOrResourceManHostPort_ = value;
onChanged();
return this;
}
private int tileSize_;
/**
* int32 tileSize = 11;
*/
public int getTileSize() {
return tileSize_;
}
/**
* int32 tileSize = 11;
*/
public Builder setTileSize(int value) {
tileSize_ = value;
onChanged();
return this;
}
/**
* int32 tileSize = 11;
*/
public Builder clearTileSize() {
tileSize_ = 0;
onChanged();
return this;
}
private java.lang.Object cqlFilter_ = "";
/**
* string cqlFilter = 12;
*/
public java.lang.String getCqlFilter() {
java.lang.Object ref = cqlFilter_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
cqlFilter_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string cqlFilter = 12;
*/
public com.google.protobuf.ByteString getCqlFilterBytes() {
java.lang.Object ref = cqlFilter_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
cqlFilter_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string cqlFilter = 12;
*/
public Builder setCqlFilter(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cqlFilter_ = value;
onChanged();
return this;
}
/**
* string cqlFilter = 12;
*/
public Builder clearCqlFilter() {
cqlFilter_ = getDefaultInstance().getCqlFilter();
onChanged();
return this;
}
/**
* string cqlFilter = 12;
*/
public Builder setCqlFilterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
cqlFilter_ = value;
onChanged();
return this;
}
private java.lang.Object outputIndex_ = "";
/**
* string outputIndex = 13;
*/
public java.lang.String getOutputIndex() {
java.lang.Object ref = outputIndex_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
outputIndex_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string outputIndex = 13;
*/
public com.google.protobuf.ByteString getOutputIndexBytes() {
java.lang.Object ref = outputIndex_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
outputIndex_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string outputIndex = 13;
*/
public Builder setOutputIndex(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
outputIndex_ = value;
onChanged();
return this;
}
/**
* string outputIndex = 13;
*/
public Builder clearOutputIndex() {
outputIndex_ = getDefaultInstance().getOutputIndex();
onChanged();
return this;
}
/**
* string outputIndex = 13;
*/
public Builder setOutputIndexBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
outputIndex_ = 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:KdeCommandParameters)
}
// @@protoc_insertion_point(class_scope:KdeCommandParameters)
private static final org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters();
}
public static org.locationtech.geowave.service.grpc.protobuf.KdeCommandParameters getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public KdeCommandParameters parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new KdeCommandParameters(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.KdeCommandParameters getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}