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.KmeansSparkCommandParameters Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: GeoWaveAnalyticSpark.proto
package org.locationtech.geowave.service.grpc.protobuf;
/**
* Protobuf type {@code KmeansSparkCommandParameters}
*/
public final class KmeansSparkCommandParameters extends com.google.protobuf.GeneratedMessageV3
implements
// @@protoc_insertion_point(message_implements:KmeansSparkCommandParameters)
KmeansSparkCommandParametersOrBuilder {
private static final long serialVersionUID = 0L;
// Use KmeansSparkCommandParameters.newBuilder() to construct.
private KmeansSparkCommandParameters(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private KmeansSparkCommandParameters() {
parameters_ = com.google.protobuf.LazyStringArrayList.EMPTY;
appName_ = "";
host_ = "";
master_ = "";
numClusters_ = 0;
numIterations_ = 0;
epsilon_ = 0D;
useTime_ = false;
generateHulls_ = false;
computeHullData_ = false;
cqlFilter_ = "";
typeName_ = "";
minSplits_ = 0;
maxSplits_ = 0;
centroidTypeName_ = "";
hullTypeName_ = "";
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
return this.unknownFields;
}
private KmeansSparkCommandParameters(
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();
appName_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
host_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
master_ = s;
break;
}
case 40: {
numClusters_ = input.readInt32();
break;
}
case 48: {
numIterations_ = input.readInt32();
break;
}
case 57: {
epsilon_ = input.readDouble();
break;
}
case 64: {
useTime_ = input.readBool();
break;
}
case 72: {
generateHulls_ = input.readBool();
break;
}
case 80: {
computeHullData_ = input.readBool();
break;
}
case 90: {
java.lang.String s = input.readStringRequireUtf8();
cqlFilter_ = s;
break;
}
case 98: {
java.lang.String s = input.readStringRequireUtf8();
typeName_ = s;
break;
}
case 104: {
minSplits_ = input.readInt32();
break;
}
case 112: {
maxSplits_ = input.readInt32();
break;
}
case 122: {
java.lang.String s = input.readStringRequireUtf8();
centroidTypeName_ = s;
break;
}
case 130: {
java.lang.String s = input.readStringRequireUtf8();
hullTypeName_ = 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.AnalyticSparkService.internal_static_KmeansSparkCommandParameters_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return org.locationtech.geowave.service.grpc.protobuf.AnalyticSparkService.internal_static_KmeansSparkCommandParameters_fieldAccessorTable.ensureFieldAccessorsInitialized(
org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters.class,
org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters.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 APPNAME_FIELD_NUMBER = 2;
private volatile java.lang.Object appName_;
/**
* string appName = 2;
*/
public java.lang.String getAppName() {
java.lang.Object ref = appName_;
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();
appName_ = s;
return s;
}
}
/**
* string appName = 2;
*/
public com.google.protobuf.ByteString getAppNameBytes() {
java.lang.Object ref = appName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
appName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HOST_FIELD_NUMBER = 3;
private volatile java.lang.Object host_;
/**
* string host = 3;
*/
public java.lang.String getHost() {
java.lang.Object ref = host_;
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();
host_ = s;
return s;
}
}
/**
* string host = 3;
*/
public com.google.protobuf.ByteString getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MASTER_FIELD_NUMBER = 4;
private volatile java.lang.Object master_;
/**
* string master = 4;
*/
public java.lang.String getMaster() {
java.lang.Object ref = master_;
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();
master_ = s;
return s;
}
}
/**
* string master = 4;
*/
public com.google.protobuf.ByteString getMasterBytes() {
java.lang.Object ref = master_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
master_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NUMCLUSTERS_FIELD_NUMBER = 5;
private int numClusters_;
/**
* int32 numClusters = 5;
*/
public int getNumClusters() {
return numClusters_;
}
public static final int NUMITERATIONS_FIELD_NUMBER = 6;
private int numIterations_;
/**
* int32 numIterations = 6;
*/
public int getNumIterations() {
return numIterations_;
}
public static final int EPSILON_FIELD_NUMBER = 7;
private double epsilon_;
/**
* double epsilon = 7;
*/
public double getEpsilon() {
return epsilon_;
}
public static final int USETIME_FIELD_NUMBER = 8;
private boolean useTime_;
/**
* bool useTime = 8;
*/
public boolean getUseTime() {
return useTime_;
}
public static final int GENERATEHULLS_FIELD_NUMBER = 9;
private boolean generateHulls_;
/**
* bool generateHulls = 9;
*/
public boolean getGenerateHulls() {
return generateHulls_;
}
public static final int COMPUTEHULLDATA_FIELD_NUMBER = 10;
private boolean computeHullData_;
/**
* bool computeHullData = 10;
*/
public boolean getComputeHullData() {
return computeHullData_;
}
public static final int CQLFILTER_FIELD_NUMBER = 11;
private volatile java.lang.Object cqlFilter_;
/**
* string cqlFilter = 11;
*/
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 = 11;
*/
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 TYPENAME_FIELD_NUMBER = 12;
private volatile java.lang.Object typeName_;
/**
* string typeName = 12;
*/
public java.lang.String getTypeName() {
java.lang.Object ref = typeName_;
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();
typeName_ = s;
return s;
}
}
/**
* string typeName = 12;
*/
public com.google.protobuf.ByteString getTypeNameBytes() {
java.lang.Object ref = typeName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
typeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MINSPLITS_FIELD_NUMBER = 13;
private int minSplits_;
/**
* int32 minSplits = 13;
*/
public int getMinSplits() {
return minSplits_;
}
public static final int MAXSPLITS_FIELD_NUMBER = 14;
private int maxSplits_;
/**
* int32 maxSplits = 14;
*/
public int getMaxSplits() {
return maxSplits_;
}
public static final int CENTROIDTYPENAME_FIELD_NUMBER = 15;
private volatile java.lang.Object centroidTypeName_;
/**
* string centroidTypeName = 15;
*/
public java.lang.String getCentroidTypeName() {
java.lang.Object ref = centroidTypeName_;
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();
centroidTypeName_ = s;
return s;
}
}
/**
* string centroidTypeName = 15;
*/
public com.google.protobuf.ByteString getCentroidTypeNameBytes() {
java.lang.Object ref = centroidTypeName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
centroidTypeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int HULLTYPENAME_FIELD_NUMBER = 16;
private volatile java.lang.Object hullTypeName_;
/**
* string hullTypeName = 16;
*/
public java.lang.String getHullTypeName() {
java.lang.Object ref = hullTypeName_;
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();
hullTypeName_ = s;
return s;
}
}
/**
* string hullTypeName = 16;
*/
public com.google.protobuf.ByteString getHullTypeNameBytes() {
java.lang.Object ref = hullTypeName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
hullTypeName_ = 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 (!getAppNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, appName_);
}
if (!getHostBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, host_);
}
if (!getMasterBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, master_);
}
if (numClusters_ != 0) {
output.writeInt32(5, numClusters_);
}
if (numIterations_ != 0) {
output.writeInt32(6, numIterations_);
}
if (epsilon_ != 0D) {
output.writeDouble(7, epsilon_);
}
if (useTime_ != false) {
output.writeBool(8, useTime_);
}
if (generateHulls_ != false) {
output.writeBool(9, generateHulls_);
}
if (computeHullData_ != false) {
output.writeBool(10, computeHullData_);
}
if (!getCqlFilterBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, cqlFilter_);
}
if (!getTypeNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, typeName_);
}
if (minSplits_ != 0) {
output.writeInt32(13, minSplits_);
}
if (maxSplits_ != 0) {
output.writeInt32(14, maxSplits_);
}
if (!getCentroidTypeNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 15, centroidTypeName_);
}
if (!getHullTypeNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 16, hullTypeName_);
}
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 (!getAppNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, appName_);
}
if (!getHostBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, host_);
}
if (!getMasterBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, master_);
}
if (numClusters_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, numClusters_);
}
if (numIterations_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, numIterations_);
}
if (epsilon_ != 0D) {
size += com.google.protobuf.CodedOutputStream.computeDoubleSize(7, epsilon_);
}
if (useTime_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(8, useTime_);
}
if (generateHulls_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(9, generateHulls_);
}
if (computeHullData_ != false) {
size += com.google.protobuf.CodedOutputStream.computeBoolSize(10, computeHullData_);
}
if (!getCqlFilterBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, cqlFilter_);
}
if (!getTypeNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, typeName_);
}
if (minSplits_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(13, minSplits_);
}
if (maxSplits_ != 0) {
size += com.google.protobuf.CodedOutputStream.computeInt32Size(14, maxSplits_);
}
if (!getCentroidTypeNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, centroidTypeName_);
}
if (!getHullTypeNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(16, hullTypeName_);
}
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.KmeansSparkCommandParameters)) {
return super.equals(obj);
}
org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters other =
(org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters) obj;
boolean result = true;
result = result && getParametersList().equals(other.getParametersList());
result = result && getAppName().equals(other.getAppName());
result = result && getHost().equals(other.getHost());
result = result && getMaster().equals(other.getMaster());
result = result && (getNumClusters() == other.getNumClusters());
result = result && (getNumIterations() == other.getNumIterations());
result =
result
&& (java.lang.Double.doubleToLongBits(
getEpsilon()) == java.lang.Double.doubleToLongBits(other.getEpsilon()));
result = result && (getUseTime() == other.getUseTime());
result = result && (getGenerateHulls() == other.getGenerateHulls());
result = result && (getComputeHullData() == other.getComputeHullData());
result = result && getCqlFilter().equals(other.getCqlFilter());
result = result && getTypeName().equals(other.getTypeName());
result = result && (getMinSplits() == other.getMinSplits());
result = result && (getMaxSplits() == other.getMaxSplits());
result = result && getCentroidTypeName().equals(other.getCentroidTypeName());
result = result && getHullTypeName().equals(other.getHullTypeName());
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) + APPNAME_FIELD_NUMBER;
hash = (53 * hash) + getAppName().hashCode();
hash = (37 * hash) + HOST_FIELD_NUMBER;
hash = (53 * hash) + getHost().hashCode();
hash = (37 * hash) + MASTER_FIELD_NUMBER;
hash = (53 * hash) + getMaster().hashCode();
hash = (37 * hash) + NUMCLUSTERS_FIELD_NUMBER;
hash = (53 * hash) + getNumClusters();
hash = (37 * hash) + NUMITERATIONS_FIELD_NUMBER;
hash = (53 * hash) + getNumIterations();
hash = (37 * hash) + EPSILON_FIELD_NUMBER;
hash =
(53 * hash)
+ com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getEpsilon()));
hash = (37 * hash) + USETIME_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getUseTime());
hash = (37 * hash) + GENERATEHULLS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getGenerateHulls());
hash = (37 * hash) + COMPUTEHULLDATA_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getComputeHullData());
hash = (37 * hash) + CQLFILTER_FIELD_NUMBER;
hash = (53 * hash) + getCqlFilter().hashCode();
hash = (37 * hash) + TYPENAME_FIELD_NUMBER;
hash = (53 * hash) + getTypeName().hashCode();
hash = (37 * hash) + MINSPLITS_FIELD_NUMBER;
hash = (53 * hash) + getMinSplits();
hash = (37 * hash) + MAXSPLITS_FIELD_NUMBER;
hash = (53 * hash) + getMaxSplits();
hash = (37 * hash) + CENTROIDTYPENAME_FIELD_NUMBER;
hash = (53 * hash) + getCentroidTypeName().hashCode();
hash = (37 * hash) + HULLTYPENAME_FIELD_NUMBER;
hash = (53 * hash) + getHullTypeName().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters parseFrom(
java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters 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.KmeansSparkCommandParameters parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters 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.KmeansSparkCommandParameters parseFrom(
byte[] data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters 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.KmeansSparkCommandParameters 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.KmeansSparkCommandParameters 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.KmeansSparkCommandParameters 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.KmeansSparkCommandParameters 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.KmeansSparkCommandParameters 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.KmeansSparkCommandParameters 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.KmeansSparkCommandParameters 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 KmeansSparkCommandParameters}
*/
public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
implements
// @@protoc_insertion_point(builder_implements:KmeansSparkCommandParameters)
org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParametersOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
return org.locationtech.geowave.service.grpc.protobuf.AnalyticSparkService.internal_static_KmeansSparkCommandParameters_descriptor;
}
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() {
return org.locationtech.geowave.service.grpc.protobuf.AnalyticSparkService.internal_static_KmeansSparkCommandParameters_fieldAccessorTable.ensureFieldAccessorsInitialized(
org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters.class,
org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters.Builder.class);
}
// Construct using
// org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters.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);
appName_ = "";
host_ = "";
master_ = "";
numClusters_ = 0;
numIterations_ = 0;
epsilon_ = 0D;
useTime_ = false;
generateHulls_ = false;
computeHullData_ = false;
cqlFilter_ = "";
typeName_ = "";
minSplits_ = 0;
maxSplits_ = 0;
centroidTypeName_ = "";
hullTypeName_ = "";
return this;
}
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
return org.locationtech.geowave.service.grpc.protobuf.AnalyticSparkService.internal_static_KmeansSparkCommandParameters_descriptor;
}
public org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters getDefaultInstanceForType() {
return org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters.getDefaultInstance();
}
public org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters build() {
org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters result =
buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters buildPartial() {
org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters result =
new org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
parameters_ = parameters_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.parameters_ = parameters_;
result.appName_ = appName_;
result.host_ = host_;
result.master_ = master_;
result.numClusters_ = numClusters_;
result.numIterations_ = numIterations_;
result.epsilon_ = epsilon_;
result.useTime_ = useTime_;
result.generateHulls_ = generateHulls_;
result.computeHullData_ = computeHullData_;
result.cqlFilter_ = cqlFilter_;
result.typeName_ = typeName_;
result.minSplits_ = minSplits_;
result.maxSplits_ = maxSplits_;
result.centroidTypeName_ = centroidTypeName_;
result.hullTypeName_ = hullTypeName_;
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.KmeansSparkCommandParameters) {
return mergeFrom(
(org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters) other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(
org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters other) {
if (other == org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters.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.getAppName().isEmpty()) {
appName_ = other.appName_;
onChanged();
}
if (!other.getHost().isEmpty()) {
host_ = other.host_;
onChanged();
}
if (!other.getMaster().isEmpty()) {
master_ = other.master_;
onChanged();
}
if (other.getNumClusters() != 0) {
setNumClusters(other.getNumClusters());
}
if (other.getNumIterations() != 0) {
setNumIterations(other.getNumIterations());
}
if (other.getEpsilon() != 0D) {
setEpsilon(other.getEpsilon());
}
if (other.getUseTime() != false) {
setUseTime(other.getUseTime());
}
if (other.getGenerateHulls() != false) {
setGenerateHulls(other.getGenerateHulls());
}
if (other.getComputeHullData() != false) {
setComputeHullData(other.getComputeHullData());
}
if (!other.getCqlFilter().isEmpty()) {
cqlFilter_ = other.cqlFilter_;
onChanged();
}
if (!other.getTypeName().isEmpty()) {
typeName_ = other.typeName_;
onChanged();
}
if (other.getMinSplits() != 0) {
setMinSplits(other.getMinSplits());
}
if (other.getMaxSplits() != 0) {
setMaxSplits(other.getMaxSplits());
}
if (!other.getCentroidTypeName().isEmpty()) {
centroidTypeName_ = other.centroidTypeName_;
onChanged();
}
if (!other.getHullTypeName().isEmpty()) {
hullTypeName_ = other.hullTypeName_;
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.KmeansSparkCommandParameters parsedMessage =
null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage =
(org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters) 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 appName_ = "";
/**
* string appName = 2;
*/
public java.lang.String getAppName() {
java.lang.Object ref = appName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
appName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string appName = 2;
*/
public com.google.protobuf.ByteString getAppNameBytes() {
java.lang.Object ref = appName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
appName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string appName = 2;
*/
public Builder setAppName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
appName_ = value;
onChanged();
return this;
}
/**
* string appName = 2;
*/
public Builder clearAppName() {
appName_ = getDefaultInstance().getAppName();
onChanged();
return this;
}
/**
* string appName = 2;
*/
public Builder setAppNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
appName_ = value;
onChanged();
return this;
}
private java.lang.Object host_ = "";
/**
* string host = 3;
*/
public java.lang.String getHost() {
java.lang.Object ref = host_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
host_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string host = 3;
*/
public com.google.protobuf.ByteString getHostBytes() {
java.lang.Object ref = host_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
host_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string host = 3;
*/
public Builder setHost(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
host_ = value;
onChanged();
return this;
}
/**
* string host = 3;
*/
public Builder clearHost() {
host_ = getDefaultInstance().getHost();
onChanged();
return this;
}
/**
* string host = 3;
*/
public Builder setHostBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
host_ = value;
onChanged();
return this;
}
private java.lang.Object master_ = "";
/**
* string master = 4;
*/
public java.lang.String getMaster() {
java.lang.Object ref = master_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
master_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string master = 4;
*/
public com.google.protobuf.ByteString getMasterBytes() {
java.lang.Object ref = master_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
master_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string master = 4;
*/
public Builder setMaster(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
master_ = value;
onChanged();
return this;
}
/**
* string master = 4;
*/
public Builder clearMaster() {
master_ = getDefaultInstance().getMaster();
onChanged();
return this;
}
/**
* string master = 4;
*/
public Builder setMasterBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
master_ = value;
onChanged();
return this;
}
private int numClusters_;
/**
* int32 numClusters = 5;
*/
public int getNumClusters() {
return numClusters_;
}
/**
* int32 numClusters = 5;
*/
public Builder setNumClusters(int value) {
numClusters_ = value;
onChanged();
return this;
}
/**
* int32 numClusters = 5;
*/
public Builder clearNumClusters() {
numClusters_ = 0;
onChanged();
return this;
}
private int numIterations_;
/**
* int32 numIterations = 6;
*/
public int getNumIterations() {
return numIterations_;
}
/**
* int32 numIterations = 6;
*/
public Builder setNumIterations(int value) {
numIterations_ = value;
onChanged();
return this;
}
/**
* int32 numIterations = 6;
*/
public Builder clearNumIterations() {
numIterations_ = 0;
onChanged();
return this;
}
private double epsilon_;
/**
* double epsilon = 7;
*/
public double getEpsilon() {
return epsilon_;
}
/**
* double epsilon = 7;
*/
public Builder setEpsilon(double value) {
epsilon_ = value;
onChanged();
return this;
}
/**
* double epsilon = 7;
*/
public Builder clearEpsilon() {
epsilon_ = 0D;
onChanged();
return this;
}
private boolean useTime_;
/**
* bool useTime = 8;
*/
public boolean getUseTime() {
return useTime_;
}
/**
* bool useTime = 8;
*/
public Builder setUseTime(boolean value) {
useTime_ = value;
onChanged();
return this;
}
/**
* bool useTime = 8;
*/
public Builder clearUseTime() {
useTime_ = false;
onChanged();
return this;
}
private boolean generateHulls_;
/**
* bool generateHulls = 9;
*/
public boolean getGenerateHulls() {
return generateHulls_;
}
/**
* bool generateHulls = 9;
*/
public Builder setGenerateHulls(boolean value) {
generateHulls_ = value;
onChanged();
return this;
}
/**
* bool generateHulls = 9;
*/
public Builder clearGenerateHulls() {
generateHulls_ = false;
onChanged();
return this;
}
private boolean computeHullData_;
/**
* bool computeHullData = 10;
*/
public boolean getComputeHullData() {
return computeHullData_;
}
/**
* bool computeHullData = 10;
*/
public Builder setComputeHullData(boolean value) {
computeHullData_ = value;
onChanged();
return this;
}
/**
* bool computeHullData = 10;
*/
public Builder clearComputeHullData() {
computeHullData_ = false;
onChanged();
return this;
}
private java.lang.Object cqlFilter_ = "";
/**
* string cqlFilter = 11;
*/
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 = 11;
*/
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 = 11;
*/
public Builder setCqlFilter(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
cqlFilter_ = value;
onChanged();
return this;
}
/**
* string cqlFilter = 11;
*/
public Builder clearCqlFilter() {
cqlFilter_ = getDefaultInstance().getCqlFilter();
onChanged();
return this;
}
/**
* string cqlFilter = 11;
*/
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 typeName_ = "";
/**
* string typeName = 12;
*/
public java.lang.String getTypeName() {
java.lang.Object ref = typeName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
typeName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string typeName = 12;
*/
public com.google.protobuf.ByteString getTypeNameBytes() {
java.lang.Object ref = typeName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
typeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string typeName = 12;
*/
public Builder setTypeName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
typeName_ = value;
onChanged();
return this;
}
/**
* string typeName = 12;
*/
public Builder clearTypeName() {
typeName_ = getDefaultInstance().getTypeName();
onChanged();
return this;
}
/**
* string typeName = 12;
*/
public Builder setTypeNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
typeName_ = value;
onChanged();
return this;
}
private int minSplits_;
/**
* int32 minSplits = 13;
*/
public int getMinSplits() {
return minSplits_;
}
/**
* int32 minSplits = 13;
*/
public Builder setMinSplits(int value) {
minSplits_ = value;
onChanged();
return this;
}
/**
* int32 minSplits = 13;
*/
public Builder clearMinSplits() {
minSplits_ = 0;
onChanged();
return this;
}
private int maxSplits_;
/**
* int32 maxSplits = 14;
*/
public int getMaxSplits() {
return maxSplits_;
}
/**
* int32 maxSplits = 14;
*/
public Builder setMaxSplits(int value) {
maxSplits_ = value;
onChanged();
return this;
}
/**
* int32 maxSplits = 14;
*/
public Builder clearMaxSplits() {
maxSplits_ = 0;
onChanged();
return this;
}
private java.lang.Object centroidTypeName_ = "";
/**
* string centroidTypeName = 15;
*/
public java.lang.String getCentroidTypeName() {
java.lang.Object ref = centroidTypeName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
centroidTypeName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string centroidTypeName = 15;
*/
public com.google.protobuf.ByteString getCentroidTypeNameBytes() {
java.lang.Object ref = centroidTypeName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
centroidTypeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string centroidTypeName = 15;
*/
public Builder setCentroidTypeName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
centroidTypeName_ = value;
onChanged();
return this;
}
/**
* string centroidTypeName = 15;
*/
public Builder clearCentroidTypeName() {
centroidTypeName_ = getDefaultInstance().getCentroidTypeName();
onChanged();
return this;
}
/**
* string centroidTypeName = 15;
*/
public Builder setCentroidTypeNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
centroidTypeName_ = value;
onChanged();
return this;
}
private java.lang.Object hullTypeName_ = "";
/**
* string hullTypeName = 16;
*/
public java.lang.String getHullTypeName() {
java.lang.Object ref = hullTypeName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
hullTypeName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string hullTypeName = 16;
*/
public com.google.protobuf.ByteString getHullTypeNameBytes() {
java.lang.Object ref = hullTypeName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
hullTypeName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string hullTypeName = 16;
*/
public Builder setHullTypeName(java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
hullTypeName_ = value;
onChanged();
return this;
}
/**
* string hullTypeName = 16;
*/
public Builder clearHullTypeName() {
hullTypeName_ = getDefaultInstance().getHullTypeName();
onChanged();
return this;
}
/**
* string hullTypeName = 16;
*/
public Builder setHullTypeNameBytes(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
hullTypeName_ = 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:KmeansSparkCommandParameters)
}
// @@protoc_insertion_point(class_scope:KmeansSparkCommandParameters)
private static final org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE =
new org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters();
}
public static org.locationtech.geowave.service.grpc.protobuf.KmeansSparkCommandParameters getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser PARSER =
new com.google.protobuf.AbstractParser() {
public KmeansSparkCommandParameters parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new KmeansSparkCommandParameters(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.KmeansSparkCommandParameters getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}