size += 1 * getDeviceIdsList().size();
hash = (53 * hash) + getDeviceIdsList().hashCode();
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.iot.v1.ListDevicesRequest)) { return super.equals(obj); } com.google.cloud.iot.v1.ListDevicesRequest other = (com.google.cloud.iot.v1.ListDevicesRequest) obj; boolean result = true; result = result && getParent().equals(other.getParent()); result = result && getDeviceNumIdsList().equals(other.getDeviceNumIdsList()); result = result && getDeviceIdsList().equals(other.getDeviceIdsList()); result = result && (hasFieldMask() == other.hasFieldMask()); if (hasFieldMask()) { result = result && getFieldMask().equals(other.getFieldMask()); } result = result && (hasGatewayListOptions() == other.hasGatewayListOptions()); if (hasGatewayListOptions()) { result = result && getGatewayListOptions().equals(other.getGatewayListOptions()); } result = result && (getPageSize() == other.getPageSize()); result = result && getPageToken().equals(other.getPageToken()); result = result && unknownFields.equals(other.unknownFields); return result; }
size += 1 * getDeviceIdsList().size();
hash = (53 * hash) + getDeviceIdsList().hashCode();
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.cloud.iot.v1.ListDevicesRequest)) { return super.equals(obj); } com.google.cloud.iot.v1.ListDevicesRequest other = (com.google.cloud.iot.v1.ListDevicesRequest) obj; boolean result = true; result = result && getParent().equals(other.getParent()); result = result && getDeviceNumIdsList().equals(other.getDeviceNumIdsList()); result = result && getDeviceIdsList().equals(other.getDeviceIdsList()); result = result && (hasFieldMask() == other.hasFieldMask()); if (hasFieldMask()) { result = result && getFieldMask().equals(other.getFieldMask()); } result = result && (hasGatewayListOptions() == other.hasGatewayListOptions()); if (hasGatewayListOptions()) { result = result && getGatewayListOptions().equals(other.getGatewayListOptions()); } result = result && (getPageSize() == other.getPageSize()); result = result && getPageToken().equals(other.getPageToken()); result = result && unknownFields.equals(other.unknownFields); return result; }