java.io.deephaven.proto.backplane.grpc.UpdateByEmOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-proto-backplane-grpc Show documentation
Show all versions of deephaven-proto-backplane-grpc Show documentation
The Deephaven proto-backplane-grpc
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: deephaven/proto/table.proto
// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.grpc;
/**
*
* Reusable options for the UpdateBy exponential moving operations.
*
*
* Protobuf type {@code io.deephaven.proto.backplane.grpc.UpdateByEmOptions}
*/
public final class UpdateByEmOptions extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.UpdateByEmOptions)
UpdateByEmOptionsOrBuilder {
private static final long serialVersionUID = 0L;
// Use UpdateByEmOptions.newBuilder() to construct.
private UpdateByEmOptions(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UpdateByEmOptions() {
onNullValue_ = 0;
onNanValue_ = 0;
onNullTime_ = 0;
onNegativeDeltaTime_ = 0;
onZeroDeltaTime_ = 0;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UpdateByEmOptions();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_UpdateByEmOptions_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_UpdateByEmOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.UpdateByEmOptions.class, io.deephaven.proto.backplane.grpc.UpdateByEmOptions.Builder.class);
}
private int bitField0_;
public static final int ON_NULL_VALUE_FIELD_NUMBER = 1;
private int onNullValue_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_value = 1;
* @return The enum numeric value on the wire for onNullValue.
*/
@java.lang.Override public int getOnNullValueValue() {
return onNullValue_;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_value = 1;
* @return The onNullValue.
*/
@java.lang.Override public io.deephaven.proto.backplane.grpc.BadDataBehavior getOnNullValue() {
io.deephaven.proto.backplane.grpc.BadDataBehavior result = io.deephaven.proto.backplane.grpc.BadDataBehavior.forNumber(onNullValue_);
return result == null ? io.deephaven.proto.backplane.grpc.BadDataBehavior.UNRECOGNIZED : result;
}
public static final int ON_NAN_VALUE_FIELD_NUMBER = 2;
private int onNanValue_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_nan_value = 2;
* @return The enum numeric value on the wire for onNanValue.
*/
@java.lang.Override public int getOnNanValueValue() {
return onNanValue_;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_nan_value = 2;
* @return The onNanValue.
*/
@java.lang.Override public io.deephaven.proto.backplane.grpc.BadDataBehavior getOnNanValue() {
io.deephaven.proto.backplane.grpc.BadDataBehavior result = io.deephaven.proto.backplane.grpc.BadDataBehavior.forNumber(onNanValue_);
return result == null ? io.deephaven.proto.backplane.grpc.BadDataBehavior.UNRECOGNIZED : result;
}
public static final int ON_NULL_TIME_FIELD_NUMBER = 3;
private int onNullTime_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_time = 3;
* @return The enum numeric value on the wire for onNullTime.
*/
@java.lang.Override public int getOnNullTimeValue() {
return onNullTime_;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_time = 3;
* @return The onNullTime.
*/
@java.lang.Override public io.deephaven.proto.backplane.grpc.BadDataBehavior getOnNullTime() {
io.deephaven.proto.backplane.grpc.BadDataBehavior result = io.deephaven.proto.backplane.grpc.BadDataBehavior.forNumber(onNullTime_);
return result == null ? io.deephaven.proto.backplane.grpc.BadDataBehavior.UNRECOGNIZED : result;
}
public static final int ON_NEGATIVE_DELTA_TIME_FIELD_NUMBER = 4;
private int onNegativeDeltaTime_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_negative_delta_time = 4;
* @return The enum numeric value on the wire for onNegativeDeltaTime.
*/
@java.lang.Override public int getOnNegativeDeltaTimeValue() {
return onNegativeDeltaTime_;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_negative_delta_time = 4;
* @return The onNegativeDeltaTime.
*/
@java.lang.Override public io.deephaven.proto.backplane.grpc.BadDataBehavior getOnNegativeDeltaTime() {
io.deephaven.proto.backplane.grpc.BadDataBehavior result = io.deephaven.proto.backplane.grpc.BadDataBehavior.forNumber(onNegativeDeltaTime_);
return result == null ? io.deephaven.proto.backplane.grpc.BadDataBehavior.UNRECOGNIZED : result;
}
public static final int ON_ZERO_DELTA_TIME_FIELD_NUMBER = 5;
private int onZeroDeltaTime_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_zero_delta_time = 5;
* @return The enum numeric value on the wire for onZeroDeltaTime.
*/
@java.lang.Override public int getOnZeroDeltaTimeValue() {
return onZeroDeltaTime_;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_zero_delta_time = 5;
* @return The onZeroDeltaTime.
*/
@java.lang.Override public io.deephaven.proto.backplane.grpc.BadDataBehavior getOnZeroDeltaTime() {
io.deephaven.proto.backplane.grpc.BadDataBehavior result = io.deephaven.proto.backplane.grpc.BadDataBehavior.forNumber(onZeroDeltaTime_);
return result == null ? io.deephaven.proto.backplane.grpc.BadDataBehavior.UNRECOGNIZED : result;
}
public static final int BIG_VALUE_CONTEXT_FIELD_NUMBER = 6;
private io.deephaven.proto.backplane.grpc.MathContext bigValueContext_;
/**
* .io.deephaven.proto.backplane.grpc.MathContext big_value_context = 6;
* @return Whether the bigValueContext field is set.
*/
@java.lang.Override
public boolean hasBigValueContext() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.MathContext big_value_context = 6;
* @return The bigValueContext.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.MathContext getBigValueContext() {
return bigValueContext_ == null ? io.deephaven.proto.backplane.grpc.MathContext.getDefaultInstance() : bigValueContext_;
}
/**
* .io.deephaven.proto.backplane.grpc.MathContext big_value_context = 6;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.MathContextOrBuilder getBigValueContextOrBuilder() {
return bigValueContext_ == null ? io.deephaven.proto.backplane.grpc.MathContext.getDefaultInstance() : bigValueContext_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (onNullValue_ != io.deephaven.proto.backplane.grpc.BadDataBehavior.BAD_DATA_BEHAVIOR_NOT_SPECIFIED.getNumber()) {
output.writeEnum(1, onNullValue_);
}
if (onNanValue_ != io.deephaven.proto.backplane.grpc.BadDataBehavior.BAD_DATA_BEHAVIOR_NOT_SPECIFIED.getNumber()) {
output.writeEnum(2, onNanValue_);
}
if (onNullTime_ != io.deephaven.proto.backplane.grpc.BadDataBehavior.BAD_DATA_BEHAVIOR_NOT_SPECIFIED.getNumber()) {
output.writeEnum(3, onNullTime_);
}
if (onNegativeDeltaTime_ != io.deephaven.proto.backplane.grpc.BadDataBehavior.BAD_DATA_BEHAVIOR_NOT_SPECIFIED.getNumber()) {
output.writeEnum(4, onNegativeDeltaTime_);
}
if (onZeroDeltaTime_ != io.deephaven.proto.backplane.grpc.BadDataBehavior.BAD_DATA_BEHAVIOR_NOT_SPECIFIED.getNumber()) {
output.writeEnum(5, onZeroDeltaTime_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(6, getBigValueContext());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (onNullValue_ != io.deephaven.proto.backplane.grpc.BadDataBehavior.BAD_DATA_BEHAVIOR_NOT_SPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(1, onNullValue_);
}
if (onNanValue_ != io.deephaven.proto.backplane.grpc.BadDataBehavior.BAD_DATA_BEHAVIOR_NOT_SPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, onNanValue_);
}
if (onNullTime_ != io.deephaven.proto.backplane.grpc.BadDataBehavior.BAD_DATA_BEHAVIOR_NOT_SPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, onNullTime_);
}
if (onNegativeDeltaTime_ != io.deephaven.proto.backplane.grpc.BadDataBehavior.BAD_DATA_BEHAVIOR_NOT_SPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(4, onNegativeDeltaTime_);
}
if (onZeroDeltaTime_ != io.deephaven.proto.backplane.grpc.BadDataBehavior.BAD_DATA_BEHAVIOR_NOT_SPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(5, onZeroDeltaTime_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getBigValueContext());
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.deephaven.proto.backplane.grpc.UpdateByEmOptions)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.grpc.UpdateByEmOptions other = (io.deephaven.proto.backplane.grpc.UpdateByEmOptions) obj;
if (onNullValue_ != other.onNullValue_) return false;
if (onNanValue_ != other.onNanValue_) return false;
if (onNullTime_ != other.onNullTime_) return false;
if (onNegativeDeltaTime_ != other.onNegativeDeltaTime_) return false;
if (onZeroDeltaTime_ != other.onZeroDeltaTime_) return false;
if (hasBigValueContext() != other.hasBigValueContext()) return false;
if (hasBigValueContext()) {
if (!getBigValueContext()
.equals(other.getBigValueContext())) return false;
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ON_NULL_VALUE_FIELD_NUMBER;
hash = (53 * hash) + onNullValue_;
hash = (37 * hash) + ON_NAN_VALUE_FIELD_NUMBER;
hash = (53 * hash) + onNanValue_;
hash = (37 * hash) + ON_NULL_TIME_FIELD_NUMBER;
hash = (53 * hash) + onNullTime_;
hash = (37 * hash) + ON_NEGATIVE_DELTA_TIME_FIELD_NUMBER;
hash = (53 * hash) + onNegativeDeltaTime_;
hash = (37 * hash) + ON_ZERO_DELTA_TIME_FIELD_NUMBER;
hash = (53 * hash) + onZeroDeltaTime_;
if (hasBigValueContext()) {
hash = (37 * hash) + BIG_VALUE_CONTEXT_FIELD_NUMBER;
hash = (53 * hash) + getBigValueContext().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.grpc.UpdateByEmOptions parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.UpdateByEmOptions parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.UpdateByEmOptions parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.UpdateByEmOptions parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.UpdateByEmOptions parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.UpdateByEmOptions parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.UpdateByEmOptions parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.UpdateByEmOptions 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 io.deephaven.proto.backplane.grpc.UpdateByEmOptions parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.UpdateByEmOptions 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 io.deephaven.proto.backplane.grpc.UpdateByEmOptions parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.UpdateByEmOptions parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(io.deephaven.proto.backplane.grpc.UpdateByEmOptions prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* Reusable options for the UpdateBy exponential moving operations.
*
*
* Protobuf type {@code io.deephaven.proto.backplane.grpc.UpdateByEmOptions}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.UpdateByEmOptions)
io.deephaven.proto.backplane.grpc.UpdateByEmOptionsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_UpdateByEmOptions_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_UpdateByEmOptions_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.UpdateByEmOptions.class, io.deephaven.proto.backplane.grpc.UpdateByEmOptions.Builder.class);
}
// Construct using io.deephaven.proto.backplane.grpc.UpdateByEmOptions.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getBigValueContextFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
onNullValue_ = 0;
onNanValue_ = 0;
onNullTime_ = 0;
onNegativeDeltaTime_ = 0;
onZeroDeltaTime_ = 0;
bigValueContext_ = null;
if (bigValueContextBuilder_ != null) {
bigValueContextBuilder_.dispose();
bigValueContextBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_UpdateByEmOptions_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.UpdateByEmOptions getDefaultInstanceForType() {
return io.deephaven.proto.backplane.grpc.UpdateByEmOptions.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.UpdateByEmOptions build() {
io.deephaven.proto.backplane.grpc.UpdateByEmOptions result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.UpdateByEmOptions buildPartial() {
io.deephaven.proto.backplane.grpc.UpdateByEmOptions result = new io.deephaven.proto.backplane.grpc.UpdateByEmOptions(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.deephaven.proto.backplane.grpc.UpdateByEmOptions result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.onNullValue_ = onNullValue_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.onNanValue_ = onNanValue_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.onNullTime_ = onNullTime_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.onNegativeDeltaTime_ = onNegativeDeltaTime_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.onZeroDeltaTime_ = onZeroDeltaTime_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000020) != 0)) {
result.bigValueContext_ = bigValueContextBuilder_ == null
? bigValueContext_
: bigValueContextBuilder_.build();
to_bitField0_ |= 0x00000001;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof io.deephaven.proto.backplane.grpc.UpdateByEmOptions) {
return mergeFrom((io.deephaven.proto.backplane.grpc.UpdateByEmOptions)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.grpc.UpdateByEmOptions other) {
if (other == io.deephaven.proto.backplane.grpc.UpdateByEmOptions.getDefaultInstance()) return this;
if (other.onNullValue_ != 0) {
setOnNullValueValue(other.getOnNullValueValue());
}
if (other.onNanValue_ != 0) {
setOnNanValueValue(other.getOnNanValueValue());
}
if (other.onNullTime_ != 0) {
setOnNullTimeValue(other.getOnNullTimeValue());
}
if (other.onNegativeDeltaTime_ != 0) {
setOnNegativeDeltaTimeValue(other.getOnNegativeDeltaTimeValue());
}
if (other.onZeroDeltaTime_ != 0) {
setOnZeroDeltaTimeValue(other.getOnZeroDeltaTimeValue());
}
if (other.hasBigValueContext()) {
mergeBigValueContext(other.getBigValueContext());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
onNullValue_ = input.readEnum();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
onNanValue_ = input.readEnum();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
onNullTime_ = input.readEnum();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
onNegativeDeltaTime_ = input.readEnum();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
onZeroDeltaTime_ = input.readEnum();
bitField0_ |= 0x00000010;
break;
} // case 40
case 50: {
input.readMessage(
getBigValueContextFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000020;
break;
} // case 50
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int onNullValue_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_value = 1;
* @return The enum numeric value on the wire for onNullValue.
*/
@java.lang.Override public int getOnNullValueValue() {
return onNullValue_;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_value = 1;
* @param value The enum numeric value on the wire for onNullValue to set.
* @return This builder for chaining.
*/
public Builder setOnNullValueValue(int value) {
onNullValue_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_value = 1;
* @return The onNullValue.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.BadDataBehavior getOnNullValue() {
io.deephaven.proto.backplane.grpc.BadDataBehavior result = io.deephaven.proto.backplane.grpc.BadDataBehavior.forNumber(onNullValue_);
return result == null ? io.deephaven.proto.backplane.grpc.BadDataBehavior.UNRECOGNIZED : result;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_value = 1;
* @param value The onNullValue to set.
* @return This builder for chaining.
*/
public Builder setOnNullValue(io.deephaven.proto.backplane.grpc.BadDataBehavior value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
onNullValue_ = value.getNumber();
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_value = 1;
* @return This builder for chaining.
*/
public Builder clearOnNullValue() {
bitField0_ = (bitField0_ & ~0x00000001);
onNullValue_ = 0;
onChanged();
return this;
}
private int onNanValue_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_nan_value = 2;
* @return The enum numeric value on the wire for onNanValue.
*/
@java.lang.Override public int getOnNanValueValue() {
return onNanValue_;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_nan_value = 2;
* @param value The enum numeric value on the wire for onNanValue to set.
* @return This builder for chaining.
*/
public Builder setOnNanValueValue(int value) {
onNanValue_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_nan_value = 2;
* @return The onNanValue.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.BadDataBehavior getOnNanValue() {
io.deephaven.proto.backplane.grpc.BadDataBehavior result = io.deephaven.proto.backplane.grpc.BadDataBehavior.forNumber(onNanValue_);
return result == null ? io.deephaven.proto.backplane.grpc.BadDataBehavior.UNRECOGNIZED : result;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_nan_value = 2;
* @param value The onNanValue to set.
* @return This builder for chaining.
*/
public Builder setOnNanValue(io.deephaven.proto.backplane.grpc.BadDataBehavior value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
onNanValue_ = value.getNumber();
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_nan_value = 2;
* @return This builder for chaining.
*/
public Builder clearOnNanValue() {
bitField0_ = (bitField0_ & ~0x00000002);
onNanValue_ = 0;
onChanged();
return this;
}
private int onNullTime_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_time = 3;
* @return The enum numeric value on the wire for onNullTime.
*/
@java.lang.Override public int getOnNullTimeValue() {
return onNullTime_;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_time = 3;
* @param value The enum numeric value on the wire for onNullTime to set.
* @return This builder for chaining.
*/
public Builder setOnNullTimeValue(int value) {
onNullTime_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_time = 3;
* @return The onNullTime.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.BadDataBehavior getOnNullTime() {
io.deephaven.proto.backplane.grpc.BadDataBehavior result = io.deephaven.proto.backplane.grpc.BadDataBehavior.forNumber(onNullTime_);
return result == null ? io.deephaven.proto.backplane.grpc.BadDataBehavior.UNRECOGNIZED : result;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_time = 3;
* @param value The onNullTime to set.
* @return This builder for chaining.
*/
public Builder setOnNullTime(io.deephaven.proto.backplane.grpc.BadDataBehavior value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
onNullTime_ = value.getNumber();
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_null_time = 3;
* @return This builder for chaining.
*/
public Builder clearOnNullTime() {
bitField0_ = (bitField0_ & ~0x00000004);
onNullTime_ = 0;
onChanged();
return this;
}
private int onNegativeDeltaTime_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_negative_delta_time = 4;
* @return The enum numeric value on the wire for onNegativeDeltaTime.
*/
@java.lang.Override public int getOnNegativeDeltaTimeValue() {
return onNegativeDeltaTime_;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_negative_delta_time = 4;
* @param value The enum numeric value on the wire for onNegativeDeltaTime to set.
* @return This builder for chaining.
*/
public Builder setOnNegativeDeltaTimeValue(int value) {
onNegativeDeltaTime_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_negative_delta_time = 4;
* @return The onNegativeDeltaTime.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.BadDataBehavior getOnNegativeDeltaTime() {
io.deephaven.proto.backplane.grpc.BadDataBehavior result = io.deephaven.proto.backplane.grpc.BadDataBehavior.forNumber(onNegativeDeltaTime_);
return result == null ? io.deephaven.proto.backplane.grpc.BadDataBehavior.UNRECOGNIZED : result;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_negative_delta_time = 4;
* @param value The onNegativeDeltaTime to set.
* @return This builder for chaining.
*/
public Builder setOnNegativeDeltaTime(io.deephaven.proto.backplane.grpc.BadDataBehavior value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000008;
onNegativeDeltaTime_ = value.getNumber();
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_negative_delta_time = 4;
* @return This builder for chaining.
*/
public Builder clearOnNegativeDeltaTime() {
bitField0_ = (bitField0_ & ~0x00000008);
onNegativeDeltaTime_ = 0;
onChanged();
return this;
}
private int onZeroDeltaTime_ = 0;
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_zero_delta_time = 5;
* @return The enum numeric value on the wire for onZeroDeltaTime.
*/
@java.lang.Override public int getOnZeroDeltaTimeValue() {
return onZeroDeltaTime_;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_zero_delta_time = 5;
* @param value The enum numeric value on the wire for onZeroDeltaTime to set.
* @return This builder for chaining.
*/
public Builder setOnZeroDeltaTimeValue(int value) {
onZeroDeltaTime_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_zero_delta_time = 5;
* @return The onZeroDeltaTime.
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.BadDataBehavior getOnZeroDeltaTime() {
io.deephaven.proto.backplane.grpc.BadDataBehavior result = io.deephaven.proto.backplane.grpc.BadDataBehavior.forNumber(onZeroDeltaTime_);
return result == null ? io.deephaven.proto.backplane.grpc.BadDataBehavior.UNRECOGNIZED : result;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_zero_delta_time = 5;
* @param value The onZeroDeltaTime to set.
* @return This builder for chaining.
*/
public Builder setOnZeroDeltaTime(io.deephaven.proto.backplane.grpc.BadDataBehavior value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000010;
onZeroDeltaTime_ = value.getNumber();
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.BadDataBehavior on_zero_delta_time = 5;
* @return This builder for chaining.
*/
public Builder clearOnZeroDeltaTime() {
bitField0_ = (bitField0_ & ~0x00000010);
onZeroDeltaTime_ = 0;
onChanged();
return this;
}
private io.deephaven.proto.backplane.grpc.MathContext bigValueContext_;
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.MathContext, io.deephaven.proto.backplane.grpc.MathContext.Builder, io.deephaven.proto.backplane.grpc.MathContextOrBuilder> bigValueContextBuilder_;
/**
* .io.deephaven.proto.backplane.grpc.MathContext big_value_context = 6;
* @return Whether the bigValueContext field is set.
*/
public boolean hasBigValueContext() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* .io.deephaven.proto.backplane.grpc.MathContext big_value_context = 6;
* @return The bigValueContext.
*/
public io.deephaven.proto.backplane.grpc.MathContext getBigValueContext() {
if (bigValueContextBuilder_ == null) {
return bigValueContext_ == null ? io.deephaven.proto.backplane.grpc.MathContext.getDefaultInstance() : bigValueContext_;
} else {
return bigValueContextBuilder_.getMessage();
}
}
/**
* .io.deephaven.proto.backplane.grpc.MathContext big_value_context = 6;
*/
public Builder setBigValueContext(io.deephaven.proto.backplane.grpc.MathContext value) {
if (bigValueContextBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
bigValueContext_ = value;
} else {
bigValueContextBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.MathContext big_value_context = 6;
*/
public Builder setBigValueContext(
io.deephaven.proto.backplane.grpc.MathContext.Builder builderForValue) {
if (bigValueContextBuilder_ == null) {
bigValueContext_ = builderForValue.build();
} else {
bigValueContextBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.MathContext big_value_context = 6;
*/
public Builder mergeBigValueContext(io.deephaven.proto.backplane.grpc.MathContext value) {
if (bigValueContextBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
bigValueContext_ != null &&
bigValueContext_ != io.deephaven.proto.backplane.grpc.MathContext.getDefaultInstance()) {
getBigValueContextBuilder().mergeFrom(value);
} else {
bigValueContext_ = value;
}
} else {
bigValueContextBuilder_.mergeFrom(value);
}
if (bigValueContext_ != null) {
bitField0_ |= 0x00000020;
onChanged();
}
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.MathContext big_value_context = 6;
*/
public Builder clearBigValueContext() {
bitField0_ = (bitField0_ & ~0x00000020);
bigValueContext_ = null;
if (bigValueContextBuilder_ != null) {
bigValueContextBuilder_.dispose();
bigValueContextBuilder_ = null;
}
onChanged();
return this;
}
/**
* .io.deephaven.proto.backplane.grpc.MathContext big_value_context = 6;
*/
public io.deephaven.proto.backplane.grpc.MathContext.Builder getBigValueContextBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getBigValueContextFieldBuilder().getBuilder();
}
/**
* .io.deephaven.proto.backplane.grpc.MathContext big_value_context = 6;
*/
public io.deephaven.proto.backplane.grpc.MathContextOrBuilder getBigValueContextOrBuilder() {
if (bigValueContextBuilder_ != null) {
return bigValueContextBuilder_.getMessageOrBuilder();
} else {
return bigValueContext_ == null ?
io.deephaven.proto.backplane.grpc.MathContext.getDefaultInstance() : bigValueContext_;
}
}
/**
* .io.deephaven.proto.backplane.grpc.MathContext big_value_context = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.MathContext, io.deephaven.proto.backplane.grpc.MathContext.Builder, io.deephaven.proto.backplane.grpc.MathContextOrBuilder>
getBigValueContextFieldBuilder() {
if (bigValueContextBuilder_ == null) {
bigValueContextBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
io.deephaven.proto.backplane.grpc.MathContext, io.deephaven.proto.backplane.grpc.MathContext.Builder, io.deephaven.proto.backplane.grpc.MathContextOrBuilder>(
getBigValueContext(),
getParentForChildren(),
isClean());
bigValueContext_ = null;
}
return bigValueContextBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:io.deephaven.proto.backplane.grpc.UpdateByEmOptions)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.UpdateByEmOptions)
private static final io.deephaven.proto.backplane.grpc.UpdateByEmOptions DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.UpdateByEmOptions();
}
public static io.deephaven.proto.backplane.grpc.UpdateByEmOptions getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UpdateByEmOptions parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.UpdateByEmOptions getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}