/** * <pre> * request type either LAST or LIST. * LAST : return only the latest value based on timestamp. * LIST : return list of historical data sorted by timestamp. * </pre> * * <code>.feast.serving.RequestType type = 2;</code> */ public Builder setType(feast.serving.ServingAPIProto.RequestType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /**
/** * <pre> * request type either LAST or LIST. * LAST : return only the latest value based on timestamp. * LIST : return list of historical data sorted by timestamp. * </pre> * * <code>.feast.serving.RequestType type = 2;</code> */ public Builder setType(feast.serving.ServingAPIProto.RequestType value) { if (value == null) { throw new NullPointerException(); } type_ = value.getNumber(); onChanged(); return this; } /**
public Builder mergeFrom(feast.serving.ServingAPIProto.RequestDetail other) { if (other == feast.serving.ServingAPIProto.RequestDetail.getDefaultInstance()) return this; if (!other.getFeatureId().isEmpty()) { featureId_ = other.featureId_; onChanged(); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (other.getLimit() != 0) { setLimit(other.getLimit()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * feature ID to be included in the query. * feature ID is in the form of [entity_name].[granularity].[feature_name] * e.g: "driver.day.total_accepted_booking" * all requested feature ID shall have same entity name. * </pre> * * <code>string featureId = 1;</code> */ public Builder clearFeatureId() { featureId_ = getDefaultInstance().getFeatureId(); onChanged(); return this; } /**
/** * <pre> * feature ID to be included in the query. * feature ID is in the form of [entity_name].[granularity].[feature_name] * e.g: "driver.day.total_accepted_booking" * all requested feature ID shall have same entity name. * </pre> * * <code>string featureId = 1;</code> */ public Builder clearFeatureId() { featureId_ = getDefaultInstance().getFeatureId(); onChanged(); return this; } /**
public Builder mergeFrom(feast.serving.ServingAPIProto.RequestDetail other) { if (other == feast.serving.ServingAPIProto.RequestDetail.getDefaultInstance()) return this; if (!other.getFeatureId().isEmpty()) { featureId_ = other.featureId_; onChanged(); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (other.getLimit() != 0) { setLimit(other.getLimit()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * feature ID to be included in the query. * feature ID is in the form of [entity_name].[granularity].[feature_name] * e.g: "driver.day.total_accepted_booking" * all requested feature ID shall have same entity name. * </pre> * * <code>string featureId = 1;</code> */ public Builder clearFeatureId() { featureId_ = getDefaultInstance().getFeatureId(); onChanged(); return this; } /**
public Builder mergeFrom(feast.serving.ServingAPIProto.RequestDetail other) { if (other == feast.serving.ServingAPIProto.RequestDetail.getDefaultInstance()) return this; if (!other.getFeatureId().isEmpty()) { featureId_ = other.featureId_; onChanged(); } if (other.type_ != 0) { setTypeValue(other.getTypeValue()); } if (other.getLimit() != 0) { setLimit(other.getLimit()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; }
/** * <pre> * only applicable to LIST. * length of the returned list <= limit. * default = 0 * </pre> * * <code>int32 limit = 3;</code> */ public Builder clearLimit() { limit_ = 0; onChanged(); return this; } @java.lang.Override
/** * <pre> * only applicable to LIST. * length of the returned list <= limit. * default = 0 * </pre> * * <code>int32 limit = 3;</code> */ public Builder setLimit(int value) { limit_ = value; onChanged(); return this; } /**
/** * <pre> * only applicable to LIST. * length of the returned list <= limit. * default = 0 * </pre> * * <code>int32 limit = 3;</code> */ public Builder clearLimit() { limit_ = 0; onChanged(); return this; } @java.lang.Override
/** * <pre> * only applicable to LIST. * length of the returned list <= limit. * default = 0 * </pre> * * <code>int32 limit = 3;</code> */ public Builder setLimit(int value) { limit_ = value; onChanged(); return this; } /**
/** * <pre> * request type either LAST or LIST. * LAST : return only the latest value based on timestamp. * LIST : return list of historical data sorted by timestamp. * </pre> * * <code>.feast.serving.RequestType type = 2;</code> */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /**
/** * <pre> * only applicable to LIST. * length of the returned list <= limit. * default = 0 * </pre> * * <code>int32 limit = 3;</code> */ public Builder clearLimit() { limit_ = 0; onChanged(); return this; } @java.lang.Override
/** * <pre> * only applicable to LIST. * length of the returned list <= limit. * default = 0 * </pre> * * <code>int32 limit = 3;</code> */ public Builder setLimit(int value) { limit_ = value; onChanged(); return this; } /**
/** * <pre> * request type either LAST or LIST. * LAST : return only the latest value based on timestamp. * LIST : return list of historical data sorted by timestamp. * </pre> * * <code>.feast.serving.RequestType type = 2;</code> */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /**
/** * <pre> * request type either LAST or LIST. * LAST : return only the latest value based on timestamp. * LIST : return list of historical data sorted by timestamp. * </pre> * * <code>.feast.serving.RequestType type = 2;</code> */ public Builder clearType() { type_ = 0; onChanged(); return this; }
/** * <pre> * request type either LAST or LIST. * LAST : return only the latest value based on timestamp. * LIST : return list of historical data sorted by timestamp. * </pre> * * <code>.feast.serving.RequestType type = 2;</code> */ public Builder clearType() { type_ = 0; onChanged(); return this; }
/** * <pre> * request type either LAST or LIST. * LAST : return only the latest value based on timestamp. * LIST : return list of historical data sorted by timestamp. * </pre> * * <code>.feast.serving.RequestType type = 2;</code> */ public Builder clearType() { type_ = 0; onChanged(); return this; }
/** * <pre> * request type either LAST or LIST. * LAST : return only the latest value based on timestamp. * LIST : return list of historical data sorted by timestamp. * </pre> * * <code>.feast.serving.RequestType type = 2;</code> */ public Builder setTypeValue(int value) { type_ = value; onChanged(); return this; } /**