@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasByteArray()) { hash = (37 * hash) + BYTE_ARRAY_FIELD_NUMBER; hash = (53 * hash) + getByteArray().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
public final com.google.protobuf.Message getResponsePrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return AggregateProtos.AggregateResult.getDefaultInstance(); case 1: return AggregateProtos.AggregateResult.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, byteArray_); } getUnknownFields().writeTo(output); }
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof AggregateProtos.AggregateResult)) { return super.equals(obj); } AggregateProtos.AggregateResult other = (AggregateProtos.AggregateResult) obj; boolean result = true; result = result && (hasByteArray() == other.hasByteArray()); if (hasByteArray()) { result = result && getByteArray() .equals(other.getByteArray()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public final com.google.protobuf.Message getResponsePrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return AggregateProtos.AggregateResult.getDefaultInstance(); case 1: return AggregateProtos.AggregateResult.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } }
public final com.google.protobuf.Message getResponsePrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult.getDefaultInstance(); case 1: return org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } }
public final com.google.protobuf.Message getResponsePrototype( com.google.protobuf.Descriptors.MethodDescriptor method) { if (method.getService() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "Service.getResponsePrototype() given method " + "descriptor for wrong service type."); } switch(method.getIndex()) { case 0: return org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult.getDefaultInstance(); case 1: return org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult.getDefaultInstance(); default: throw new java.lang.AssertionError("Can't get here."); } }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult)) { return super.equals(obj); } org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult other = (org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult) obj; boolean result = true; result = result && (hasByteArray() == other.hasByteArray()); if (hasByteArray()) { result = result && getByteArray() .equals(other.getByteArray()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public void timeseriesAggregate( com.google.protobuf.RpcController controller, AggregateProtos.TimeSeriesAggregateRequest request, com.google.protobuf.RpcCallback<AggregateProtos.AggregateResult> done) { channel.callMethod( getDescriptor().getMethods().get(1), controller, request, AggregateProtos.AggregateResult.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, AggregateProtos.AggregateResult.class, AggregateProtos.AggregateResult.getDefaultInstance())); } }
public void aggregate( com.google.protobuf.RpcController controller, AggregateProtos.AggregateRequest request, com.google.protobuf.RpcCallback<AggregateProtos.AggregateResult> done) { channel.callMethod( getDescriptor().getMethods().get(0), controller, request, AggregateProtos.AggregateResult.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, AggregateProtos.AggregateResult.class, AggregateProtos.AggregateResult.getDefaultInstance())); }
public void timeseriesAggregate( com.google.protobuf.RpcController controller, org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.TimeSeriesAggregateRequest request, com.google.protobuf.RpcCallback<org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult> done) { channel.callMethod( getDescriptor().getMethods().get(1), controller, request, org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult.class, org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult.getDefaultInstance())); } }
public void aggregate( com.google.protobuf.RpcController controller, org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateRequest request, com.google.protobuf.RpcCallback<org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult> done) { channel.callMethod( getDescriptor().getMethods().get(0), controller, request, org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult.getDefaultInstance(), com.google.protobuf.RpcUtil.generalizeCallback( done, org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult.class, org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult.getDefaultInstance())); }
public org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult getDefaultInstanceForType() { return org.apache.eagle.storage.hbase.query.coprocessor.generated.AggregateProtos.AggregateResult.getDefaultInstance(); }
public AggregateProtos.AggregateResult getDefaultInstanceForType() { return AggregateProtos.AggregateResult.getDefaultInstance(); }
public AggregateProtos.AggregateResult aggregate( com.google.protobuf.RpcController controller, AggregateProtos.AggregateRequest request) throws com.google.protobuf.ServiceException { return (AggregateProtos.AggregateResult) channel.callBlockingMethod( getDescriptor().getMethods().get(0), controller, request, AggregateProtos.AggregateResult.getDefaultInstance()); }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasByteArray()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }
public AggregateProtos.AggregateResult buildPartial() { AggregateProtos.AggregateResult result = new AggregateProtos.AggregateResult(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.byteArray_ = byteArray_; result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public AggregateProtos.AggregateResult build() { AggregateProtos.AggregateResult result = buildPartial(); if (!result.isInitialized()) { throw AbstractMessage.Builder.newUninitializedMessageException(result); } return result; }