/** * * * <pre> * Field used to sort the returned traces. Optional. * Can be one of the following: * * `trace_id` * * `name` (`name` field of root span in the trace) * * `duration` (difference between `end_time` and `start_time` fields of * the root span) * * `start` (`start_time` field of the root span) * Descending order can be specified by appending `desc` to the sort field * (for example, `name desc`). * Only one sort field is permitted. * </pre> * * <code>string order_by = 8;</code> */ public Builder clearOrderBy() { orderBy_ = getDefaultInstance().getOrderBy(); onChanged(); return this; } /**
hash = (53 * hash) + getFilter().hashCode(); hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; hash = (53 * hash) + getOrderBy().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash;
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.devtools.cloudtrace.v1.ListTracesRequest)) { return super.equals(obj); } com.google.devtools.cloudtrace.v1.ListTracesRequest other = (com.google.devtools.cloudtrace.v1.ListTracesRequest) obj; boolean result = true; result = result && getProjectId().equals(other.getProjectId()); result = result && view_ == other.view_; result = result && (getPageSize() == other.getPageSize()); result = result && getPageToken().equals(other.getPageToken()); result = result && (hasStartTime() == other.hasStartTime()); if (hasStartTime()) { result = result && getStartTime().equals(other.getStartTime()); } result = result && (hasEndTime() == other.hasEndTime()); if (hasEndTime()) { result = result && getEndTime().equals(other.getEndTime()); } result = result && getFilter().equals(other.getFilter()); result = result && getOrderBy().equals(other.getOrderBy()); result = result && unknownFields.equals(other.unknownFields); return result; }
onChanged(); if (!other.getOrderBy().isEmpty()) { orderBy_ = other.orderBy_; onChanged();