public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter.getDefaultInstance()) return this; if (!other.timestamps_.isEmpty()) { if (timestamps_.isEmpty()) { timestamps_ = other.timestamps_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTimestampsIsMutable(); timestamps_.addAll(other.timestamps_); } onChanged(); } if (other.hasCanHint()) { setCanHint(other.getCanHint()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom(org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter other) { if (other == org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter.getDefaultInstance()) return this; if (!other.timestamps_.isEmpty()) { if (timestamps_.isEmpty()) { timestamps_ = other.timestamps_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTimestampsIsMutable(); timestamps_.addAll(other.timestamps_); } onChanged(); } if (other.hasCanHint()) { setCanHint(other.getCanHint()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
private Builder() { maybeForceBuilderInitialization(); }
public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
private Builder( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() {
public Builder mergeFrom(org.apache.hbase.thirdparty.com.google.protobuf.Message other) { if (other instanceof org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter) { return mergeFrom((org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter)other); } else { super.mergeFrom(other); return this; } }
@java.lang.Override protected Builder newBuilderForType( org.apache.hbase.thirdparty.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /**
/** * @return The filter serialized using pb */ @Override public byte[] toByteArray() { FilterProtos.TimestampsFilter.Builder builder = FilterProtos.TimestampsFilter.newBuilder(); builder.addAllTimestamps(this.timestamps); builder.setCanHint(canHint); return builder.build().toByteArray(); }
/** * <code>repeated int64 timestamps = 1 [packed = true];</code> */ public Builder addAllTimestamps( java.lang.Iterable<? extends java.lang.Long> values) { ensureTimestampsIsMutable(); org.apache.hbase.thirdparty.com.google.protobuf.AbstractMessageLite.Builder.addAll( values, timestamps_); onChanged(); return this; } /**
/** * <code>repeated int64 timestamps = 1 [packed = true];</code> */ public Builder addTimestamps(long value) { ensureTimestampsIsMutable(); timestamps_.add(value); onChanged(); return this; } /**
/** * <code>repeated int64 timestamps = 1 [packed = true];</code> */ public Builder setTimestamps( int index, long value) { ensureTimestampsIsMutable(); timestamps_.set(index, value); onChanged(); return this; } /**
public org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter build() { org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }
/** * @return The filter serialized using pb */ @Override public byte[] toByteArray() { FilterProtos.TimestampsFilter.Builder builder = FilterProtos.TimestampsFilter.newBuilder(); builder.addAllTimestamps(this.timestamps); builder.setCanHint(canHint); return builder.build().toByteArray(); }
public Builder mergeFrom( org.apache.hbase.thirdparty.com.google.protobuf.CodedInputStream input, org.apache.hbase.thirdparty.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (org.apache.hbase.thirdparty.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_;
private Builder() { maybeForceBuilderInitialization(); }
public static Builder newBuilder(org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() {
public org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter build() { org.apache.hadoop.hbase.shaded.protobuf.generated.FilterProtos.TimestampsFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; }