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

java.io.deephaven.proto.backplane.grpc.UpdateByWindowScale Maven / Gradle / Ivy

There is a newer version: 0.36.1
Show newest version
// 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 window scale message for the UpdateBy rolling operations.
 * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.UpdateByWindowScale} */ public final class UpdateByWindowScale extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.UpdateByWindowScale) UpdateByWindowScaleOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateByWindowScale.newBuilder() to construct. private UpdateByWindowScale(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateByWindowScale() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateByWindowScale(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_UpdateByWindowScale_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_UpdateByWindowScale_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.UpdateByWindowScale.class, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.Builder.class); } public interface UpdateByWindowTicksOrBuilder extends // @@protoc_insertion_point(interface_extends:io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks) com.google.protobuf.MessageOrBuilder { /** * double ticks = 1; * @return The ticks. */ double getTicks(); } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks} */ public static final class UpdateByWindowTicks extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks) UpdateByWindowTicksOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateByWindowTicks.newBuilder() to construct. private UpdateByWindowTicks(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateByWindowTicks() { } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateByWindowTicks(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_UpdateByWindowScale_UpdateByWindowTicks_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_UpdateByWindowScale_UpdateByWindowTicks_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.class, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.Builder.class); } public static final int TICKS_FIELD_NUMBER = 1; private double ticks_ = 0D; /** * double ticks = 1; * @return The ticks. */ @java.lang.Override public double getTicks() { return ticks_; } 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 (java.lang.Double.doubleToRawLongBits(ticks_) != 0) { output.writeDouble(1, ticks_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (java.lang.Double.doubleToRawLongBits(ticks_) != 0) { size += com.google.protobuf.CodedOutputStream .computeDoubleSize(1, ticks_); } 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.UpdateByWindowScale.UpdateByWindowTicks)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks other = (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks) obj; if (java.lang.Double.doubleToLongBits(getTicks()) != java.lang.Double.doubleToLongBits( other.getTicks())) 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) + TICKS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getTicks())); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks 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.UpdateByWindowScale.UpdateByWindowTicks parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks 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.UpdateByWindowScale.UpdateByWindowTicks parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks 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.UpdateByWindowScale.UpdateByWindowTicks parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks 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.UpdateByWindowScale.UpdateByWindowTicks parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks 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.UpdateByWindowScale.UpdateByWindowTicks 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.UpdateByWindowScale.UpdateByWindowTicks 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.UpdateByWindowScale.UpdateByWindowTicks 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; } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks) io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicksOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_UpdateByWindowScale_UpdateByWindowTicks_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_UpdateByWindowScale_UpdateByWindowTicks_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.class, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; ticks_ = 0D; 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_UpdateByWindowScale_UpdateByWindowTicks_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks build() { io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks buildPartial() { io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks result = new io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.ticks_ = ticks_; } } @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.UpdateByWindowScale.UpdateByWindowTicks) { return mergeFrom((io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks other) { if (other == io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.getDefaultInstance()) return this; if (other.getTicks() != 0D) { setTicks(other.getTicks()); } 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 9: { ticks_ = input.readDouble(); bitField0_ |= 0x00000001; break; } // case 9 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 double ticks_ ; /** * double ticks = 1; * @return The ticks. */ @java.lang.Override public double getTicks() { return ticks_; } /** * double ticks = 1; * @param value The ticks to set. * @return This builder for chaining. */ public Builder setTicks(double value) { ticks_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * double ticks = 1; * @return This builder for chaining. */ public Builder clearTicks() { bitField0_ = (bitField0_ & ~0x00000001); ticks_ = 0D; onChanged(); return this; } @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.UpdateByWindowScale.UpdateByWindowTicks) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks) private static final io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks(); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateByWindowTicks 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.UpdateByWindowScale.UpdateByWindowTicks getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UpdateByWindowTimeOrBuilder extends // @@protoc_insertion_point(interface_extends:io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime) com.google.protobuf.MessageOrBuilder { /** * string column = 1; * @return The column. */ java.lang.String getColumn(); /** * string column = 1; * @return The bytes for column. */ com.google.protobuf.ByteString getColumnBytes(); /** * sint64 nanos = 2 [jstype = JS_STRING]; * @return Whether the nanos field is set. */ boolean hasNanos(); /** * sint64 nanos = 2 [jstype = JS_STRING]; * @return The nanos. */ long getNanos(); /** * string duration_string = 3; * @return Whether the durationString field is set. */ boolean hasDurationString(); /** * string duration_string = 3; * @return The durationString. */ java.lang.String getDurationString(); /** * string duration_string = 3; * @return The bytes for durationString. */ com.google.protobuf.ByteString getDurationStringBytes(); io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.WindowCase getWindowCase(); } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime} */ public static final class UpdateByWindowTime extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime) UpdateByWindowTimeOrBuilder { private static final long serialVersionUID = 0L; // Use UpdateByWindowTime.newBuilder() to construct. private UpdateByWindowTime(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UpdateByWindowTime() { column_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new UpdateByWindowTime(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_UpdateByWindowScale_UpdateByWindowTime_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_UpdateByWindowScale_UpdateByWindowTime_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.class, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.Builder.class); } private int windowCase_ = 0; @SuppressWarnings("serial") private java.lang.Object window_; public enum WindowCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { NANOS(2), DURATION_STRING(3), WINDOW_NOT_SET(0); private final int value; private WindowCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static WindowCase valueOf(int value) { return forNumber(value); } public static WindowCase forNumber(int value) { switch (value) { case 2: return NANOS; case 3: return DURATION_STRING; case 0: return WINDOW_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public WindowCase getWindowCase() { return WindowCase.forNumber( windowCase_); } public static final int COLUMN_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object column_ = ""; /** * string column = 1; * @return The column. */ @java.lang.Override public java.lang.String getColumn() { java.lang.Object ref = column_; 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(); column_ = s; return s; } } /** * string column = 1; * @return The bytes for column. */ @java.lang.Override public com.google.protobuf.ByteString getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); column_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int NANOS_FIELD_NUMBER = 2; /** * sint64 nanos = 2 [jstype = JS_STRING]; * @return Whether the nanos field is set. */ @java.lang.Override public boolean hasNanos() { return windowCase_ == 2; } /** * sint64 nanos = 2 [jstype = JS_STRING]; * @return The nanos. */ @java.lang.Override public long getNanos() { if (windowCase_ == 2) { return (java.lang.Long) window_; } return 0L; } public static final int DURATION_STRING_FIELD_NUMBER = 3; /** * string duration_string = 3; * @return Whether the durationString field is set. */ public boolean hasDurationString() { return windowCase_ == 3; } /** * string duration_string = 3; * @return The durationString. */ public java.lang.String getDurationString() { java.lang.Object ref = ""; if (windowCase_ == 3) { ref = window_; } 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(); if (windowCase_ == 3) { window_ = s; } return s; } } /** * string duration_string = 3; * @return The bytes for durationString. */ public com.google.protobuf.ByteString getDurationStringBytes() { java.lang.Object ref = ""; if (windowCase_ == 3) { ref = window_; } if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (windowCase_ == 3) { window_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(column_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, column_); } if (windowCase_ == 2) { output.writeSInt64( 2, (long)((java.lang.Long) window_)); } if (windowCase_ == 3) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, window_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(column_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, column_); } if (windowCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeSInt64Size( 2, (long)((java.lang.Long) window_)); } if (windowCase_ == 3) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, window_); } 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.UpdateByWindowScale.UpdateByWindowTime)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime other = (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime) obj; if (!getColumn() .equals(other.getColumn())) return false; if (!getWindowCase().equals(other.getWindowCase())) return false; switch (windowCase_) { case 2: if (getNanos() != other.getNanos()) return false; break; case 3: if (!getDurationString() .equals(other.getDurationString())) return false; break; case 0: default: } 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) + COLUMN_FIELD_NUMBER; hash = (53 * hash) + getColumn().hashCode(); switch (windowCase_) { case 2: hash = (37 * hash) + NANOS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashLong( getNanos()); break; case 3: hash = (37 * hash) + DURATION_STRING_FIELD_NUMBER; hash = (53 * hash) + getDurationString().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime 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.UpdateByWindowScale.UpdateByWindowTime parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime 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.UpdateByWindowScale.UpdateByWindowTime parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime 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.UpdateByWindowScale.UpdateByWindowTime parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime 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.UpdateByWindowScale.UpdateByWindowTime parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime 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.UpdateByWindowScale.UpdateByWindowTime 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.UpdateByWindowScale.UpdateByWindowTime 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.UpdateByWindowScale.UpdateByWindowTime 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; } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime) io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTimeOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_UpdateByWindowScale_UpdateByWindowTime_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_UpdateByWindowScale_UpdateByWindowTime_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.class, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; column_ = ""; windowCase_ = 0; window_ = 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_UpdateByWindowScale_UpdateByWindowTime_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime build() { io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime buildPartial() { io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime result = new io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.column_ = column_; } } private void buildPartialOneofs(io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime result) { result.windowCase_ = windowCase_; result.window_ = this.window_; } @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.UpdateByWindowScale.UpdateByWindowTime) { return mergeFrom((io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime other) { if (other == io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.getDefaultInstance()) return this; if (!other.getColumn().isEmpty()) { column_ = other.column_; bitField0_ |= 0x00000001; onChanged(); } switch (other.getWindowCase()) { case NANOS: { setNanos(other.getNanos()); break; } case DURATION_STRING: { windowCase_ = 3; window_ = other.window_; onChanged(); break; } case WINDOW_NOT_SET: { break; } } 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 10: { column_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { window_ = input.readSInt64(); windowCase_ = 2; break; } // case 16 case 26: { java.lang.String s = input.readStringRequireUtf8(); windowCase_ = 3; window_ = s; break; } // case 26 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 windowCase_ = 0; private java.lang.Object window_; public WindowCase getWindowCase() { return WindowCase.forNumber( windowCase_); } public Builder clearWindow() { windowCase_ = 0; window_ = null; onChanged(); return this; } private int bitField0_; private java.lang.Object column_ = ""; /** * string column = 1; * @return The column. */ public java.lang.String getColumn() { java.lang.Object ref = column_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); column_ = s; return s; } else { return (java.lang.String) ref; } } /** * string column = 1; * @return The bytes for column. */ public com.google.protobuf.ByteString getColumnBytes() { java.lang.Object ref = column_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); column_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string column = 1; * @param value The column to set. * @return This builder for chaining. */ public Builder setColumn( java.lang.String value) { if (value == null) { throw new NullPointerException(); } column_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string column = 1; * @return This builder for chaining. */ public Builder clearColumn() { column_ = getDefaultInstance().getColumn(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string column = 1; * @param value The bytes for column to set. * @return This builder for chaining. */ public Builder setColumnBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); column_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * sint64 nanos = 2 [jstype = JS_STRING]; * @return Whether the nanos field is set. */ public boolean hasNanos() { return windowCase_ == 2; } /** * sint64 nanos = 2 [jstype = JS_STRING]; * @return The nanos. */ public long getNanos() { if (windowCase_ == 2) { return (java.lang.Long) window_; } return 0L; } /** * sint64 nanos = 2 [jstype = JS_STRING]; * @param value The nanos to set. * @return This builder for chaining. */ public Builder setNanos(long value) { windowCase_ = 2; window_ = value; onChanged(); return this; } /** * sint64 nanos = 2 [jstype = JS_STRING]; * @return This builder for chaining. */ public Builder clearNanos() { if (windowCase_ == 2) { windowCase_ = 0; window_ = null; onChanged(); } return this; } /** * string duration_string = 3; * @return Whether the durationString field is set. */ @java.lang.Override public boolean hasDurationString() { return windowCase_ == 3; } /** * string duration_string = 3; * @return The durationString. */ @java.lang.Override public java.lang.String getDurationString() { java.lang.Object ref = ""; if (windowCase_ == 3) { ref = window_; } if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (windowCase_ == 3) { window_ = s; } return s; } else { return (java.lang.String) ref; } } /** * string duration_string = 3; * @return The bytes for durationString. */ @java.lang.Override public com.google.protobuf.ByteString getDurationStringBytes() { java.lang.Object ref = ""; if (windowCase_ == 3) { ref = window_; } if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); if (windowCase_ == 3) { window_ = b; } return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string duration_string = 3; * @param value The durationString to set. * @return This builder for chaining. */ public Builder setDurationString( java.lang.String value) { if (value == null) { throw new NullPointerException(); } windowCase_ = 3; window_ = value; onChanged(); return this; } /** * string duration_string = 3; * @return This builder for chaining. */ public Builder clearDurationString() { if (windowCase_ == 3) { windowCase_ = 0; window_ = null; onChanged(); } return this; } /** * string duration_string = 3; * @param value The bytes for durationString to set. * @return This builder for chaining. */ public Builder setDurationStringBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); windowCase_ = 3; window_ = value; onChanged(); return this; } @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.UpdateByWindowScale.UpdateByWindowTime) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime) private static final io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime(); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateByWindowTime 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.UpdateByWindowScale.UpdateByWindowTime getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int typeCase_ = 0; @SuppressWarnings("serial") private java.lang.Object type_; public enum TypeCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { TICKS(1), TIME(2), TYPE_NOT_SET(0); private final int value; private TypeCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TypeCase valueOf(int value) { return forNumber(value); } public static TypeCase forNumber(int value) { switch (value) { case 1: return TICKS; case 2: return TIME; case 0: return TYPE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public TypeCase getTypeCase() { return TypeCase.forNumber( typeCase_); } public static final int TICKS_FIELD_NUMBER = 1; /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks ticks = 1; * @return Whether the ticks field is set. */ @java.lang.Override public boolean hasTicks() { return typeCase_ == 1; } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks ticks = 1; * @return The ticks. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks getTicks() { if (typeCase_ == 1) { return (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks) type_; } return io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.getDefaultInstance(); } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks ticks = 1; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicksOrBuilder getTicksOrBuilder() { if (typeCase_ == 1) { return (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks) type_; } return io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.getDefaultInstance(); } public static final int TIME_FIELD_NUMBER = 2; /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime time = 2; * @return Whether the time field is set. */ @java.lang.Override public boolean hasTime() { return typeCase_ == 2; } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime time = 2; * @return The time. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime getTime() { if (typeCase_ == 2) { return (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime) type_; } return io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.getDefaultInstance(); } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime time = 2; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTimeOrBuilder getTimeOrBuilder() { if (typeCase_ == 2) { return (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime) type_; } return io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.getDefaultInstance(); } 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 (typeCase_ == 1) { output.writeMessage(1, (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks) type_); } if (typeCase_ == 2) { output.writeMessage(2, (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime) type_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (typeCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks) type_); } if (typeCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime) type_); } 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.UpdateByWindowScale)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.UpdateByWindowScale other = (io.deephaven.proto.backplane.grpc.UpdateByWindowScale) obj; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: if (!getTicks() .equals(other.getTicks())) return false; break; case 2: if (!getTime() .equals(other.getTime())) return false; break; case 0: default: } 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(); switch (typeCase_) { case 1: hash = (37 * hash) + TICKS_FIELD_NUMBER; hash = (53 * hash) + getTicks().hashCode(); break; case 2: hash = (37 * hash) + TIME_FIELD_NUMBER; hash = (53 * hash) + getTime().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale 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.UpdateByWindowScale parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale 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.UpdateByWindowScale parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale 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.UpdateByWindowScale parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale 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.UpdateByWindowScale parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale 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.UpdateByWindowScale 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.UpdateByWindowScale 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.UpdateByWindowScale 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 window scale message for the UpdateBy rolling operations.
   * 
* * Protobuf type {@code io.deephaven.proto.backplane.grpc.UpdateByWindowScale} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.UpdateByWindowScale) io.deephaven.proto.backplane.grpc.UpdateByWindowScaleOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_UpdateByWindowScale_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_UpdateByWindowScale_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.UpdateByWindowScale.class, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.UpdateByWindowScale.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (ticksBuilder_ != null) { ticksBuilder_.clear(); } if (timeBuilder_ != null) { timeBuilder_.clear(); } typeCase_ = 0; type_ = 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_UpdateByWindowScale_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.UpdateByWindowScale.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale build() { io.deephaven.proto.backplane.grpc.UpdateByWindowScale result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale buildPartial() { io.deephaven.proto.backplane.grpc.UpdateByWindowScale result = new io.deephaven.proto.backplane.grpc.UpdateByWindowScale(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.UpdateByWindowScale result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(io.deephaven.proto.backplane.grpc.UpdateByWindowScale result) { result.typeCase_ = typeCase_; result.type_ = this.type_; if (typeCase_ == 1 && ticksBuilder_ != null) { result.type_ = ticksBuilder_.build(); } if (typeCase_ == 2 && timeBuilder_ != null) { result.type_ = timeBuilder_.build(); } } @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.UpdateByWindowScale) { return mergeFrom((io.deephaven.proto.backplane.grpc.UpdateByWindowScale)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.UpdateByWindowScale other) { if (other == io.deephaven.proto.backplane.grpc.UpdateByWindowScale.getDefaultInstance()) return this; switch (other.getTypeCase()) { case TICKS: { mergeTicks(other.getTicks()); break; } case TIME: { mergeTime(other.getTime()); break; } case TYPE_NOT_SET: { break; } } 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 10: { input.readMessage( getTicksFieldBuilder().getBuilder(), extensionRegistry); typeCase_ = 1; break; } // case 10 case 18: { input.readMessage( getTimeFieldBuilder().getBuilder(), extensionRegistry); typeCase_ = 2; break; } // case 18 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 typeCase_ = 0; private java.lang.Object type_; public TypeCase getTypeCase() { return TypeCase.forNumber( typeCase_); } public Builder clearType() { typeCase_ = 0; type_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.Builder, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicksOrBuilder> ticksBuilder_; /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks ticks = 1; * @return Whether the ticks field is set. */ @java.lang.Override public boolean hasTicks() { return typeCase_ == 1; } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks ticks = 1; * @return The ticks. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks getTicks() { if (ticksBuilder_ == null) { if (typeCase_ == 1) { return (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks) type_; } return io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.getDefaultInstance(); } else { if (typeCase_ == 1) { return ticksBuilder_.getMessage(); } return io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks ticks = 1; */ public Builder setTicks(io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks value) { if (ticksBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { ticksBuilder_.setMessage(value); } typeCase_ = 1; return this; } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks ticks = 1; */ public Builder setTicks( io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.Builder builderForValue) { if (ticksBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { ticksBuilder_.setMessage(builderForValue.build()); } typeCase_ = 1; return this; } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks ticks = 1; */ public Builder mergeTicks(io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks value) { if (ticksBuilder_ == null) { if (typeCase_ == 1 && type_ != io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.getDefaultInstance()) { type_ = io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.newBuilder((io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 1) { ticksBuilder_.mergeFrom(value); } else { ticksBuilder_.setMessage(value); } } typeCase_ = 1; return this; } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks ticks = 1; */ public Builder clearTicks() { if (ticksBuilder_ == null) { if (typeCase_ == 1) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 1) { typeCase_ = 0; type_ = null; } ticksBuilder_.clear(); } return this; } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks ticks = 1; */ public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.Builder getTicksBuilder() { return getTicksFieldBuilder().getBuilder(); } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks ticks = 1; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicksOrBuilder getTicksOrBuilder() { if ((typeCase_ == 1) && (ticksBuilder_ != null)) { return ticksBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 1) { return (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks) type_; } return io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks ticks = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.Builder, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicksOrBuilder> getTicksFieldBuilder() { if (ticksBuilder_ == null) { if (!(typeCase_ == 1)) { type_ = io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.getDefaultInstance(); } ticksBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks.Builder, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicksOrBuilder>( (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTicks) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; onChanged(); return ticksBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.Builder, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTimeOrBuilder> timeBuilder_; /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime time = 2; * @return Whether the time field is set. */ @java.lang.Override public boolean hasTime() { return typeCase_ == 2; } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime time = 2; * @return The time. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime getTime() { if (timeBuilder_ == null) { if (typeCase_ == 2) { return (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime) type_; } return io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.getDefaultInstance(); } else { if (typeCase_ == 2) { return timeBuilder_.getMessage(); } return io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime time = 2; */ public Builder setTime(io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime value) { if (timeBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { timeBuilder_.setMessage(value); } typeCase_ = 2; return this; } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime time = 2; */ public Builder setTime( io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.Builder builderForValue) { if (timeBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { timeBuilder_.setMessage(builderForValue.build()); } typeCase_ = 2; return this; } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime time = 2; */ public Builder mergeTime(io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime value) { if (timeBuilder_ == null) { if (typeCase_ == 2 && type_ != io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.getDefaultInstance()) { type_ = io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.newBuilder((io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 2) { timeBuilder_.mergeFrom(value); } else { timeBuilder_.setMessage(value); } } typeCase_ = 2; return this; } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime time = 2; */ public Builder clearTime() { if (timeBuilder_ == null) { if (typeCase_ == 2) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 2) { typeCase_ = 0; type_ = null; } timeBuilder_.clear(); } return this; } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime time = 2; */ public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.Builder getTimeBuilder() { return getTimeFieldBuilder().getBuilder(); } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime time = 2; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTimeOrBuilder getTimeOrBuilder() { if ((typeCase_ == 2) && (timeBuilder_ != null)) { return timeBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 2) { return (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime) type_; } return io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime time = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.Builder, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTimeOrBuilder> getTimeFieldBuilder() { if (timeBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.getDefaultInstance(); } timeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime.Builder, io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTimeOrBuilder>( (io.deephaven.proto.backplane.grpc.UpdateByWindowScale.UpdateByWindowTime) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; onChanged(); return timeBuilder_; } @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.UpdateByWindowScale) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.UpdateByWindowScale) private static final io.deephaven.proto.backplane.grpc.UpdateByWindowScale DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.UpdateByWindowScale(); } public static io.deephaven.proto.backplane.grpc.UpdateByWindowScale getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public UpdateByWindowScale 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.UpdateByWindowScale getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy