@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (start_ != null) { output.writeMessage(1, getStart()); } if (end_ != null) { output.writeMessage(2, getEnd()); } unknownFields.writeTo(output); }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (start_ != null) { output.writeMessage(1, getStart()); } if (end_ != null) { output.writeMessage(2, getEnd()); } unknownFields.writeTo(output); }
@java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (start_ != null) { output.writeMessage(1, getStart()); } if (end_ != null) { output.writeMessage(2, getEnd()); } unknownFields.writeTo(output); }
TimeUtil.roundFloorTimestamp(tsRange.getEnd(), featureSpec.getGranularity()).getSeconds(); long minTimestamp = TimeUtil.roundFloorTimestamp(tsRange.getStart(), featureSpec.getGranularity()) .getSeconds();
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof feast.serving.ServingAPIProto.TimestampRange)) { return super.equals(obj); } feast.serving.ServingAPIProto.TimestampRange other = (feast.serving.ServingAPIProto.TimestampRange) obj; boolean result = true; result = result && (hasStart() == other.hasStart()); if (hasStart()) { result = result && getStart() .equals(other.getStart()); } result = result && (hasEnd() == other.hasEnd()); if (hasEnd()) { result = result && getEnd() .equals(other.getEnd()); } result = result && unknownFields.equals(other.unknownFields); return result; }
requestBuilder.setTimestampRange( TimestampRange.newBuilder().setStart(defaultTs).setEnd(defaultTs).build()); } else if (request.getTimestampRange().getStart().getSeconds() == 0 && request.getTimestampRange().getStart().getNanos() == 0) { Timestamp end = request.getTimestampRange().getEnd(); requestBuilder.setTimestampRange( Timestamp start = newRequest.getTimestampRange().getStart(); Timestamp end = newRequest.getTimestampRange().getEnd();
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof feast.serving.ServingAPIProto.TimestampRange)) { return super.equals(obj); } feast.serving.ServingAPIProto.TimestampRange other = (feast.serving.ServingAPIProto.TimestampRange) obj; boolean result = true; result = result && (hasStart() == other.hasStart()); if (hasStart()) { result = result && getStart() .equals(other.getStart()); } result = result && (hasEnd() == other.hasEnd()); if (hasEnd()) { result = result && getEnd() .equals(other.getEnd()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof feast.serving.ServingAPIProto.TimestampRange)) { return super.equals(obj); } feast.serving.ServingAPIProto.TimestampRange other = (feast.serving.ServingAPIProto.TimestampRange) obj; boolean result = true; result = result && (hasStart() == other.hasStart()); if (hasStart()) { result = result && getStart() .equals(other.getStart()); } result = result && (hasEnd() == other.hasEnd()); if (hasEnd()) { result = result && getEnd() .equals(other.getEnd()); } result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasStart()) { hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + getStart().hashCode(); } if (hasEnd()) { hash = (37 * hash) + END_FIELD_NUMBER; hash = (53 * hash) + getEnd().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasStart()) { hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + getStart().hashCode(); } if (hasEnd()) { hash = (37 * hash) + END_FIELD_NUMBER; hash = (53 * hash) + getEnd().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasStart()) { hash = (37 * hash) + START_FIELD_NUMBER; hash = (53 * hash) + getStart().hashCode(); } if (hasEnd()) { hash = (37 * hash) + END_FIELD_NUMBER; hash = (53 * hash) + getEnd().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (start_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStart()); } if (end_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getEnd()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (start_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStart()); } if (end_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getEnd()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
@java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (start_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getStart()); } if (end_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getEnd()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; }
public Builder mergeFrom(feast.serving.ServingAPIProto.TimestampRange other) { if (other == feast.serving.ServingAPIProto.TimestampRange.getDefaultInstance()) return this; if (other.hasStart()) { mergeStart(other.getStart()); } if (other.hasEnd()) { mergeEnd(other.getEnd()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * start time of the range query. * </pre> * * <code>.google.protobuf.Timestamp start = 1;</code> */ public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() { return getStart(); }
public Builder mergeFrom(feast.serving.ServingAPIProto.TimestampRange other) { if (other == feast.serving.ServingAPIProto.TimestampRange.getDefaultInstance()) return this; if (other.hasStart()) { mergeStart(other.getStart()); } if (other.hasEnd()) { mergeEnd(other.getEnd()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * start time of the range query. * </pre> * * <code>.google.protobuf.Timestamp start = 1;</code> */ public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() { return getStart(); }
public Builder mergeFrom(feast.serving.ServingAPIProto.TimestampRange other) { if (other == feast.serving.ServingAPIProto.TimestampRange.getDefaultInstance()) return this; if (other.hasStart()) { mergeStart(other.getStart()); } if (other.hasEnd()) { mergeEnd(other.getEnd()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * start time of the range query. * </pre> * * <code>.google.protobuf.Timestamp start = 1;</code> */ public com.google.protobuf.TimestampOrBuilder getStartOrBuilder() { return getStart(); }